A301373 Numbers k such that (k+1)!*k/2 + 1 is prime.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 19, 24, 251, 374, 953, 1104, 1507, 3390, 4443, 5762
Offset: 1
Links
- Maheswara Rao Valluri, Primes of the form p = 1 + n! Sum n, for some n ∈ N*, arXiv:1803.11461 [math.GM], 2018.
Programs
-
Mathematica
Do[ If[ PrimeQ[n(n +1)!/2 +1], Print@ n], {n, 4000}] (* Robert G. Wilson v, Apr 05 2018 *)
-
PARI
isok(k) = ispseudoprime((k+1)! * k / 2 + 1);
Extensions
a(21) from Robert G. Wilson v, Apr 05 2018
a(22) from Vaclav Kotesovec, Apr 06 2018
a(23) from Giovanni Resta, Jun 24 2018
Comments