OFFSET
1,1
COMMENTS
Is this sequence infinite?
FORMULA
a(n) = prime(A082475(n)).
EXAMPLE
2 is not in the sequence because 2^1+3^1 = 5 (mod 7).
17 is not in the sequence because 19^4-17^4 = 23 (mod 29).
PROG
(PARI) { for (p = 1, 300, f = 0; for (x = 1, prime(p + 3) - 1, if ((prime(p + 1)^x + prime(p)^x - prime(p + 2))%prime(p + 3) == 0 || (prime(p + 1)^x - prime(p)^x - prime(p + 2))%prime(p + 3) == 0, f = 1; break)); if (f == 0, print(prime(p)))) }
CROSSREFS
KEYWORD
easy,nonn,less
AUTHOR
Cino Hilliard, May 11 2003
EXTENSIONS
Edited and extended by David Wasserman, Oct 12 2006
STATUS
approved