A264851 a(n) = n*(n + 1)*(n + 2)*(4*n - 3)/6.
0, 1, 20, 90, 260, 595, 1176, 2100, 3480, 5445, 8140, 11726, 16380, 22295, 29680, 38760, 49776, 62985, 78660, 97090, 118580, 143451, 172040, 204700, 241800, 283725, 330876, 383670, 442540, 507935, 580320, 660176, 748000, 844305, 949620, 1064490, 1189476
Offset: 0
Links
- OEIS Wiki, Figurate numbers
- Eric Weisstein's World of Mathematics, Pyramidal Number
- Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
Crossrefs
Programs
-
Magma
[n*(n + 1)*(n + 2)*(4*n - 3)/6: n in [0..50]]; // Vincenzo Librandi, Nov 27 2015
-
Mathematica
Table[n (n + 1) (n + 2) (4 n - 3)/6, {n, 0, 50}]
-
PARI
a(n)=n*(n+1)*(n+2)*(4*n-3)/6 \\ Charles R Greathouse IV, Jul 26 2016
Formula
G.f.: x*(1 + 15*x)/(1 - x)^5.
a(n) = Sum_{k = 0..n} A172078(k).
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5). - Vincenzo Librandi, Nov 27 2015
Comments