OFFSET
1,1
MATHEMATICA
ok6Q[n_]:=Module[{dc6=DigitCount[n, 6]}, dc6[[5]]==dc6[[6]]>0]; Select[Range[ 550], ok6Q] (* Harvey P. Dale, Mar 05 2011 *)
Select[Range[600], DigitCount[#, 6, 0]==DigitCount[#, 6, 5]>0&] (* Harvey P. Dale, Mar 12 2023 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved