OFFSET
0,3
REFERENCES
T. A. Gulliver, Sequences from Arrays of Integers, Int. Math. Journal, Vol. 1, No. 4, pp. 323-332, 2002.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..2000
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).
From G. C. Greubel, Aug 05 2024: (Start)
G.f.: x*(1 + 9*x + 8*x^2)/(1-x)^4.
E.g.f.: (1/2)*x*(2 + 11*x + 6*x^2)*exp(x). (End)
MATHEMATICA
Table[n*(6*n^2 - 7*n + 3)/2, {n, 0, 40}]
PROG
(Magma) [n*(6*n^2-7*n+3)/2: n in [0..50]]; // Vincenzo Librandi, Jun 14 2011
(SageMath)
def A071230(n): return n*(6*n^2 -7*n +3)//2
[A071230(n) for n in range(51)] # G. C. Greubel, Aug 05 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jun 11 2002
EXTENSIONS
More terms from Robert G. Wilson v, Jun 12 2002
STATUS
approved