A004467 a(n) = n*(11*n^2 - 5)/6.
0, 1, 13, 47, 114, 225, 391, 623, 932, 1329, 1825, 2431, 3158, 4017, 5019, 6175, 7496, 8993, 10677, 12559, 14650, 16961, 19503, 22287, 25324, 28625, 32201, 36063, 40222, 44689, 49475, 54591, 60048
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*(11*n^2-5)/6: n in [0..50]]; // Vincenzo Librandi, May 15 2011
-
Mathematica
Table[n(11n^2-5)/6,{n,0,80}] (* Vladimir Joseph Stephan Orlovsky, Apr 18 2011 *) LinearRecurrence[{4,-6,4,-1},{0,1,13,47},80] (* Harvey P. Dale, Sep 22 2013 *)
-
PARI
a(n)=n*(11*n^2-5)/6 \\ Charles R Greathouse IV, Sep 28 2011
Formula
G.f.: x*(1+9*x+x^2)/(1-x)^4. - Colin Barker, Jan 08 2012
a(0)=0, a(1)=1, a(2)=13, a(3)=47; for n>3, a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Harvey P. Dale, Sep 22 2013
E.g.f.: (x/6)*(6 + 33*x + 11*x^2)*exp(x). - G. C. Greubel, Sep 01 2017
Comments