OFFSET
0,2
COMMENTS
O. Haxel gave a construction procedure. The formulas are due to Wolfdieter Lang.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Otto Haxel, Die Entstehung des Schalenmodells der Atomkerne, Physikalische Blätter, Vol. 50, Iss. 4 (1994), pp. 339-341. (in German)
Otto Haxel et al., On the "Magic Numbers" in Nuclear Structure, Phys. Rev., 75 (1949), 1766.
Vladimir Ladma, Magic numbers.
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = n*(n^2 + 5)/3.
G.f.: 2*x*(1 - x + x^2)/(1-x)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - Wesley Ivan Hurt, Apr 05 2015
E.g.f.: x*(6 + 3*x + x^2)*exp(x)/3. - G. C. Greubel, Oct 12 2019
a(n) = A046127(n+1) - 2. - Jianing Song, Feb 03 2024
MAPLE
MATHEMATICA
Table[n(n^2+5)/3, {n, 0, 50}] (* Harvey P. Dale, Apr 07 2011 *)
(* Alternative: *)
LinearRecurrence[{4, -6, 4, -1}, {0, 2, 6, 14}, 50] (* Vincenzo Librandi, Apr 06 2015 *)
PROG
(Magma) [n*(n^2+5)/3 : n in [0..50]]; // Wesley Ivan Hurt, Apr 05 2015
(PARI) a(n)=n*(n^2+5)/3 \\ Charles R Greathouse IV, Jun 25 2017
(SageMath) [n*(n^2+5)/3 for n in range(50)] # G. C. Greubel, Oct 12 2019
(GAP) List([0..50], n-> n*(n^2+5)/3); # G. C. Greubel, Oct 12 2019
CROSSREFS
KEYWORD
easy,nonn,nice
AUTHOR
STATUS
approved
