OFFSET
0,2
COMMENTS
This is one-third of the total number of points in the configuration obtained at the n-th stage of A365929.
My derivation of this formula ends by giving a(n) = 1 + n + n^2*(n-1)*(3*n-1)/4, which is a nicer-looking formula than the original definition. - N. J. A. Sloane, Jan 05 2026
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
G.f.: -(2*x^4+10*x^3+8*x^2-3*x+1)/(x-1)^5. - Alois P. Heinz, Nov 02 2023
From Enrique Navarrete, Jan 04 2026: (Start)
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
E.g.f.: (1/4)*exp(x)*(3*x^4 + 14*x^3 + 10*x^2 + 4*x + 4). (End)
MATHEMATICA
Table[(3n^4 - 4n^3 + n^2 + 4n + 4) /4, {n, 0, 38}] (* Paul F. Marrero Romero, Nov 02 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 29 2023
STATUS
approved
