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.

A088415 Primes p = prime(i) such that p(i)# - p(i+1) or p(i)# + p(i+1) or both are primes.

Original entry on oeis.org

2, 3, 5, 7, 11, 13, 17, 19, 43, 53, 59, 73, 79, 83, 89, 149, 367, 431, 853, 4007, 6143, 8819, 8969
Offset: 1

Views

Author

Ray Chandler, Oct 05 2003

Keywords

Examples

			3=p(2) is in the sequence because p(2)# + p(3) = 11 is prime.
		

Crossrefs

Cf. A087714.

Programs

  • Mathematica
    Do[ p = Product[Prime[i], {i, 1, n}]; q = Prime[n + 1]; If[ PrimeQ[p - q] || PrimeQ[p + q], Print[ Prime[n]]], {n, 1, 1435}]

Extensions

Edited by Robert G. Wilson v, Oct 17 2003