On Sun, Dec 6, 2015 at 3:44 PM, Erica Sadun <erica at ericasadun.com> wrote: > Is there an implementation in the stdlib for (T?, T?) like this? No. Dmitri -- main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/