OFFSET
1,1
EXAMPLE
2 is in the sequence because prime(2)=3, prime(2+1)=5, prime(2+2)=7, prime(2+3)=11 and 5^x-3^x == 7 mod 11 has no solutions.
PROG
(PARI) \\ Solutions to prime(i+1)^x-prime(i+1)^x == prime(i+2) mod prime(i+3).
noanmbn(m, n) = { for(p=1, m, f=0; for(x=0, n, if((prime(p+1)^x-prime(p)^x-prime(p+2))%prime(p+3)==0, f=1) ); if(f==0, print1(p ", ")) ) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, May 11 2003
STATUS
approved