OFFSET
1,1
MATHEMATICA
okQ[n_]:=Module[{dc8=DigitCount[n, 8]}, dc8[[4]]==dc8[[6]]>0]; Select[ Range[ 1000], okQ] (* Harvey P. Dale, Nov 14 2011 *)
Select[Range[1000], DigitCount[#, 8, 4]==DigitCount[#, 8, 6]>0&] (* Harvey P. Dale, Sep 12 2022 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved