OFFSET
0,3
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Popular Computing (Calabasas, CA), The CSR Function, Vol. 4 (No. 34, Jan 1976), pages PC34-10 to PC34-11. Annotated and scanned copy.
Herman P. Robinson, The CSR Function, Popular Computing (Calabasas, CA), Vol. 4 (No. 35, Feb 1976), pages PC35-3 to PC35-4. Annotated and scanned copy.
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 25*n^2 - 25*n + 1. - Charles R Greathouse IV, Jun 17 2017
From Elmo R. Oliveira, Dec 10 2025: (Start)
E.g.f.: exp(x)*(1 + 25*x^2).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
a(n) = 50 * A161680(n) + 1. - Alois P. Heinz, Dec 10 2025
MATHEMATICA
CoefficientList[Series[(1-2x+51x^2)/(1-x)^3, {x, 0, 40}], x] (* or *) LinearRecurrence[{3, -3, 1}, {1, 1, 51}, 40] (* Harvey P. Dale, Sep 01 2025 *)
PROG
(PARI) a(n)=25*n^2-25*n+1 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 03 2015
STATUS
approved
