OFFSET
0,1
COMMENTS
Numbers of the 9th column of positive numbers in the square array of nonnegative and polygonal numbers A139600.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..5000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = A057145(n+2,9).
G.f.: 9*(1+3*x)/(x-1)^2. - R. J. Mathar, Jul 28 2016
From Elmo R. Oliveira, Apr 16 2024: (Start)
E.g.f.: 9*exp(x)*(1 + 4*x).
a(n) = 2*a(n-1) - a(n-2) for n >= 2.
MATHEMATICA
Range[9, 7000, 36] (* Vladimir Joseph Stephan Orlovsky, Jul 23 2011 *)
36*Range[0, 50]+9 (* or *) LinearRecurrence[{2, -1}, {9, 45}, 50] (* Harvey P. Dale, Jan 04 2018 *)
PROG
(Magma) [9*(4*n + 1): n in [0..60]]; // Vincenzo Librandi, Jul 23 2011
(PARI) a(n)=36*n+9 \\ Charles R Greathouse IV, Oct 05 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Apr 27 2008
STATUS
approved