login
A152898
Periodic sequence [1,4,0,0,0] of period 5.
1
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,2
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).
MATHEMATICA
PadRight[{}, 110, {1, 4, 0, 0, 0}] (* Harvey P. Dale, Jan 21 2012 *)
CROSSREFS
Cf. A026065.
Sequence in context: A277115 A291447 A152894 * A368661 A369009 A345403
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Dec 14 2008
STATUS
approved