A152898 Periodic sequence [1,4,0,0,0] of period 5.
1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,1).
Crossrefs
Cf. A026065.
Programs
-
Mathematica
PadRight[{},110,{1,4,0,0,0}] (* Harvey P. Dale, Jan 21 2012 *)
Formula
a(n+5) = a(n) with a(0) = 1, a(1) = 4 and a(2) = a(3) = a(4) = 0.
G.f.: (1+4*z)/(1-z^5).