in reply to Re^4: Prime number generator
in thread Prime number generator

Amazing! ++

Of course, you can even make it 52 with a minor change ...

$o=1;{print$_[@_]=$o.$"if++$o,!grep!($o%$_),@_;redo}

s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/