

A159957


Period 25 : 0,1,2,3,4,1,2,3,4,0,2,3,4,0,1,3,4,0,1,2,4,0,1,2,3 .


0



0, 1, 2, 3, 4, 1, 2, 3, 4, 0, 2, 3, 4, 0, 1, 3, 4, 0, 1, 2, 4, 0, 1, 2, 3, 0, 1, 2, 3, 4, 1, 2, 3, 4, 0, 2, 3, 4, 0, 1, 3, 4, 0, 1, 2, 4, 0, 1, 2, 3, 0, 1, 2, 3, 4, 1, 2, 3, 4, 0, 2, 3, 4, 0, 1, 3, 4, 0, 1, 2, 4, 0, 1, 2, 3, 0, 1, 2, 3, 4, 1, 2, 3, 4, 0, 2, 3, 4, 0, 1, 3, 4, 0, 1, 2, 4, 0, 1, 2, 3
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,3


LINKS

Table of n, a(n) for n=0..99.


FORMULA

a(n+25)= a(n) with a(0)=a(9)=a(13)=a(17)=a(21)=0, a(1)=a(5)=a(14)=a(18)=a(22)=1, a(2)=a(6)=a(10)=a(15)=a(24)=2, a(3)=a(7)=a(11)=a(15)=a(24)=3, a(4)=a(8)=a(12)=a(16)=a(20)=4 .


MATHEMATICA

PadRight[{}, 120, {0, 1, 2, 3, 4, 1, 2, 3, 4, 0, 2, 3, 4, 0, 1, 3, 4, 0, 1, 2, 4, 0, 1, 2, 3}] (* Harvey P. Dale, Jun 10 2016 *)


CROSSREFS

Sequence in context: A309198 A256914 A171171 * A053840 A010883 A011542
Adjacent sequences: A159954 A159955 A159956 * A159958 A159959 A159960


KEYWORD

easy,nonn


AUTHOR

Philippe Deléham, Apr 27 2009


STATUS

approved



