OFFSET
1,3
LINKS
Gennady Eremin, Table of n, a(n) for n = 1..500
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
For n>=2, a(n) = A000217(n-1).
G.f.: x*(1 + x/(1-x)^3). - Gennady Eremin, Feb 23 2021
For n > 1, a(n+1) = a(n) + n. - Gennady Eremin, Mar 12 2021
E.g.f.: x*(2 + x*exp(x))/2. - Stefano Spezia, Jan 29 2023
EXAMPLE
G.f. = x + x^2 + 3*x^3 + 6*x^4 + 10*x^5 + 15*x^6 + 21*x^7 + 28*x^8 + ...
For n = 4, the 6 numbers are 1000, 1001, 1011, 1100, 1101, 1110.
PROG
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Vladimir Shevelev, Jul 30 2010, Aug 03 2010
EXTENSIONS
Edited by N. J. A. Sloane, Aug 08 2010
More terms from Michel Marcus, Feb 23 2021
STATUS
approved