OFFSET
2,3
COMMENTS
a(n) = A001840(n-1)-1.
LINKS
Bernhard Ganter, Notes on Integer Partitions, Technische Universität Dresden (2020); See Prop. 3.
Index entries for linear recurrences with constant coefficients, signature (2,-1,1,-2,1).
FORMULA
G.f.: x^3*(-1-x^2+x^3) / ( (1+x+x^2)*(x-1)^3 ). - R. J. Mathar, Jan 14 2021
MATHEMATICA
Table[Floor[n (n + 1)/6] - 1, {n, 2, 80}] (* Robert P. P. McKone, Dec 19 2020 *)
PROG
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 10 2020
STATUS
approved