login
A043755
Numbers n such that number of runs in the base 2 representation of n is congruent to 1 mod 9.
0
1, 3, 7, 15, 31, 63, 127, 255, 511, 682, 1023, 1194, 1322, 1354, 1362, 1364, 1366, 1370, 1386, 1450, 1706, 2047, 2218, 2346, 2378, 2386, 2388, 2390, 2394, 2410, 2474, 2602, 2634, 2642, 2644, 2646, 2650, 2666, 2698, 2706
OFFSET
1,2
MATHEMATICA
Select[Range[3000], Mod[Length[Split[IntegerDigits[#, 2]]], 9]==1&] (* Harvey P. Dale, May 22 2014 *)
CROSSREFS
Sequence in context: A267258 A305493 A213247 * A105755 A043764 A213248
KEYWORD
nonn,base
STATUS
approved