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