OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..2000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
Sum_{n>=0} 1/a(n) = A086728. - Amiram Eldar, Nov 16 2020
From Stefano Spezia, Feb 21 2025: (Start)
G.f.: 4*(1 + 13*x + 4*x^2)/(1 - x)^3.
E.g.f.: 4*exp(x)*(1 + 15*x + 9*x^2). (End)
MATHEMATICA
(6*Range[0, 40]+2)^2 (* or *) LinearRecurrence[{3, -3, 1}, {4, 64, 196}, 40] (* Harvey P. Dale, Nov 22 2013 *)
PROG
(Magma) [(6*n+2)^2: n in [0..50]]; // Vincenzo Librandi, May 04 2011
(PARI) a(n)=(6*n+2)^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved