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