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-2 of 2 results.

A269421 Primes 8k + 3 preceding the maximal gaps in A269420.

Original entry on oeis.org

3, 19, 179, 379, 691, 1187, 1307, 4787, 15467, 22307, 43067, 83579, 273323, 373459, 1543291, 5364091, 5768803, 20941259, 137649667, 251522291, 369352163, 426008699, 938378747, 1042908091, 1378014731, 1878780427, 11474650339, 12402606331, 15931938899, 51025309339, 144309631099
Offset: 1

Views

Author

Alexei Kourbatov, Feb 25 2016

Keywords

Comments

Subsequence of A007520.
A269420 lists the corresponding record gap sizes. See more comments there.

Examples

			The first two primes of the form 8k + 3 are 3 and 11, so a(1)=3. The next prime of this form is 19; the gap 19-11 is not a record so nothing is added to the sequence. The next prime of this form is 43 and the gap 43-19=24 is a new record, so a(2)=19.
		

Crossrefs

Programs

  • PARI
    re=0; s=3; forprime(p=11, 1e8, if(p%8!=3, next); g=p-s; if(g>re, re=g; print1(s", ")); s=p)

A269422 Primes 8k + 3 at the end of the maximal gaps in A269420.

Original entry on oeis.org

11, 43, 211, 419, 739, 1259, 1427, 4931, 15619, 22483, 43283, 83843, 273643, 373859, 1543811, 5364683, 5769403, 20942083, 137650523, 251523163, 369353099, 426009691, 938379811, 1042909163, 1378015843, 1878781763, 11474651731, 12402607739, 15931940483, 51025311059, 144309633179
Offset: 1

Views

Author

Alexei Kourbatov, Feb 25 2016

Keywords

Comments

Subsequence of A007520.
A269420 lists the corresponding record gap sizes. See more comments there.

Examples

			The first two primes of the form 8k + 3 are 3 and 11, so a(1)=11. The next prime of this form is 19; the gap 19-11 is not a record so nothing is added to the sequence. The next prime of this form is 43 and the gap 43-19=24 is a new record, so a(2)=43.
		

Crossrefs

Programs

  • PARI
    re=0; s=3; forprime(p=11, 1e8, if(p%8!=3, next); g=p-s; if(g>re, re=g; print1(p", ")); s=p)
Showing 1-2 of 2 results.