a(n) = floor(a(n-1)/4) if this is positive and not yet in the sequence, otherwise a(n) = 5*a(n-1).

A050108

a(n) = floor(a(n-1)/4) if this is positive and not yet in the sequence, otherwise a(n) = 5*a(n-1).

Terms

    a(0) =1a(1) =5a(2) =25a(3) =6a(4) =30a(5) =7a(6) =35a(7) =8a(8) =2a(9) =10a(10) =50a(11) =12a(12) =3a(13) =15a(14) =75a(15) =18a(16) =4a(17) =20a(18) =100a(19) =500a(20) =125a(21) =31a(22) =155a(23) =38a(24) =9a(25) =45a(26) =11a(27) =55a(28) =13a(29) =65

External references