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.

A337213 Primes prime(k) such that prime(k) + 2*prime(k+1) and prime(k) + 2*prime(k+1) + 4*prime(k+2) are prime.

Original entry on oeis.org

3, 43, 59, 127, 599, 673, 937, 1451, 1619, 1847, 2089, 2311, 2953, 3343, 3613, 3677, 4817, 4909, 4973, 5519, 5639, 5857, 6359, 6389, 7043, 7069, 7537, 8867, 9157, 9341, 10039, 11069, 12301, 12907, 13327, 13729, 14293, 14549, 15619, 15739, 15877, 17077, 17351, 17977, 18253, 19211, 19387, 19469
Offset: 1

Views

Author

J. M. Bergot and Robert Israel, Aug 19 2020

Keywords

Examples

			a(3)=59 is in the sequence because 59, 61, 67 are consecutive primes and 59+2*61=181 and 59+2*61+4*67=449 are prime.
		

Crossrefs

Programs

  • Maple
    N:= 2000: # to get terms in the first N primes
    P:= [seq(ithprime(i),i=1..N+2)]:
    P[select(i -> isprime(P[i]+2*P[i+1]) and isprime(P[i]+2*P[i+1]+4*P[i+2]), [$1..N])];
Showing 1-1 of 1 results.