The nth term of that sequence could be:

(1/5)n^5 - 2n^4 + 11n^3 - (55/2)n^2 + (383/10)n - 9

Start over

Written by Jeff Aaron