A033029 Numbers whose base-16 expansion has no run of digits with length < 2.
17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255, 273, 546, 819, 1092, 1365, 1638, 1911, 2184, 2457, 2730, 3003, 3276, 3549, 3822, 4095, 4352, 4369, 4386, 4403, 4420, 4437, 4454, 4471, 4488, 4505, 4522, 4539
Offset: 1
Examples
255 in hexadecimal is FF, a run of two Fs, hence 255 is in the sequence. 273 in hexadecimal is 111, a run of three 1s, hence 273 is in the sequence. 291 in hexadecimal is 123, three distinct single digits, so 291 is not in the sequence.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Select[Range[10000], Min[Length/@Split[IntegerDigits[#, 16]]] > 1 &] (* Vincenzo Librandi, Feb 05 2014 *)
Comments