for i in range(7758): if(set(`i`)<=set('2357'))&all(i%j for j in range(2,i)):print i
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page