%I #36 Sep 08 2022 08:46:11
%S 0,1,30,114,280,555,966,1540,2304,3285,4510,6006,7800,9919,12390,
%T 15240,18496,22185,26334,30970,36120,41811,48070,54924,62400,70525,
%U 79326,88830,99064,110055,121830,134416,147840,162129,177310,193410,210456,228475,247494
%N 29-gonal pyramidal numbers: a(n) = n*(n+1)*(9*n-8)/2.
%C See comments in A256645.
%D E. Deza and M. M. Deza, Figurate numbers, World Scientific Publishing (2012), page 93 (27th row of the table).
%H Luciano Ancora, <a href="/A256649/b256649.txt">Table of n, a(n) for n = 0..1000</a>
%H Luciano Ancora, <a href="/A256645/a256645_1.pdf">Polygonal and Pyramidal numbers</a>, Section 3.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-6,4,-1).
%F G.f.: x*(1 + 26*x)/(1 - x)^4.
%F a(n) = A000292(n) + 26*A000292(n-1).
%t Table[n (n + 1)(9 n - 8)/2, {n, 0, 40}]
%t LinearRecurrence[{4, -6, 4, -1}, {0, 1, 30, 114}, 40] (* _Vincenzo Librandi_, Apr 08 2015 *)
%o (Magma) [n*(n+1)*(9*n-8)/2: n in [0..50]]; // _Vincenzo Librandi_, Apr 08 2015
%Y Partial sums of A255187.
%Y Cf. similar sequences listed in A237616.
%Y Cf. A000292.
%K nonn,easy
%O 0,3
%A _Luciano Ancora_, Apr 07 2015