cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A261639 Values of n such that prime(n+1)!/prime(n) + 1 is a prime number.

Original entry on oeis.org

2, 3, 4, 5, 19, 110
Offset: 1

Views

Author

Altug Alkan, Aug 27 2015

Keywords

Comments

a(1) = 2, a(2) = 3, a(3) = 4, a(4) = 5. It can be seen as a nice consecutiveness on sequence for first four items. Another point is that sequence of prime(n+1)! / prime(n) is observed in A260754.
a(7) > 2300. - Giovanni Resta, Aug 28 2015

Examples

			For n=2 the (prime(n+1)! / prime(n)) + 1 = 41. 41 is prime.
		

Crossrefs

Cf. A260754.

Programs

  • PARI
    for(n=1, 1e3, if(isprime(k=((prime(n+1)!/prime(n))+1)), print1(n", ")))
Showing 1-1 of 1 results.