Smaller of two ternary (base 3) numbers (each using only 0's and 1's, the latter's positions never coinciding) such that the decimal representation of their difference is n.
A112952
Smaller of two ternary (base 3) numbers (each using only 0's and 1's, the latter's positions never coinciding) such that the decimal representation of their difference is n.
Terms
- a(0) =0a(1) =0a(2) =1a(3) =0a(4) =0a(5) =11a(6) =10a(7) =10a(8) =1a(9) =0a(10) =0a(11) =1a(12) =0a(13) =0a(14) =111a(15) =110a(16) =110a(17) =101a(18) =100a(19) =100a(20) =101a(21) =100a(22) =100a(23) =11a(24) =10a(25) =10a(26) =1a(27) =0a(28) =0a(29) =1
External references
- oeis: A112952