Write n in binary with each run (of either digit b) of the k-th longest distinct run-length replaced with a run of digit b of a length equal to that of the k-th shortest distinct run-length. Convert back to decimal for a(n). (See comment.)
A166166
Write n in binary with each run (of either digit b) of the k-th longest distinct run-length replaced with a run of digit b of a length equal to that of the k-th shortest distinct run-length. Convert back to decimal for a(n). (See comment.)
Terms
- a(0) =0a(1) =1a(2) =2a(3) =3a(4) =6a(5) =5a(6) =4a(7) =7a(8) =14a(9) =27a(10) =10a(11) =25a(12) =12a(13) =19a(14) =8a(15) =15a(16) =30a(17) =119a(18) =108a(19) =13a(20) =102a(21) =21a(22) =100a(23) =113a(24) =28a(25) =11a(26) =76a(27) =9a(28) =24a(29) =71
External references
- oeis: A166166