Prime Substrings by teebee

#!perl -p
s#.#"m,.{@+}(?{print/^(|1|(11+)\\2+)\$/^1for 1x\$&})^,"#gee

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page