a(n) = floor(a(n-1)/3) if this is positive and not yet in the sequence, otherwise a(n) = 10*a(n-1).
A050100
a(n) = floor(a(n-1)/3) if this is positive and not yet in the sequence, otherwise a(n) = 10*a(n-1).
Terms
- a(0) =1a(1) =10a(2) =3a(3) =30a(4) =300a(5) =100a(6) =33a(7) =11a(8) =110a(9) =36a(10) =12a(11) =4a(12) =40a(13) =13a(14) =130a(15) =43a(16) =14a(17) =140a(18) =46a(19) =15a(20) =5a(21) =50a(22) =16a(23) =160a(24) =53a(25) =17a(26) =170a(27) =56a(28) =18a(29) =6
External references
- oeis: A050100