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