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

A031493
Numbers whose base-9 representation has one more 0 than 8's.
0
9, 18, 27, 36, 45, 54, 63, 82, 83, 84, 85, 86, 87, 88, 90, 99, 108, 117, 126, 135, 144, 163, 164, 165, 166, 167, 168, 169, 171, 180, 189, 198, 207, 216, 225, 244, 245, 246, 247, 248, 249, 250, 252, 261, 270, 279, 288, 297, 306, 325
OFFSET
1,1
MATHEMATICA
Select[Range@400, (s=#; Differences[Count[IntegerDigits[s, 9], #]&/@{0, 8}]=={-1})&] (* Giorgos Kalogeropoulos, Jul 04 2021 *)
CROSSREFS
Cf. A007095.
Sequence in context: A178896 A217373 A033021 * A020336 A044834 A033006
KEYWORD
nonn,base
STATUS
approved