A129197 a(n) = numerator( 3*(3+(-1)^n)/(n+1)^3 ).
12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,1).
Crossrefs
Cf. sequences listed in Comments section of A283393.
Programs
-
Mathematica
Table[3 (3+(-1)^n)/(n+1)^3,{n,0,80}]//Numerator (* Harvey P. Dale, Sep 26 2020 *)
Formula
G.f.: (12 + 3*x + 4*x^2 + 3*x^3 + 12*x^4 + x^5)/(1 - x^6).
Period 6: repeat [12, 3, 4, 3, 12, 1].
Comments