For n <= 18, a(n) = Fibonacci(n) mod 5, using representatives {5,1,2,3,4} (i.e., 5 instead of the usual 0), and a(19)=2.

A172984

For n <= 18, a(n) = Fibonacci(n) mod 5, using representatives {5,1,2,3,4} (i.e., 5 instead of the usual 0), and a(19)=2.

Terms

    a(0) =1a(1) =1a(2) =2a(3) =3a(4) =5a(5) =3a(6) =3a(7) =1a(8) =4a(9) =5a(10) =4a(11) =4a(12) =3a(13) =2a(14) =5a(15) =2a(16) =2a(17) =4a(18) =2

External references