OFFSET
1,2
COMMENTS
Row sums (excluding the last two terms) of the triangular view of A001477 (the nonnegative integers).
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = (n-1) * (n^2+2*n-2) / 2.
E.g.f.: (1/2) * exp(x) * (x^3 + 4*x^2 - 2*x + 2) - 1.
MATHEMATICA
a[n_] := (n-1)*(n^2 + 2*n - 2)/2; Array[a, 50] (* Amiram Eldar, Feb 07 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Enrique Navarrete, Feb 06 2026
STATUS
approved
