OFFSET
0,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..5000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From Elmo R. Oliveira, Apr 03 2024: (Start)
G.f.: 6*(2+9*x)/(x-1)^2.
E.g.f.: 6*exp(x)*(2 + 11*x).
a(n) = 6*A017413(n).
a(n) = 2*a(n-1) - a(n-2) for n >= 2. (End)
MATHEMATICA
66*Range[0, 50]+12 (* or *) LinearRecurrence[{2, -1}, {12, 78}, 50] (* Harvey P. Dale, Jun 14 2017 *)
PROG
(Magma) [6*(11*n + 2): n in [0..60]]; // Vincenzo Librandi, Jul 23 2011
(PARI) a(n)=66*n+12 \\ Charles R Greathouse IV, Oct 05 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Apr 27 2008
STATUS
approved