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.

A052158 Lower prime of a difference of 6 (G-minor-6 primes) between consecutive primes of 6k+1 form.

Original entry on oeis.org

31, 61, 73, 151, 157, 271, 331, 367, 373, 433, 541, 571, 601, 607, 727, 733, 751, 991, 1033, 1063, 1117, 1123, 1231, 1291, 1321, 1453, 1543, 1621, 1657, 1741, 1747, 1753, 1777, 1861, 1987, 2011, 2131, 2281, 2287, 2341, 2371, 2383, 2467, 2551, 2671, 2677
Offset: 1

Views

Author

Labos Elemer, Jan 25 2000

Keywords

Comments

The corresponding larger primes (G-major-6 primes) are also of the form 6k+1.

Examples

			a(1)=31 since a(1) + 6 = 37 is the next prime and 31 = 6*5 + 1.
		

Crossrefs

Programs

  • Mathematica
    Transpose[Select[Partition[Prime[Range[400]],2,1],Last[#]-First[#] == 6 && Mod[First[#],6]==1&]][[1]] (* Harvey P. Dale, Oct 01 2013 *)

Formula

A031924(n) == 1 (mod 6).