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.

A161725 Primes p such that also p+30 and p-30 are primes.

Original entry on oeis.org

37, 41, 43, 53, 59, 67, 71, 73, 83, 97, 101, 109, 127, 137, 167, 181, 193, 197, 211, 227, 241, 263, 281, 307, 337, 367, 379, 389, 409, 419, 431, 449, 461, 479, 491, 571, 577, 587, 601, 617, 631, 643, 647, 661, 739, 757, 827, 853, 857, 907, 911, 937, 941, 967
Offset: 1

Views

Author

Keywords

Examples

			The prime p=37 is in the sequence because 37-30=7 and 37+30=67 are also primes.
		

Crossrefs

Programs

  • Mathematica
    q=6*5; lst={}; Do[p=Prime[n]; If[PrimeQ[p-q] && PrimeQ[p+q], AppendTo[lst,p]], {n, 5000}]; lst

Extensions

Definition edited by Emeric Deutsch, Jun 28 2009