OFFSET
1,2
EXAMPLE
106 in base 7 is 211, which has one more 1 than it has 2's.
107 in base 7 is 212, which has one more 2 than it has 1's.
108 in base 7 is 213. Since each digit occurs as many times as the others (once each), 108 is not in the sequence.
MATHEMATICA
enb7Q[n_] := Module[{t = Tally[IntegerDigits[n, 7]][[All, 2]]}, Length[t] == Length[Union[t]]]; Select[Range[200], enb7Q] (* Harvey P. Dale, Jul 26 2018 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved