A238265 Primes p such that p + 1 or p - 1 is in A055462.
2, 3, 23, 6911, 238878721, 5944066965503999
Offset: 1
Examples
A000142(2)^3*A000142(3)^2*A000142(4) - 1 = 6911, which is prime.
Programs
-
PARI
t=1; p=1; for(n=1, 6, t*=n!; p*=t; if(isprime(p-1), print1(p-1, ", ")); if(isprime(p+1), print1(p+1, ", ")));
Formula
a(n) are the prime values of 1! * (1! * 2!) * (1! * 2! * 3!) * (1! * 2! * 3! * n!) +/- 1.
Comments