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.

A269425 Primes 8k + 1 preceding the maximal gaps in A269424.

Original entry on oeis.org

17, 41, 137, 457, 673, 2161, 5953, 8377, 10009, 22481, 37657, 73121, 79889, 220897, 351529, 1879121, 2321393, 4259113, 6394657, 8211977, 9618457, 11282017, 36087113, 59502217, 72495233, 236885513, 556952881, 809097481, 830449097, 888023449, 2420630497, 3845315977, 13243532017, 17279668529, 29704277129, 49624608961, 59974490209, 107046775289, 158191299481
Offset: 1

Views

Author

Alexei Kourbatov, Feb 25 2016

Keywords

Comments

Subsequence of A007519.
A269424 lists the corresponding record gap sizes. See more comments there.

Examples

			The first two primes of the form 8k + 1 are 17 and 41, so a(1)=17. The next prime of this form is 73 and the gap 73-41=32 is a new record, so a(2)=41.
		

Crossrefs

Programs

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

A269426 Primes 8k + 1 at the end of the maximal gaps in A269424.

Original entry on oeis.org

41, 73, 193, 521, 761, 2273, 6073, 8513, 10169, 22697, 37889, 73361, 80153, 221201, 351913, 1879601, 2321881, 4259641, 6395201, 8212553, 9619081, 11282657, 36087833, 59502977, 72496049, 236886401, 556953841, 809098513, 830450161, 888024649, 2420631793, 3845317297, 13243533449, 17279669993, 29704278649, 49624610521, 59974491817, 107046777121, 158191301329
Offset: 1

Views

Author

Alexei Kourbatov, Feb 25 2016

Keywords

Comments

Subsequence of A007519.
A269424 lists the corresponding record gap sizes. See more comments there.

Examples

			The first two primes of the form 8k + 1 are 17 and 41, so a(1)=41. The next prime of this form is 73 and the gap 73-41=32 is a new record, so a(2)=73.
		

Crossrefs

Programs

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