OFFSET
1,1
MATHEMATICA
Select[Range@2000, (s=#; Differences[Count[IntegerDigits[s, 9], #]&/@{0, 8}]=={-2})&] (* Giorgos Kalogeropoulos, Jul 04 2021 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved