OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
EXAMPLE
a(0) = 1,
a(1) = 0^5 + 1 = 1,
a(2) = 1^5 + 1 = 2,
a(3) = 2^5 + 2 = 34,
a(4) = 3^5 + 34 = 227,
a(5) = 4^5 + 227 = 1301, etc.
MATHEMATICA
Table[(1/12) (12 + (-1 + n)^2 n^2 (-1 + 2 (-1 + n) n)), {n, 0, 35}]
PROG
(PARI) first(m)=vector(m, n, n--; (2*n^6 - 6*n^5 + 5*n^4 - n^2 + 12)/12) \\ Anders Hellström, Nov 20 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ilya Gutkovskiy, Nov 20 2015
STATUS
approved