This code tries to determine the next number in a sequence (for non-mathematicians).
It currently recognizes in both ascending and descending orders:
- arithmetic sequences
- cube numbers
- fibonacci sequences
- geometric sequences
- linear sequences
- prime numbers
- quadratic sequences
- square numbers
- tetrahedral sequences
- triangular numbers
I will be adding more rules, but my ultimate goal is to get the code to recognize rules that I do not so that it can predict numbers that I cannot.
Click here to read the WordPress blog article about this project.