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”).

A039059
Numbers whose base-8 representation has the same number of 1's and 5's.
0
0, 2, 3, 4, 6, 7, 13, 16, 18, 19, 20, 22, 23, 24, 26, 27, 28, 30, 31, 32, 34, 35, 36, 38, 39, 41, 48, 50, 51, 52, 54, 55, 56, 58, 59, 60, 62, 63, 69, 85, 93, 101, 104, 106, 107, 108, 110, 111, 117, 125, 128, 130, 131, 132, 134, 135, 141, 144, 146, 147, 148, 150, 151
OFFSET
1,2
MATHEMATICA
Select[Range[0, 200], DigitCount[#, 8, 1]==DigitCount[#, 8, 5]&] (* Harvey P. Dale, Dec 09 2012 *)
CROSSREFS
Sequence in context: A039947 A339591 A096477 * A151892 A162570 A073639
KEYWORD
nonn,base,easy
STATUS
approved