OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
FORMULA
a(n) = (n-1)*A045991(n) + n^2.
G.f.: x*(1 + 3*x + 15*x^2 + 5*x^3)/(1-x)^5. - Philippe Deléham, Mar 16 2014
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5), a(1) = 1, a(2) = 8, a(3) = 45, a(4) = 160, a(5) = 425. - Philippe Deléham, Mar 16 2014
EXAMPLE
PROG
(PARI) a(n)=n^2*(n^2 - 2*n + 2) \\ Charles R Greathouse IV, Oct 21 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Feb 14 2007
EXTENSIONS
a(10)-a(35) from Philippe Deléham, Mar 16 2014
STATUS
approved