OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
EXAMPLE
a(0) = 1*3 = 3;
a(1) = 1*3 + 3*5 = 18;
a(2) = 1*3 + 3*5 + 5*7 = 53;
a(3) = 1*3 + 3*5 + 5*7 + 7*9 = 116, etc.
MATHEMATICA
Table[(n + 1) ((4 n^2 + 14 n + 9)/3), {n, 0, 40}]
LinearRecurrence[{4, -6, 4, -1}, {3, 18, 53, 116}, 40]
PROG
(PARI) a(n)=(n+1)*(4*n^2+14*n+9)/3 \\ Charles R Greathouse IV, Jul 26 2016
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Ilya Gutkovskiy, Feb 12 2016
STATUS
approved