OFFSET
1,2
COMMENTS
Conjectured mod 2 parity: (1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1,...).
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = (n^4 - 8*n^3 + 35*n^2 - 52*n + 36)/12. - Andrew Howroyd, Sep 21 2025
From Elmo R. Oliveira, May 25 2026: (Start)
G.f.: x*(1 - 3*x + 5*x^2 - 4*x^3 + 3*x^4)/(1 - x)^5.
E.g.f.: (1/12)*exp(x)*(x^4 - 2*x^3 + 18*x^2 - 24*x + 36) - 3.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5). (End)
EXAMPLE
a(5) = 23 = 1 + 4 + 6 + 8 + 4 = sum of row 5 of triangle A179901.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Jul 31 2010
EXTENSIONS
a(10) corrected and a(15) onwards from Andrew Howroyd, Sep 21 2025
STATUS
approved
