OFFSET
1,1
PROG
(PARI) xpm1(n, m, pow) = { for(k=1, m, for(x=1, n, y= x^pow - 1; z=floor(y/k); if(floor(y/k)*k==y, if(isprime(z), print1(x", ") ) ) ) )
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Dec 07 2003
STATUS
approved