Does anyone know how to create a program to find the next numbers in a number series?With any programming language. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Does anyone know how to create a program to find the next numbers in a number series?With any programming language.

for eg 1,3,5,x. ans: x=7 2,6,12,20,30,x 6-2=4,12-6=6,20-12=8,30-20=10,x-30 this means:4,6,8,10 then 12 this implies x-30=12 therefore. x=42

6th Sep 2017, 2:53 AM
Jakebard
Jakebard - avatar
1 Answer
+ 1
I think you should try using a neural network, try learning how a perceptron works. neural networks are very useful for pattern recognition
11th Sep 2017, 7:31 PM
sebipincha
sebipincha - avatar