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.

A309671 Primes prime(m) such that G = prime(m-1)# - prime(m) is prime.

Original entry on oeis.org

7, 11, 13, 17, 23, 83, 89, 97, 151, 373, 433, 857, 4013, 8821, 12959
Offset: 1

Views

Author

Mohamed Sami Gattoufi, Aug 11 2019

Keywords

Comments

G = prime(n-1)# - prime(n) where G is a prime is a special case of A090188 where (k=1).

Examples

			7 is a term because 23 = 2*3*5 - 7 is prime.
		

Crossrefs

Programs

  • PARI
    primo(p) = my(ip=primepi(p)); factorback(primes(ip)); \\ A002110
    isok(p) = isprime(p) && isprime(primo(precprime(p-1)) - p);