OFFSET
1,1
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
G.f.: x*(2-x)*(x^2-12*x+12) / (1-x)^6. - R. J. Mathar, Dec 06 2011
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6) for n > 6. - Wesley Ivan Hurt, Dec 06 2016
MAPLE
A101862:=n->n*(n+1)*(n+7)*(122+57*n+n^2)/120: seq(A101862(n), n=1..50); # Wesley Ivan Hurt, Dec 06 2016
MATHEMATICA
Table[n*(n + 1)*(n + 7)*(122 + 57*n + n^2)/120, {n, 50}] (* Wesley Ivan Hurt, Dec 06 2016 *)
LinearRecurrence[{6, -15, 20, -15, 6, -1}, {24, 108, 302, 671, 1296, 2275}, 50] (* Harvey P. Dale, Oct 15 2020 *)
PROG
(Magma) [n*(n + 1)*(n + 7)*(122 + 57*n + n^2)/120 : n in [1..50]]; // Wesley Ivan Hurt, Dec 06 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Cecilia Rossiter (cecilia(AT)noticingnumbers.net), Dec 18 2004
STATUS
approved