+ 2
What is the next number in this sequence? 3,5,7,15,27,49,?
35 Answers
+ 4
Miquel Andreu Fuster Sancho please don't write codes for them, in most cases let the user show there try of the code since we are all here to learn, and we don't do there assignments for them
+ 4
Denise Rossberg you are right, I should have looked further at the list. It's my bad 🤔🙄😌🤗
+ 2
A 64 bits machine can compute only the 72 first numbers of the sequence.
https://code.sololearn.com/cfI1qo5Jax5Q/?ref=app
+ 2
✳AsterisK✳ he is doing his code in python, that is kindly different from C. Anyway, he already had the algorithm, only he can't find a way to translate it to python. While the solution is not in that language I think it is good to publish alternatives.
+ 2
3+5+7=15
5+7+15=27
7+15+27=49
15+27+49=91
+ 2
Those are prime numbers if I am not wrong
+ 1
Yeah, that one is easy.
+ 1
Oh, sorry. It doesn't work. I tried the Fibonacci series and it skip numbers.
edit: it's alive! I mean, it works.
+ 1
91
+ 1
🇧🇪Anatoli🇺🇸
Only 3 5 and 7 are primes.
15 is not prime: 15/3 = 5
27 is not prime 27/9 = 3
49 is not prime 49/7 = 7
0
R u sure about 49? Is it maybe 39?
0
Okay, then the next number should be 41.
0
Why?
0
Sorry, s = 3,5,7,15,27,49,...
0
3+5+7 = 15
15+7-5 =17
7+15+17=39
39+17-15=41
Not my favorite sequence but the only one that fits.
Edit: Well, it would have worked...
0
15=3+5+7
27=5+7+15
49=7+15+27
....
0
I want write code with python. Can you help me?
0
If u have any specific questions, just post them here. There are lots of people around who like to help.