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 51-52 of 52 results.

A054203 a(n) is the smallest start of a run of exactly n+1 consecutive primes with n (not necessarily equal) prime differences, each divisible by 6.

Original entry on oeis.org

23, 47, 251, 1889, 1741, 19471, 118801, 498259, 148531, 406951, 1820111, 2339041, 40727657, 19725473, 73451737, 232301497, 400414121, 1057859471, 489144599, 1444257673, 766319189, 24061965043, 87996684091, 21549657539, 141116164769, 140432294381, 437339303279
Offset: 1

Views

Author

Labos Elemer, May 17 2000

Keywords

Comments

This is a "modular arithmetic progression" of successive primes, modulo 6.

Examples

			For n = 1: a(1) = 23 is followed by a difference 6 to give 29, a prime.
For n = 5 a(5) = 1741 is followed by differences {6, 6, 6, 18, 6} and results in {1741, 1747, 1753, 1759, 1777, 1783} consecutive prime sequence.
For n = 10: a(10) = 406951 is prime prime is followed by {18, 12, 12, 30, 24, 12, 24, 36, 18, 12} consecutive differences pattern.
		

Crossrefs

Programs

  • PARI
    list(len) = {my(s = vector(len), v = [], prv = 2, c = 0, i, q, d); forprime(p = 3, , d = p - prv; if(d % 6, if(q > 0, i = #v; if(i > 0 && i <= len && s[i] == 0, s[i] = q; c++)); v = [], if(#v == 0, q = prv); v = concat(v, p)); prv = p; if(c == len, break)); s;} \\ Amiram Eldar, Mar 11 2025

Extensions

a(11)-a(21) from Sean A. Irvine, Jan 25 2022
a(8) corrected, a(22)-a(27) added, and name clarified by Amiram Eldar, Mar 11 2025

A374719 Primes p such that p + 48 and p + 96 are also prime.

Original entry on oeis.org

5, 11, 13, 31, 41, 53, 61, 83, 101, 103, 131, 181, 263, 283, 353, 383, 461, 521, 523, 613, 643, 661, 691, 761, 811, 881, 991, 1013, 1021, 1153, 1181, 1201, 1231, 1483, 1511, 1523, 1531, 1571, 1693, 1783, 1901, 1931, 2083, 2293, 2341, 2351, 2671, 2693, 2741
Offset: 1

Views

Author

James S. DeArmon, Jul 17 2024

Keywords

Examples

			5 is a term because 5, 5+48, and 5+96 are all prime.
		

Crossrefs

Programs

Formula

a(n) >> n log^3 n. - Charles R Greathouse IV, Jul 25 2024
Previous Showing 51-52 of 52 results.