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.

Previous Showing 11-14 of 14 results.

A078850 Initial term in sequence of four consecutive primes separated by 3 consecutive differences each <=6 (i.e., when d=2,4 or 6) and forming d-pattern=[4,2,6]; short d-string notation of pattern = [426].

Original entry on oeis.org

67, 1447, 2377, 2707, 5437, 5737, 7207, 9337, 11827, 12037, 19207, 21487, 21517, 23197, 26107, 26947, 28657, 31147, 31177, 35797, 37357, 37567, 42697, 50587, 52177, 65167, 67927, 69997, 71707, 74197, 79147, 81547, 103087, 103387, 106657
Offset: 1

Views

Author

Labos Elemer, Dec 11 2002

Keywords

Comments

Subsequence of A022005. - R. J. Mathar, May 06 2017

Examples

			p=67,67+4=71,67+4+2=73,67+4+2+6=79 are consecutive primes.
		

Crossrefs

Cf. analogous prime quadruple sequences with various possible {2, 4, 6}-difference-patterns in brackets: A007530[242], A078847[246], A078848[264], A078849[266], A052378[424], A078850[426], A078851[462], A078852[466], A078853[624], A078854[626], A078855[642], A078856[646], A078857[662], A078858[664], A033451[666].

Programs

  • Mathematica
    d = {4, 2, 6}; First /@ Select[Partition[Prime@ Range@ 12000, Length@ d + 1, 1], Differences@ # == d &] (* Michael De Vlieger, May 02 2016 *)

Formula

Primes p = p(i) such that p(i+1)=p+4, p(i+2)=p+4+2, p(i+3)=p+4+2+6.

Extensions

Listed terms verified by Ray Chandler, Apr 20 2009

A078950 Primes p such that the differences between the 5 consecutive primes starting with p are (2,6,6,4).

Original entry on oeis.org

149, 599, 27059, 31319, 42179, 65699, 75209, 85829, 87539, 92219, 135599, 170759, 205949, 221069, 249419, 274829, 278609, 280589, 287849, 302579, 307259, 308309, 350429, 355499, 398339, 406499, 416399, 422549, 541529, 566549, 573479, 585839, 603899, 609599, 637709
Offset: 1

Views

Author

Labos Elemer, Dec 19 2002

Keywords

Comments

Equivalently, primes p such that p, p+2, p+8, p+14 and p+18 are consecutive primes.

Examples

			149 is in the sequence since 149, 151 = 149 + 2, 157 = 149 + 8, 163 = 149 + 14 and 167 = 149 + 18 are consecutive primes.
		

Crossrefs

Subsequence of A078849. - R. J. Mathar, May 06 2017

Programs

  • Mathematica
    Select[Partition[Prime[Range[50000]], 5, 1], Differences[#] == {2, 6, 6, 4} &][[;;, 1]] (* Amiram Eldar, Feb 21 2025 *)
  • PARI
    list(lim) = {my(p1 = 2, p2 = 3, p3 = 5, p4 = 7); forprime(p5 = 11, lim, if(p2 - p1 == 2 && p3 - p2 == 6 && p4 - p3 == 6 && p5 - p4 == 4, print1(p1, ", ")); p1 = p2; p2 = p3; p3 = p4; p4 = p5);} \\ Amiram Eldar, Feb 21 2025

Formula

a(n) == 29 (mod 30). - Amiram Eldar, Feb 21 2025

Extensions

Edited by Dean Hickerson, Dec 20 2002

A078951 Primes p such that the differences between the 5 consecutive primes starting with p are (2,6,6,6).

Original entry on oeis.org

3299, 5099, 6359, 19469, 30089, 53609, 63689, 71339, 77549, 80909, 105359, 119549, 152939, 186869, 292469, 302969, 344249, 348239, 408209, 415949, 652739, 707669, 737039, 792689, 818339, 831539, 852749, 886979, 910199, 974969, 1072829, 1152629, 1290629, 1368329
Offset: 1

Views

Author

Labos Elemer, Dec 19 2002

Keywords

Comments

Equivalently, primes p such that p, p+2, p+8, p+14 and p+20 are consecutive primes.

Examples

			5099 is in the sequence since 5099, 5101 = 5099 + 2, 5107 = 5099 + 8, 5113 = 5099 + 14 and 5119 = 5099 + 20 are consecutive primes.
		

Crossrefs

Subsequence of A078849. - R. J. Mathar, May 06 2017

Programs

  • Mathematica
    Select[Partition[Prime[Range[50000]], 5, 1], Differences[#] == {2, 6, 6, 6} &][[;;, 1]] (* Amiram Eldar, Feb 21 2025 *)
  • PARI
    list(lim) = {my(p1 = 2, p2 = 3, p3 = 5, p4 = 7); forprime(p5 = 11, lim, if(p2 - p1 == 2 && p3 - p2 == 6 && p4 - p3 == 6 && p5 - p4 == 6, print1(p1, ", ")); p1 = p2; p2 = p3; p3 = p4; p4 = p5);} \\ Amiram Eldar, Feb 21 2025

Formula

a(n) == 29 (mod 30). - Amiram Eldar, Feb 21 2025

Extensions

Edited by Dean Hickerson, Dec 20 2002

A079017 Suppose p and q = p+14 are primes. Define the difference pattern of (p,q) to be the successive differences of the primes in the range p to q. There are 15 possible difference patterns, namely [14], [2,12], [6,8], [8,6], [12,2], [2,4,8], [2,6,6], [2,10,2], [6,2,6], [6,6,2], [8,4,2], [2,4,6,2], [2,6,4,2], [2,2,4,2,4], [2,4,2,4,2]. Sequence gives smallest value of p for each difference pattern, sorted by magnitude.

Original entry on oeis.org

3, 5, 17, 23, 29, 47, 83, 89, 113, 137, 149, 197, 359, 509, 1997
Offset: 1

Views

Author

Labos Elemer, Jan 24 2003

Keywords

Examples

			p=1997, q=2011 has difference pattern [2,4,8] and {1997,1999,2003,2011} is the corresponding consecutive prime 4-tuple.
		

Crossrefs

A022006(1)=5, A022007(1)=7, A078847(1)=17, A078851(1)=19, A078946(1)=17, A078854(1)=23, A078948(1)=29, A078857(1)=47, A031932(1)=113, A078849(1)=149.
Previous Showing 11-14 of 14 results.