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

A037506

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

Terms

    a(0) =1a(1) =7a(2) =35a(3) =176a(4) =882a(5) =4410a(6) =22051a(7) =110257a(8) =551285a(9) =2756426a(10) =13782132a(11) =68910660a(12) =344553301a(13) =1722766507a(14) =8613832535a(15) =43069162676a(16) =215345813382

External references