OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
MATHEMATICA
Select[Range[0, 500], DigitCount[#, 10, 1] == DigitCount[#, 10, 8] &] (* G. C. Greubel, Nov 01 2017 *)
PROG
(PARI) isok(n) = my(d=digits(n)); #select(x->(x==1), d) == #select(x->(x==8), d); \\ Michel Marcus, Nov 01 2017
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved