OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[1100], DigitCount[#, 10, 5]==DigitCount[#, 10, 8]>0&] (* Harvey P. Dale, Apr 18 2019 *)
PROG
(PARI) is(n) = my(d=digits(n), sis5=#setintersect(vecsort(d), vector(#d, x, 5)), sis8=#setintersect(vecsort(d), vector(#d, x, 8))); sis5 > 0 && sis5==sis8 \\ Felix Fröhlich, Apr 18 2019
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved