A004466 a(n) = n*(5*n^2 - 2)/3.
0, 1, 12, 43, 104, 205, 356, 567, 848, 1209, 1660, 2211, 2872, 3653, 4564, 5615, 6816, 8177, 9708, 11419, 13320, 15421, 17732, 20263, 23024, 26025, 29276, 32787, 36568, 40629, 44980, 49631, 54592
Offset: 0
References
- E. Deza and M. M. Deza, Figurate numbers, World Scientific Publishing (2012), page 140.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..5000
- T. P. Martin, Shells of atoms, Phys. Reports, 273 (1996), 199-241, eq. (11).
- Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
Crossrefs
Programs
-
Magma
[n*(5*n^2-2)/3: n in [0..50]]; // Vincenzo Librandi, May 15 2011
-
Maple
A004466:=n->n*(5*n^2 - 2)/3; seq(A004466(n), n=0..50); # Wesley Ivan Hurt, Mar 10 2014
-
Mathematica
Table[n(5n^2-2)/3,{n,0,80}] (* Vladimir Joseph Stephan Orlovsky, Apr 18 2011 *)
-
PARI
a(n)=n*(5*n^2-2)/3 \\ Charles R Greathouse IV, Sep 24 2015
Formula
G.f.: x*(1+8*x+x^2)/(1-x)^4. - Colin Barker, Jan 08 2012
E.g.f.: (x/3)*(3 + 15*x + 5*x^2)*exp(x). - G. C. Greubel, Sep 01 2017
Comments