OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,-1,1,0,0,0,-1,1,0,0,0,-1,1,0,0,0,-1,1).
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
KEYWORD
easy,nonn
AUTHOR
Philippe Deléham, Apr 27 2009
STATUS
approved