A076506 Expansion of x*(1+3*x+12*x^2)/(1-24*x^3).
1, 3, 12, 24, 72, 288, 576, 1728, 6912, 13824, 41472, 165888, 331776, 995328, 3981312, 7962624, 23887872, 95551488, 191102976, 573308928, 2293235712, 4586471424, 13759414272, 55037657088, 110075314176, 330225942528
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (0,0,24).
Crossrefs
Cf. A076505.
Programs
-
Mathematica
a[n_] := Product[Mod[k, 3]+2, {k, 1, n-1}]; Array[a, 26] (* Jean-François Alcover, Oct 05 2016, adapted from PARI *)
-
PARI
a(n)=prod(k=1,n-1,k%3+2)
Formula
G.f.: x*(1+3*x+12*x^2)/(1-24*x^3). [Colin Barker, Jun 07 2012]
Comments