I think this is what you are looking for, but I'm not sure... I'll give it my best shot using something known as the "sum of differences "
4 16 42 88 160
12 26 46 72
14 20 26
6 6
0
Using the polynomial form p(x) = ax^3 + bx^2 + cx + d , we can solve this system of equations for a,b, c and d
a + b + c + d = 4 [ for x = 1, the first term]
8a + 4b + 2c + d = 16 [for x = 2, the second term]
27a + 9b + 3c + d = 42 [for x = 3, the third term]
64a + 16b + 4c + d = 88 [for x = 4, the fourth term ]
The solving process is a little lengthy [ but not difficult ] ...I used WolframAlpha to find the solutions
a = 1, b = 1, c = 2 and d = 0
So....the generating polynomial p(x) = [ an ] = x^3 + x^2 + 2x
Note that the first five terms are as above .....https://www.wolframalpha.com/input/?i=x%5E3+%2B+x%5E2+%2B+2x,++for++x++%3D+1,2,+3,+4,5
I hope that helped....if this is not what you want.....check back.....our member "heureka" is pretty knowledgeable about this sort of thing