Base-5 digits are, in order, the first n terms of the periodic sequence with initial period 1,0.

A033115

Base-5 digits are, in order, the first n terms of the periodic sequence with initial period 1,0.

Terms

    a(0) =1a(1) =5a(2) =26a(3) =130a(4) =651a(5) =3255a(6) =16276a(7) =81380a(8) =406901a(9) =2034505a(10) =10172526a(11) =50862630a(12) =254313151a(13) =1271565755a(14) =6357828776a(15) =31789143880a(16) =158945719401a(17) =794728597005

External references