login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A043751
Numbers n such that number of runs in the base 2 representation of n is congruent to 5 mod 8.
0
21, 37, 41, 43, 45, 53, 69, 73, 75, 77, 81, 83, 87, 89, 91, 93, 101, 105, 107, 109, 117, 133, 137, 139, 141, 145, 147, 151, 153, 155, 157, 161, 163, 167, 175, 177, 179, 183, 185, 187, 189, 197, 201, 203, 205, 209, 211, 215, 217
OFFSET
1,1
MATHEMATICA
Select[Range[300], Mod[Length[Split[IntegerDigits[#, 2]]], 8]==5&] (* Harvey P. Dale, Apr 10 2017 *)
CROSSREFS
Sequence in context: A043728 A043738 A043744 * A043759 A043768 A083567
KEYWORD
nonn,base
STATUS
approved