Base-3 analog of A018737. Start with S = {}. For m = 0, 1, 2, 3, ... let u be the ternary expansion of m. If u is not a substring of S, append the minimal number of ternary digits to S to remedy this. Sequence gives S.
A109294
Base-3 analog of A018737. Start with S = {}. For m = 0, 1, 2, 3, ... let u be the ternary expansion of m. If u is not a substring of S, append the minimal number of ternary digits to S to remedy this. Sequence gives S.
Terms
- a(0) =0a(1) =1a(2) =2a(3) =1a(4) =0a(5) =1a(6) =1a(7) =2a(8) =0a(9) =2a(10) =2a(11) =1a(12) =0a(13) =0a(14) =1a(15) =0a(16) =2a(17) =1a(18) =1a(19) =0a(20) =1a(21) =1a(22) =1a(23) =2a(24) =2a(25) =0a(26) =0a(27) =2a(28) =0a(29) =1
External references
- oeis: A109294