What is the next number in this sequence? 3,5,7,15,27,49,? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the next number in this sequence? 3,5,7,15,27,49,?

16th Sep 2019, 3:20 PM
thiên trần
thiên trần - avatar
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
17th Sep 2019, 9:02 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
Denise Rossberg you are right, I should have looked further at the list. It's my bad 🤔🙄😌🤗
18th Sep 2019, 4:06 PM
🇺🇸 Anatoli🇧🇪🇪🇺 ,
🇺🇸 Anatoli🇧🇪🇪🇺 , - avatar
+ 2
A 64 bits machine can compute only the 72 first numbers of the sequence. https://code.sololearn.com/cfI1qo5Jax5Q/?ref=app
17th Sep 2019, 8:50 AM
Miquel Andreu Fuster Sancho
Miquel Andreu Fuster Sancho - avatar
+ 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.
17th Sep 2019, 9:14 AM
Miquel Andreu Fuster Sancho
Miquel Andreu Fuster Sancho - avatar
+ 2
3+5+7=15 5+7+15=27 7+15+27=49 15+27+49=91
17th Sep 2019, 8:15 PM
SNG
SNG - avatar
+ 2
Those are prime numbers if I am not wrong
18th Sep 2019, 10:23 AM
🇺🇸 Anatoli🇧🇪🇪🇺 ,
🇺🇸 Anatoli🇧🇪🇪🇺 , - avatar
+ 1
Yeah, that one is easy.
16th Sep 2019, 11:40 PM
Thoq!
Thoq! - avatar
17th Sep 2019, 9:19 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
Oh, sorry. It doesn't work. I tried the Fibonacci series and it skip numbers. edit: it's alive! I mean, it works.
17th Sep 2019, 9:37 AM
Miquel Andreu Fuster Sancho
Miquel Andreu Fuster Sancho - avatar
+ 1
91
17th Sep 2019, 7:34 PM
subhani shaik
subhani shaik - avatar
18th Sep 2019, 9:34 AM
Sakthi Chandru
Sakthi Chandru - avatar
+ 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
18th Sep 2019, 2:31 PM
Denise Roßberg
Denise Roßberg - avatar
0
R u sure about 49? Is it maybe 39?
16th Sep 2019, 11:17 PM
Thoq!
Thoq! - avatar
0
Okay, then the next number should be 41.
16th Sep 2019, 11:31 PM
Thoq!
Thoq! - avatar
0
Why?
16th Sep 2019, 11:32 PM
thiên trần
thiên trần - avatar
0
Sorry, s = 3,5,7,15,27,49,...
16th Sep 2019, 11:35 PM
thiên trần
thiên trần - avatar
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...
16th Sep 2019, 11:36 PM
Thoq!
Thoq! - avatar
0
15=3+5+7 27=5+7+15 49=7+15+27 ....
16th Sep 2019, 11:36 PM
thiên trần
thiên trần - avatar
0
I want write code with python. Can you help me?
16th Sep 2019, 11:41 PM
thiên trần
thiên trần - avatar
0
If u have any specific questions, just post them here. There are lots of people around who like to help.
16th Sep 2019, 11:48 PM
Thoq!
Thoq! - avatar