OFFSET
1,1
COMMENTS
The third row of the ED4 array A167584.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
GF(z) = (9*z^2 + 2*z + 13)/(1-z)^3.
a(n) = a(n-1) + 24*n - 20, with a(1)=13. - Vincenzo Librandi, Dec 03 2010
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - G. C. Greubel, Jun 17 2016
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {13, 41, 93}, 100] (* G. C. Greubel, Jun 17 2016 *)
PROG
(PARI) a(n)=12*n^2-8*n+9 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Nov 10 2009
STATUS
approved