OFFSET
0,3
COMMENTS
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..1000
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).
FORMULA
a(0)=0, a(1)=1, a(2)=18, a(3)=67, a(n)=4*a(n-1)-6*a(n-2)+4*a(n-3)- a(n-4). - Harvey P. Dale, Jul 11 2011
G.f.: (x+14*x^2+x^3)/(x-1)^4. - Harvey P. Dale, Jul 11 2011
E.g.f.: (x/3)*(3 + 24*x + 8*x^2)*exp(x). - G. C. Greubel, Sep 01 2017
MATHEMATICA
Table[n(8n^2-5)/3, {n, 0, 80}] (* Vladimir Joseph Stephan Orlovsky, Apr 18 2011 *)
LinearRecurrence[{4, -6, 4, -1}, {0, 1, 18, 67}, 81] (* or *) CoefficientList[ Series[ (x+14 x^2+x^3)/(x-1)^4, {x, 0, 80}], x] (* Harvey P. Dale, Jul 11 2011 *)
PROG
(PARI) for (n=0, 1000, write("b063523.txt", n, " ", n*(8*n^2 - 5)/3) ) \\ Harry J. Smith, Aug 25 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Aug 02 2001
STATUS
approved