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-10 of 34 results. Next

A350828 Number of prime octuplets with initial member (A065706) between 10^(n-1) and 10^n.

Original entry on oeis.org

0, 2, 0, 1, 1, 3, 3, 9, 28, 136, 541, 2936
Offset: 1

Views

Author

M. F. Hasler, Mar 01 2022

Keywords

Comments

"Between 10^(n-1) and 10^n" is equivalent to saying "with n (decimal) digits".
A prime octuplet is a sequence of 8 consecutive primes (p1, ..., p8) of minimal diameter p8 - p1 = 26.
Terms a(1)-a(12) computed from b-file a(1..18123) for A065706. Using Luhn's database, cf. LINKS, one can get 3 more terms.
So far, the last term of all the octuplets has the same number of digits as the initial term.

Examples

			a(1) = a(3) = 0 because there is no single-digit nor a 3-digit prime initial member of a prime octuplet.
a(2) = 2 because 11 and 17 are the only 2-digit members of A065706, i.e., primes to start a prime octuplet.
a(4) = a(5) = 1 because 1277 (resp. 88793) is the only prime with 4 (resp. 5) digits to start a prime octuplet.
Then there are a(6) = 3 six-digit primes, 113147, 284723 and 855713, which start a prime octuplet.
		

Crossrefs

Cf. A065706 (initial members p of prime octuplets (p, ..., p+26)), A022011, A022012, A022013 (idem, specifically for each of the three possible patterns).
Cf. A350825, A350826, A350827: similar for quintuplets, sextuplets and septuplets.

Programs

  • PARI
    (D(v)=v[^1]-v[^-1])( [setsearch(A065706,10^n,1) | n<-[0..12]] ) \\ where A065706 is a vector of at least 3660 terms of that sequence.

A022012 Initial members of prime octuplets (p, p+2, p+6, p+12, p+14, p+20, p+24, p+26).

Original entry on oeis.org

17, 1277, 113147, 2580647, 20737877, 58208387, 73373537, 76170527, 100658627, 134764997, 137943347, 165531257, 171958667, 224008217, 252277007, 294536147, 309740987, 311725847, 364154027, 408936947, 515447747, 521481197, 528272177, 619010297, 626927447, 682809977
Offset: 1

Views

Author

Keywords

Comments

All terms are congruent to 17 (modulo 30). - Matt C. Anderson, May 26 2015

Crossrefs

A065706 is the union of A022011, A022012 and A022013.
A346997(n) = a(10^n).

Programs

  • Magma
    [p: p in PrimesUpTo(4*10^8) | forall{p+r: r in [2,6,12,14,20,24,26] | IsPrime(p+r)}]; // Vincenzo Librandi, Oct 01 2015
    
  • Mathematica
    Select[Prime[Range[2 10^9]], Union[PrimeQ[# + {2, 6, 12, 14, 20, 24, 26}]] == {True} &] (* Vincenzo Librandi, Oct 01 2015 *)
  • PARI
    forprime(p=2, 10^30, if (isprime(p+2) && isprime(p+6) && isprime(p+12) && isprime(p+14) && isprime(p+20) && isprime(p+24) && isprime(p+26), print1(p", "))) \\ Altug Alkan, Oct 01 2015
  • Perl
    use ntheory ":all"; say for sieve_prime_cluster(1,1e10, 2,6,12,14,20,24,26); # Dana Jacobsen, Sep 30 2015
    

A022011 Initial members of prime octuplets (p, p+2, p+6, p+8, p+12, p+18, p+20, p+26).

Original entry on oeis.org

11, 15760091, 25658441, 93625991, 182403491, 226449521, 661972301, 910935911, 1042090781, 1071322781, 1170221861, 1394025161, 1459270271, 1712750771, 1742638811, 1935587651, 2048038451, 2397437501, 2799645461
Offset: 1

Views

Author

Keywords

Comments

All terms are congruent to 11 (modulo 210). - Matt C. Anderson, May 26 2015

References

  • Martin Gardner, The Last Recreations, Chapter 12: Strong Laws of Small Primes, Springer-Verlag, 1997, pp. 191-205, especially p. 197.
  • Martin Gardner, Patterns in primes are a clue to the strong law of small numbers, Mathematical Games column, Scientific American, (December, 1980), pp. 20ff.

Crossrefs

A065706 is the union of A022011, A022012 and A022013.
A346996(n) = a(10^n).

Programs

  • Magma
    [p: p in PrimesUpTo(4*10^8) | forall{p+r: r in [2,6,8,12,18,20,26] | IsPrime(p+r)}]; // Vincenzo Librandi, Oct 01 2015
    
  • Mathematica
    Select[Prime[Range[2 10^9]], Union[PrimeQ[# + {2, 6, 8, 12, 18, 20, 26}]] == {True} &] (* Vincenzo Librandi, Oct 01 2015 *)
  • PARI
    forprime(p=2, 10^30, if (isprime(p+2) && isprime(p+6) && isprime(p+8) && isprime(p+12) && isprime(p+18) && isprime(p+20) && isprime(p+26), print1(p", "))) \\ Altug Alkan, Oct 01 2015
  • Perl
    use ntheory ":all"; say for sieve_prime_cluster(1,1e10, 2,6,8,12,18,20,26); # Dana Jacobsen, Sep 30 2015
    

Extensions

Reference provided by Harvey P. Dale, May 10 2013
More terms from Matt C. Anderson, Dec 06 2013

A022013 Initial members of prime octuplets (p, p+6, p+8, p+14, p+18, p+20, p+24, p+26).

Original entry on oeis.org

88793, 284723, 855713, 1146773, 6560993, 69156533, 74266253, 218033723, 261672773, 302542763, 964669613, 1340301863, 1400533223, 1422475913, 1837160183, 1962038783, 2117861723, 2249363093, 2272018733, 2558211563
Offset: 1

Views

Author

Keywords

Comments

All terms are congruent to 173 (modulo 210). - Matt C. Anderson, May 26 2015

Crossrefs

A065706 is the union of A022011, A022012 and A022013.
A346998(n) = a(10^n).

Programs

  • Magma
    [p: p in PrimesUpTo(2*10^8) | forall{p+r: r in [6,8,14,18,20,24,26] | IsPrime(p+r)}]; // Vincenzo Librandi, Sep 30 2015
    
  • Mathematica
    Select[Prime[Range[200000]], Union[PrimeQ[# + {6, 8, 14, 18, 20, 24, 26}]] == {True} &] (* Vincenzo Librandi, Sep 30 2015 *)
    Select[Prime[Range[125*10^6]],AllTrue[#+{6,8,14,18,20,24,26},PrimeQ]&] (* Harvey P. Dale, Jul 21 2025 *)
  • PARI
    forprime(p=2, 1e30, if (isprime(p+6) && isprime(p+8) && isprime(p+14) && isprime(p+18) && isprime(p+20) && isprime(p+24) && isprime(p+26) , print1(p", "))) \\ Altug Alkan, Sep 30 2015
  • Perl
    use ntheory ":all"; say for sieve_prime_cluster(1,1e10, 6,8,14,18,20,24,26); # Dana Jacobsen, Sep 30 2015
    

Formula

a(n) = 210*A357890(n) + 173. - Hugo Pfoertner, Nov 18 2022

A257124 Initial members of prime septuplets.

Original entry on oeis.org

11, 5639, 88799, 165701, 284729, 626609, 855719, 1068701, 1146779, 6560999, 7540439, 8573429, 11900501, 15760091, 17843459, 18504371, 19089599, 21036131, 24001709, 25658441, 39431921, 42981929, 43534019, 45002591, 67816361, 69156539, 74266259, 79208399, 80427029, 84104549, 86818211, 87988709, 93625991, 124066079
Offset: 1

Views

Author

Tim Johannes Ohrtmann, Apr 16 2015

Keywords

Crossrefs

Initial members of all of the first prime k-tuplets:
twin primes: A001359.
prime triples: A007529 out of A022004, A022005.
prime quadruplets: A007530.
prime 5-tuples: A086140 out of A022007, A022006.
prime sextuplets: A022008.
prime septuplets: this sequence out of A022009, A022010.
prime octuplets: A065706 out of A022011, A022012, A022013.
prime nonuplets: A257125 out of A022547, A022548, A022545, A022546.
prime decaplets: A257127 out of A027569, A027570.
prime 11-tuplets: A257129 out of A213646, A213647.
prime 12-tuplets: A257131 out of A213601, A213645.
prime 13-tuplets: A257135 out of A214947, A257137, A257138, A257139, A257140, A257141.
prime 14-tuplets: A257166 out of A257167, A257168.
prime 15-tuplets: A257169 out of A257304, A257305, A257306, A257307.
prime 16-tuplets: A257308 out of A257369, A257370.
prime 17-tuplets: A257373 out of A257374, A257375, A257376, A257377.
Cf. A343637 (distance from 10^n to the next septuplet).
Cf. A100418.

Formula

Disjoint union of A022009 and A022010. - M. F. Hasler, Aug 04 2021

A257125 Initial members of prime 9-tuplets (or nonuplets).

Original entry on oeis.org

7, 11, 13, 17, 1277, 88789, 113143, 113147, 855709, 74266249, 182403491, 226449521, 252277007, 408936947, 521481197, 626927443, 910935911, 964669609, 1042090781, 1116452627, 1209950867, 1422475909, 1459270271, 1645175087, 2117861719, 2335215973, 2558211559, 2843348351, 2873599429, 2966003057, 3447123283, 3947480417
Offset: 1

Views

Author

Tim Johannes Ohrtmann, Apr 16 2015

Keywords

Comments

Primes prime(m) such that prime(m+8) = prime(m) + 30. - Zak Seidov, Jul 06 2015

Crossrefs

Initial members of all of the first prime k-tuplets:
twin primes: A001359.
prime triples: A007529 out of A022004, A022005.
prime quadruplets: A007530.
prime 5-tuples: A086140 out of A022007, A022006.
prime sextuplets: A022008.
prime septuplets: A257124 out of A022009, A022010.
prime octuplets: A065706 out of A022011, A022012, A022013.
prime nonuplets: this sequence out of A022547, A022548, A022545, A022546.
prime decaplets: A257127 out of A027569, A027570.
prime 11-tuplets: A257129 out of A213646, A213647.
prime 12-tuplets: A257131 out of A213601, A213645.
prime 13-tuplets: A257135 out of A214947, A257137, A257138, A257139, A257140, A257141.
prime 14-tuplets: A257166 out of A257167, A257168.
prime 15-tuplets: A257169 out of A257304, A257305, A257306, A257307.
prime 16-tuplets: A257308 out of A257369, A257370.
prime 17-tuplets: A257373 out of A257374, A257375, A257376, A257377.

Programs

  • Magma
    [NthPrime(n): n in [0..2*10^4] | NthPrime(n+8) eq (NthPrime(n) + 30)]; // Vincenzo Librandi, Jul 08 2015
  • Mathematica
    {p, q, r, s, t, u, v, w, x} = Prime@ Range@ 9; lst = {}; While[p < 1000000001, If[p + 30 == x, AppendTo[lst, p]; Print@ p]; {p, q, r, s, t, u, v, w, x} = {q, r, s, t, u, v, w, x, NextPrime@ x}]; lst (* Robert G. Wilson v, Jul 06 2015 *)
    Select[Partition[Prime[Range[5 10^6]],9,1],#[[1]]+30==#[[9]]&][[;;,1]] (* The program generates the first 10 terms of the sequence. To generate more, increase the Range constant. *) (* Harvey P. Dale, Jul 01 2024 *)
  • PARI
    main(size)=v=vector(size); i=0; m=1; while(iAnders Hellström, Jul 08 2015
    

A257127 Initial members of prime 10-tuplets (or decaplets).

Original entry on oeis.org

11, 9853497737, 21956291867, 22741837817, 33081664151, 83122625471, 164444511587, 179590045487, 217999764107, 231255798857, 242360943257, 294920291201, 573459229151, 663903555851, 666413245007, 688697679401, 696391309697, 730121110331, 867132039857, 974275568237, 976136848847, 1002263588297
Offset: 1

Views

Author

Tim Johannes Ohrtmann, Apr 16 2015

Keywords

Crossrefs

Initial members of all of the first prime k-tuplets:
twin primes: A001359.
prime triples: A007529 out of A022004, A022005.
prime quadruplets: A007530.
prime quintuplets: A086140 out of A022007, A022006.
prime sextuplets: A022008.
prime septuplets: A257124 out of A022009, A022010.
prime octuplets: A065706 out of A022011, A022012, A022013.
prime nonuplets: A257125 out of A022547, A022548, A022545, A022546.
prime decaplets: this sequence out of A027569, A027570.
prime 11-tuplets: A257129 out of A213646, A213647.
prime 12-tuplets: A257131 out of A213601, A213645.
prime 13-tuplets: A257135 out of A214947, A257137, A257138, A257139, A257140, A257141.
prime 14-tuplets: A257166 out of A257167, A257168.
prime 15-tuplets: A257169 out of A257304, A257305, A257306, A257307.
prime 16-tuplets: A257308 out of A257369, A257370.
prime 17-tuplets: A257373 out of A257374, A257375, A257376, A257377.

A257129 Initial members of prime 11-tuples.

Original entry on oeis.org

11, 1418575498573, 2118274828903, 4396774576273, 6368171154193, 6953798916913, 7908189600581, 10527733922591, 12640876669691, 27899359258003, 28138953913303, 34460918582323, 38545620633251, 40362095929003, 42023308245613, 43564522846961, 44058461657443, 60268613366231, 60596839933361, 61062361183903, 71431649320301
Offset: 1

Views

Author

Tim Johannes Ohrtmann, Apr 16 2015

Keywords

Comments

It appears that this lists only starting primes for one of the A083409(11) = 2 constellations with minimal diameter A008407(11) = 36, i.e., the union of A213646 and A213647, while there are other prime 11-tuples with larger diameter. - M. F. Hasler, Dec 03 2018

Crossrefs

Initial members of all of the first prime k-tuples:
twin primes: A001359.
prime triples: A007529 out of A022004, A022005.
prime quadruples: A007530.
prime quintuples: A086140 out of A022007, A022006.
prime sextuples: A022008.
prime septuples: A257124 out of A022009, A022010.
prime octuples: A065706 out of A022011, A022012, A022013.
prime nonuples: A257125 out of A022547, A022548, A022545, A022546.
prime 10-tuples: A257127 out of A027569, A027570.
prime 11-tuples: this sequence out of A213646, A213647.
prime 12-tuples: A257131 out of A213601, A213645.
prime 13-tuples: A257135 out of A214947, A257137, A257138, A257139, A257140, A257141.
prime 14-tuples: A257166 out of A257167, A257168.
prime 15-tuples: A257169 out of A257304, A257305, A257306, A257307.
prime 16-tuples: A257308 out of A257369, A257370.
prime 17-tuples: A257373 out of A257374, A257375, A257376, A257377.

A257131 Initial members of prime 12-tuplets.

Original entry on oeis.org

11, 1418575498567, 27899359257997, 34460918582317, 76075560855367, 186460616596327, 218021188549237, 234280497145537, 282854319391717, 345120905374087, 346117552180627, 380284918609481, 437163765888581, 604439135284057, 701889794782061, 727417501795057, 980125031081081, 1041814617748747, 1090754719898917, 1277156391416021, 1487854607298791
Offset: 1

Views

Author

Tim Johannes Ohrtmann, Apr 16 2015

Keywords

Crossrefs

Initial members of all of the first prime k-tuplets:
twin primes: A001359.
prime triples: A007529 out of A022004, A022005.
prime quadruplets: A007530.
prime 5-tuples: A086140 out of A022007, A022006.
prime sextuplets: A022008.
prime septuplets: A257124 out of A022009, A022010.
prime octuplets: A065706 out of A022011, A022012, A022013.
prime nonuplets: A257125 out of A022547, A022548, A022545, A022546.
prime decaplets: A257127 out of A027569, A027570.
prime 11-tuplets: A257129 out of A213646, A213647.
prime 12-tuplets: this sequence out of A213601, A213645.
prime 13-tuplets: A257135 out of A214947, A257137, A257138, A257139, A257140, A257141.
prime 14-tuplets: A257166 out of A257167, A257168.
prime 15-tuplets: A257169 out of A257304, A257305, A257306, A257307.
prime 16-tuplets: A257308 out of A257369, A257370.
prime 17-tuplets: A257373 out of A257374, A257375, A257376, A257377.

A257135 Initial members of prime 13-tuplets.

Original entry on oeis.org

11, 13, 10527733922579, 186460616596321, 1707898733581273, 3266590043460823, 4289907938811613, 4422879865247923, 5693002600430263, 7582919852522851, 7697168877290909, 7933248530182091, 10071192314217869, 10907318641689703, 11987120084474369, 15991086371740199, 20475715985020181, 21817283854511261, 21817283854511263, 22443709342850669, 28561589689237439, 31979851757518501
Offset: 1

Views

Author

Tim Johannes Ohrtmann, Apr 16 2015

Keywords

Crossrefs

Initial members of all of the first prime k-tuplets:
twin primes: A001359.
prime triples: A007529 out of A022004, A022005.
prime quadruplets: A007530.
prime 5-tuples: A086140 out of A022007, A022006.
prime sextuplets: A022008.
prime septuplets: A257124 out of A022009, A022010.
prime octuplets: A065706 out of A022011, A022012, A022013.
prime nonuplets: A257125 out of A022547, A022548, A022545, A022546.
prime decaplets: A257127 out of A027569, A027570.
prime 11-tuplets: A257129 out of A213646, A213647.
prime 12-tuplets: A257131 out of A213601, A213645.
prime 13-tuplets: this sequence out of A214947, A257137, A257138, A257139, A257140, A257141.
prime 14-tuplets: A257166 out of A257167, A257168.
prime 15-tuplets: A257169 out of A257304, A257305, A257306, A257307.
prime 16-tuplets: A257308 out of A257369, A257370.
prime 17-tuplets: A257373 out of A257374, A257375, A257376, A257377.
Showing 1-10 of 34 results. Next