A219054 (8*n^3 + 3*n^2 + n) / 6.
2, 13, 41, 94, 180, 307, 483, 716, 1014, 1385, 1837, 2378, 3016, 3759, 4615, 5592, 6698, 7941, 9329, 10870, 12572, 14443, 16491, 18724, 21150, 23777, 26613, 29666, 32944, 36455, 40207, 44208, 48466, 52989, 57785, 62862, 68228, 73891, 79859, 86140, 92742
Offset: 1
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
Programs
-
Haskell
a219054 n = n * (n * (8 * n + 3) + 1) `div` 6
-
Maxima
A219054(n):=(8*n^3 + 3*n^2 + n) / 6$ makelist(A219054(n),n,1,20); /* Martin Ettl, Nov 12 2012 */
-
PARI
a(n)=(8*n^3+3*n^2+n)/6 \\ Charles R Greathouse IV, Oct 18 2022
Formula
G.f. x*(2+5*x+x^2) / (x-1)^4 . - R. J. Mathar, Nov 12 2012
Comments