OFFSET
0,1
COMMENTS
The sequence starts with a string of primes for indices n = 0 to 6.
LINKS
FORMULA
a(n) = 11 + 30*A000217(n). - Michel Marcus, Jun 24 2013
From Elmo R. Oliveira, Dec 28 2024: (Start)
G.f.: (11 + 8*x + 11*x^2)/(1 - x)^3.
E.g.f.: (11 + 30*x + 15*x^2)*exp(x).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n >= 3. (End)
MATHEMATICA
Table[15n(n+1)+11, {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {11, 41, 101}, 40] (* Harvey P. Dale, Mar 01 2016 *)
PROG
(PARI) a(n) = 11 + 30*n*(n+1)/2 \\ Michel Marcus, Jun 24 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Nate Eskey (nj.eskey09(AT)bchigh.edu), Nov 06 2007
EXTENSIONS
Better definition from R. J. Mathar, Nov 16 2007
More terms from Michel Marcus, Dec 29 2024
STATUS
approved