OFFSET
0,3
COMMENTS
Essentially a duplicate of A003600.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n > 3.
a(n) = a(n-1) + A000124(n).
G.f.: -(1 - 4*x + 4*x^2 - 2*x^3)/(1-x)^4. - Robert G. Wilson v, Mar 15 2017
E.g.f.: (1/6)*(-6 + 6*x + 3*x^2 + x^3)*exp(x). - G. C. Greubel, Apr 18 2025
EXAMPLE
G.f. = -1 + 2*x^2 + 6*x^3 + 13*x^4 + 24*x^5 + 40*x^6 + 62*x^7 + ... - Michael Somos, Jul 07 2022
MAPLE
MATHEMATICA
Table[-1 + 5 n/6 + n^3/6, {n, 0, 39}] (* Michael De Vlieger, Mar 15 2017 *)
PROG
(Magma) [-1 + 5*n/6 + n^3/6 : n in [0..60]]; // Wesley Ivan Hurt, Oct 03 2017
(SageMath)
def A283551(n): return (n^3 +5*n -6)//6
print([A283551(n) for n in range(61)]) # G. C. Greubel, Apr 18 2025
CROSSREFS
KEYWORD
sign,easy,less
AUTHOR
Paul Curtz, Mar 10 2017
EXTENSIONS
Corrected by Jeremy Gardiner, Jan 29 2019
STATUS
approved
