A045718 by int-e

p(i,j){return j>=i||i%j>0&&p(i,j+1);}main(i){for(;i<254;)if(p(i-1,2)|p(++i,2))printf("%d\n",i-1);}

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

download

return to the top page