A160768 G.f.: (21+98*x+91*x^2+21*x^3+x^4)/(1-x)^5.
21, 203, 896, 2681, 6371, 13011, 23878, 40481, 64561, 98091, 143276, 202553, 278591, 374291, 492786, 637441, 811853, 1019851, 1265496, 1553081, 1887131, 2272403, 2713886, 3216801, 3786601, 4428971, 5149828, 5955321, 6851831
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
Programs
-
Magma
[(58*n^4 + 233*n^3 + 428*n^2 + 373*n + 126)/6: n in [0..30]]; // G. C. Greubel, Apr 26 2018
-
Mathematica
Table[(58*n^4 + 233*n^3 + 428*n^2 + 373*n + 126)/6, {n, 0, 50}] (* G. C. Greubel, Apr 26 2018 *)
-
PARI
for(n=0,30, print1((58*n^4 + 233*n^3 + 428*n^2 + 373*n + 126)/6, ", ")) \\ G. C. Greubel, Apr 26 2018
Formula
a(n) = 29*n^4/3 +233*n^3/6 +214*n^2/3 +373*n/6 +21. - R. J. Mathar, Sep 11 2011
Comments