A264723 Primes of the form n! - prime(n).
17, 109, 5023, 479001563, 87178291157, 1307674367953, 20922789887947, 355687428095941, 6402373705727939, 2432902008176639929, 265252859812191058636308479999887, 13763753091226345046315979581580902399999843, 20397882081197443358640281739902897356799999833
Offset: 1
Keywords
Programs
-
Magma
[a: n in [1..40] | IsPrime(a) where a is Factorial(n)-NthPrime(n)];
-
Mathematica
Select[Table[n! - Prime[n], {n, 50}], PrimeQ]
-
PARI
for(n=1, 1e2, if(isprime(k=(n!-prime(n))), print1(k, ", "))) \\ Altug Alkan, Nov 22 2015
Comments