OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (10,-45,120,-210,252,-210,120,-45,10,-1).
FORMULA
G.f. 30*x^2*(17+486*x+2943*x^2+5204*x^3+2943*x^4+486*x^5+17*x^6) / (x-1)^10 . - R. J. Mathar, Oct 13 2011
MATHEMATICA
Table[n^9 - n, {n, 0, 40}] (* and *) LinearRecurrence[{10, -45, 120, -210, 252, -210, 120, -45, 10, -1}, {0, 0, 510, 19680, 262140, 1953120, 10077690, 40353600, 134217720, 387420480}, 40] (* Vladimir Joseph Stephan Orlovsky, Feb 21 2012 *)
PROG
(Magma) [n^9-n: n in [0..30]]
(PARI) a(n)=n^9-n \\ Charles R Greathouse IV, Nov 21 2011
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Oct 01 2011
STATUS
approved