OFFSET
1,1
EXAMPLE
For primes 3,5,7,11:
3^x+5^x = 7 mod 11 has no solutions.
5^x-3^x = 7 mod 11 has no solutions.
PROG
(PARI) list_A082475(lim)={my(f, p0=2, p1=3, p2=5, p3=7); for(p=1, lim, f=0; for(x=0, p3-1, if((p0^x + p1^x)%p3 == p2 || (p1^x-p0^x)%p3 == p2, f=1; break)); if(f==0, print1(p", ")); p0=p1; p1=p2; p2=p3; p3=prime(p+4))};
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, May 11 2003
EXTENSIONS
Corrected sequence and program Charles R Greathouse IV, Oct 09 2009
STATUS
approved