1,3,7,13,21,43,57,73,91,111 what is the algorithm for this sequence | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

1,3,7,13,21,43,57,73,91,111 what is the algorithm for this sequence

Just tell me algorithm

19th Nov 2018, 3:45 PM
Ananthu K Kumar
Ananthu K Kumar - avatar
9 Answers
0
I can't get the algorithm, mention me if you find one
19th Nov 2018, 4:41 PM
RZK 022
RZK 022 - avatar
+ 2
I can only give you an hint: try to see the pattern between differences.. 3-1 =2 7-3= 4 13-7= 6 ...........
19th Nov 2018, 4:05 PM
KrOW
KrOW - avatar
+ 1
There is something wrong with the sequence, 43 just can't fit there, it shall be 33. I'll can tell the algorithm if it is 33. Just confirm it
19th Nov 2018, 4:08 PM
RZK 022
RZK 022 - avatar
0
I would ve done if there's a 31 but no there's not
19th Nov 2018, 4:17 PM
Ananthu K Kumar
Ananthu K Kumar - avatar
0
Hmm, if it is 33 then it will break for previous number, if it is 31, it will break for next number. I'll try some more possibilities.
19th Nov 2018, 4:26 PM
RZK 022
RZK 022 - avatar
0
No 31 is fine It creates a sequence
19th Nov 2018, 4:27 PM
Ananthu K Kumar
Ananthu K Kumar - avatar
0
31-21 = 10 57-31 = 26 73-57 = 16 It does??? EDIT : sorry, got it , 31 before 43, makes it
19th Nov 2018, 4:38 PM
RZK 022
RZK 022 - avatar
0
See here https://www.sololearn.com/Discuss/755349/?ref=app Search bar is very helpful(even I didn't believe I would find this one) Gamma001[active once a month] algorithm is found. I hope I don't have to wait a month😜
19th Nov 2018, 7:15 PM
Roneel
Roneel - avatar
0
It's an agp(algebra)try to find the nth term and than use a for loop to execute the series
19th Nov 2018, 7:47 PM
Ash