OFFSET
2,1
PROG
(PARI) countpxp(m, k) = { for(x=2, m, c=0; n=x; while(n > 1, if(isprime(n), n=n*k+1; c++, if(n%2<>0, n++; c++)); while(n%2==0, n/=2; c++); if(n==1 || n==31, break); ); print1(c", "); ) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Aug 02 2003
STATUS
approved