OFFSET
1,1
MATHEMATICA
Select[Range@2000, (s=#; Differences[Count[IntegerDigits[s, 9], #]&/@{0, 8}]=={-2})&] (* Giorgos Kalogeropoulos, Jul 04 2021 *)
Select[Range[2000], DigitCount[#, 9, 0]==DigitCount[#, 9, 8]+2&] (* Harvey P. Dale, Dec 02 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Dec 02 2024
STATUS
approved