A043711 Numbers whose base-8 representation has an odd number of runs.
1, 2, 3, 4, 5, 6, 7, 9, 18, 27, 36, 45, 54, 63, 65, 66, 67, 68, 69, 70, 71, 73, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 103, 104, 105, 106, 107, 108, 110, 111, 112, 113, 114, 115, 116, 117, 119, 120
Offset: 1
Programs
-
Mathematica
Select[Range[150],OddQ[Length[Split[IntegerDigits[#,8]]]]&] (* Harvey P. Dale, Jul 07 2025 *)