OFFSET
0,2
COMMENTS
Suggested in A140065.
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
From Stefano Spezia, Nov 02 2025: (Start)
G.f.: (1 + 3*x + 3*x^2)/(1 - x)^3.
E.g.f.: exp(x)*(2 + 10*x + 7*x^2)/2. (End)
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {1, 6, 18}, 60] (* Paolo Xausa, Nov 02 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 02 2025
STATUS
approved
