I have played around with finding number sequences of the form a+b*c^d, where a/b/c/d can be the iterator x. The input is the first five numbers of the sequence. The JS code can be found here JSfiddle. It takes c 2.5 seconds to find all equations. This obviously doesn’t cover all interesting sequences, but might be a nice example how to use the eval() function for this.