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

A039053
Numbers whose base-8 representation has the same number of 0's and 4's.
0
1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, 21, 22, 23, 25, 26, 27, 29, 30, 31, 32, 41, 42, 43, 45, 46, 47, 49, 50, 51, 53, 54, 55, 57, 58, 59, 61, 62, 63, 68, 73, 74, 75, 77, 78, 79, 81, 82, 83, 85, 86, 87, 89, 90, 91, 93, 94, 95, 96, 105, 106, 107, 109, 110, 111
OFFSET
1,2
MATHEMATICA
s048Q[n_]:=Module[{dc8=DigitCount[n, 8]}, dc8[[8]]==dc8[[4]]]; Select[ Range[120], s048Q] (* Harvey P. Dale, Oct 21 2011 *)
CROSSREFS
Sequence in context: A164087 A187386 A059531 * A352675 A329974 A059557
KEYWORD
nonn,base,easy
STATUS
approved