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

A039078
Numbers whose base-9 representation has the same number of 0's and 2's.
0
1, 3, 4, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 18, 28, 30, 31, 32, 33, 34, 35, 37, 39, 40, 41, 42, 43, 44, 46, 48, 49, 50, 51, 52, 53, 55, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 73, 75, 76, 77, 78, 79, 80, 83, 91, 93, 94, 95, 96, 97, 98, 99, 109, 111, 112
OFFSET
1,2
MATHEMATICA
Select[Range[120], DigitCount[#, 9, 0]==DigitCount[#, 9, 2]&] (* Harvey P. Dale, Mar 17 2021 *)
CROSSREFS
Cf. A007095.
Sequence in context: A232803 A117346 A158648 * A073632 A066378 A125684
KEYWORD
nonn,base,easy
STATUS
approved