# How to optimize this script?

fx8350, 16Gb ram just need to solve this:

13, 19, 19, 16, 26, 33, 26, 31, 5, 24, 21, 34, 35, 35, 35, 20, 7, 12, 18, 17, 6, 8, 15, 24, 2, 17, 15, 22, 29, 15, 21

• Please post actual code not images! – mattiav27 Nov 3 '18 at 8:21

Mathematica runs out of memory for this code. This sequence is simply too long and too disordered for FindSequenceFunction to work. Try InterpolatingPolynomial for fit functions if you want.