A279883 Primes of the form (prime(j)-1)^(prime(j)+1) + 1.
2, 17, 185302018885184100000000000000000000000000000001
Offset: 1
Programs
-
Magma
[(NthPrime(n)-1)^(NthPrime(n)+1)+1: n in[1..200] | IsPrime((NthPrime(n)-1)^(NthPrime(n)+1)+1)]
-
PARI
print1(1^3+1,", ");forprime(p=2,19,if(isprime(2^p-1),a=(2^p-2)^(2^p)+1;ispseudoprime(a)&&print1(a,", "))) \\ Jeppe Stig Nielsen, Sep 15 2022
Comments