OFFSET
1,1
EXAMPLE
404 has more 4's than any other digit, whereas 4004 has as many 0's as 4's.
MATHEMATICA
Select[Range[0, 2000], Max@ #1 < First@ #2 & @@ TakeDrop[RotateLeft[#, 4] &@ DigitCount@ #, 9] &] (* Michael De Vlieger, Sep 16 2017 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Halfdan Skjerning, Sep 16 2017
EXTENSIONS
More terms from Michael De Vlieger, Sep 16 2017
STATUS
approved