OFFSET
1,1
PROG
(PARI) px3nm1(n, p) = { forprime(x=2, n, p1 = x; while(p1>1, if(p1%2==0, p1/=2, p1 = p1*p-1; ); if(p1 == 5 || p1==17, break); ); if(p1 == 5, print1(x" ")) ) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Mar 27 2003
STATUS
approved