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 12 results. Next

A059764 Initial (unsafe) primes of Cunningham chains of first type with length exactly 5. Primes in A059453 that survive as primes just four "2p+1 iterations", forming chains of exactly 5 terms.

Original entry on oeis.org

2, 53639, 53849, 61409, 66749, 143609, 167729, 186149, 206369, 268049, 296099, 340919, 422069, 446609, 539009, 594449, 607319, 658349, 671249, 725009, 775949, 812849, 819509, 926669, 1008209, 1092089, 1132949, 1271849
Offset: 1

Views

Author

Labos Elemer, Feb 20 2001

Keywords

Comments

Primes p such that {(p-1)/2, p, 2p+1, 4p+3, 8p+7, 16p+15, 32p+31} = {nonprime, prime, prime, prime, prime, prime, composite}.

Examples

			2 is here because (2-1)/2 = 1/2 and 32*2+31 = 95 are not primes, while 2, 5, 11, 23, and 47 give a first-kind Cunningham chain of 5 primes which cannot be continued.
53639 is here because through <2p+1>, 53639 -> 107279 -> 214559 -> 429119 -> 858239 and the chain ends here (with this operator).
		

Crossrefs

Programs

  • Mathematica
    l5Q[n_]:=Module[{a=PrimeQ[(n-1)/2],b=PrimeQ[ NestList[2#+1&,n,5]]}, Join[{a},b]=={False,True,True,True,True,True,False}]; Select[Range[ 1300000],l5Q] (* Harvey P. Dale, Oct 14 2012 *)

Extensions

Definition corrected by Alexandre Wajnberg, Aug 31 2005
Entry revised by N. J. A. Sloane, Apr 01 2006

A059766 Initial (unsafe) primes of Cunningham chains of first type with length exactly 6.

Original entry on oeis.org

89, 63419, 127139, 405269, 810809, 1069199, 1178609, 1333889, 1598699, 1806089, 1958249, 2606069, 2848949, 3241289, 3339989, 3784199, 3962039, 4088879, 4444829, 4664249, 4894889, 4897709, 5132999, 5215499, 5238179, 6026309, 6059519, 6088529, 6490769, 6676259
Offset: 1

Views

Author

Labos Elemer, Feb 21 2001

Keywords

Comments

Special terms of A059453. Not identical to A023330 of which 1122659, 2164229, 2329469, ..., etc. are omitted since they have exact length 7 or larger.
Unsafe primes starting complete chains of length 6.

Examples

			89 is a term because (89-1)/2 = 44 and 64*89+63 = 5759 = 13*443 are composites, while 89, 179, 359, 719, 1439, and 2879 are primes.
1122659 is not a term because it initiates a chain of length 7.
4658939 is not a term because (4658939-1)/2 = 2329469 is prime. - _Sean A. Irvine_, Oct 09 2022
		

Crossrefs

Extensions

Entry revised by N. J. A. Sloane Apr 01 2006
a(12) onward corrected and extended by Sean A. Irvine, Oct 09 2022

A110024 Smallest primes starting a complete three iterations Cunningham chain of the second kind.

Original entry on oeis.org

2131, 2311, 6211, 7411, 10321, 18121, 22531, 23011, 24391, 29671, 31771, 35311, 41491, 46411, 54601, 56311, 60331, 61381, 67651, 78031, 85381, 96931, 99871, 109471, 126001, 134731, 156691, 162451, 165331, 170851, 185131, 205171, 224401
Offset: 1

Views

Author

Alexandre Wajnberg, Sep 03 2005

Keywords

Comments

The word "complete" indicates each chain is exactly 4 primes long (i.e., the chain cannot be a subchain of another one). Other sequences give also primes included in longer chains ("starting" them or not).
Terms computed by Gilles Sadowski.

Examples

			2311 is here because, through the operator <*2-1> of the chains of the second kind,
2311 -> 4621 -> 9241 -> 18481 and the chain ends here (with this operator).
		

Crossrefs

Extensions

Edited and extended by R. J. Mathar, May 08 2009

A110022 Primes starting a Cunningham chain of the second kind of length 5.

Original entry on oeis.org

1531, 6841, 15391, 44371, 57991, 83431, 105871, 145021, 150151, 199621, 209431, 212851, 231241, 242551, 291271, 319681, 346141, 377491, 381631, 451411, 481021, 506791, 507781, 512821, 537811, 588871, 680431, 727561, 749761, 782911, 787711
Offset: 1

Views

Author

Alexandre Wajnberg, Sep 03 2005

Keywords

Comments

The definition indicates that each chain is exactly 5 primes long (i.e. the chain cannot be a subchain of a longer one). That's why this sequence is different from A057328 which gives also primes included in longer chains (thus not "starting" them), as 16651, starting a seven primes chain, or 33301, second prime of the same seven primes chain.

Examples

			6841 is here because: 6841 through <2p-1> -> 13681-> 27361-> 54721-> 109441 and the chain ends here since 2*109441-1=13*113*149 is composite.
		

Crossrefs

Programs

  • Maple
    isA110022 := proc(p) local pitr,itr ; if isprime(p) then if isprime( (p+1)/2 ) then RETURN(false) ; else pitr := p ; for itr from 1 to 4 do pitr := 2*pitr-1 ; if not isprime(pitr) then RETURN(false) ; fi ; od: pitr := 2*pitr-1 ; if isprime(pitr) then RETURN(false) ; else RETURN(true) ; fi ; fi ; else RETURN(false) ; fi ; end: for i from 2 to 200000 do p := ithprime(i) ; if isA110022(p) then printf("%d,",p) ; fi ; od: # R. J. Mathar, Jul 23 2008

Extensions

Edited and extended by R. J. Mathar, Jul 23 2008

A110056 Least prime that ends a complete Cunningham chain (of the first kind) of length n.

Original entry on oeis.org

13, 7, 167, 4079, 47, 2879, 71850239, 2444789759, 21981381119, 13357981992959, 681004115066879, 1136001594224639, 16756459239477534719, 781558105952602767359
Offset: 1

Views

Author

Alexandre Wajnberg, Sep 04 2005

Keywords

Comments

"Complete" means that this chain is not part of a longer Cunningham chain of the first kind.
Next term is greater than 4*10^17.
A005602(13)-> 8181864863026139 -> ... -> a(13) = 16756459239477534719. [From Washington Bomfim, Oct 21 2009]

Examples

			41->83->167 is a Cunningham chain of the first kind. It is complete because neither (41-1)/2 nor 2*167+1 is prime. It is the first such chain of three primes, so a(3) = 167.
		

Crossrefs

Cf. A110059 for Cunningham chains of the second kind.
Cf. A005602 [From Washington Bomfim, Oct 21 2009]

Extensions

Edited and extended by David Wasserman, Aug 08 2006
a(13) and a(14) from Washington Bomfim, Oct 21 2009

A110025 Smallest primes starting a complete three iterations Cunningham chain of the first or second kind.

Original entry on oeis.org

509, 1229, 1409, 2131, 2311, 2699, 3539, 6211, 6449, 7411, 10321, 10589, 11549, 11909, 12119, 17159, 18121, 19709, 19889, 22349, 22531, 23011, 24391, 26189, 27479, 29671, 30389, 31771, 35311, 41491, 43649, 46411, 54601, 55229, 56311
Offset: 1

Views

Author

Alexandre Wajnberg, Sep 03 2005

Keywords

Comments

Terms computed by Gilles Sadowski.

Examples

			1409 is here because, through the operator <2p+1> for chains of the first kind, 1409 -> 2819 -> 5639 -> 11279 and the chain ends here.
2131 is here because, through the operator <2p-1> for chains of the second kind, 2131 -> 4261 -> 8521 -> 17041 and the chain ends here.
		

Crossrefs

Formula

Union of A059763 and A110024. [R. J. Mathar, May 08 2009]

Extensions

Edited by R. J. Mathar, May 08 2009

A110027 Smallest primes starting a complete four iterations Cunningham chain of the first or second kind.

Original entry on oeis.org

2, 1531, 6841, 15391, 44371, 53639, 53849, 57991, 61409, 66749, 83431, 105871, 143609, 145021, 150151, 167729, 186149, 199621, 206369, 209431, 212851, 231241, 242551, 268049, 291271, 296099, 319681, 340919, 346141, 377491, 381631, 422069
Offset: 1

Views

Author

Alexandre Wajnberg, Sep 03 2005

Keywords

Comments

The word "complete" indicates each chain is exactly 5 primes long (i.e., the chain cannot be a subchain of another one).
Terms computed by Gilles Sadowski.

Crossrefs

Formula

Union of A059764 and A110022 . [R. J. Mathar, May 08 2009]

Extensions

Edited and extended by R. J. Mathar, May 08 2009

A236443 Primes which start a Cunningham chain of length 4 where every entity of the chain is smallest of twin prime.

Original entry on oeis.org

253679, 1138829, 58680929, 90895769, 124253009, 269877299, 392071679, 613813199, 1014342209, 1277981669, 1413015029, 1453978679, 1753585679, 2919331379, 3424037189, 3538972709, 4025789039, 4175762009, 4362439199, 4843208789, 5708418869, 5795508599
Offset: 1

Views

Author

Abhiram R Devesh, Jan 26 2014

Keywords

Comments

a(n) generates a Cunningham chain of length 4 and a_n(i) + 2 is also prime for i = 1,2,3 and 4.
This sequence is infinite under Dickson's conjecture. - Charles R Greathouse IV, Jan 29 2014
Terms are congruent to -1 mod 210. - David Radcliffe, Aug 06 2025

Examples

			a(1)=253679, with associated Cunningham chain 253679, 507359, 1014719, 2029439, all of which are the lower member of a pair of twin primes.
		

Crossrefs

Programs

  • PARI
    is(n)=n%210==209 && isprime(n) && isprime(n+2) && isprime(2*n+1) && isprime(2*n+3) && isprime(4*n+3) && isprime(4*n+5) && isprime(8*n+7) && isprime(8*n+9)
    forstep(n=419,1e9,[1470, 420, 420],if(is(n),print(n))) \\ Charles R Greathouse IV, Jan 29 2014
  • Python
    from sympy import isprime
    def is_A236443(n):
        return (isprime(n) and isprime(n+2) and isprime(2*n+1) and isprime(2*n+3) and
                isprime(4*n+3) and isprime(4*n+5) and isprime(8*n+7) and isprime(8*n+9))
    print([n for n in range(209, 10**9, 210) if is_A236443(n)]) # David Radcliffe, Aug 06 2025
    

Extensions

More terms from T. D. Noe, Jan 29 2014

A110089 Smallest prime beginning (through <*2+1> or/and <*2-1>) a complete Cunningham chain (of the first or the second kind) of length n.

Original entry on oeis.org

11, 3, 2, 509, 2, 89, 16651, 15514861, 85864769, 26089808579, 665043081119, 554688278429, 758083947856951, 95405042230542329, 69257563144280941
Offset: 1

Views

Author

Alexandre Wajnberg, Sep 04 2005

Keywords

Comments

The word "complete" indicates each chain is exactly n primes long for the operator in function (i.e. the chain cannot be a subchain of another one); and the first and/or last term may be involved in a chain of the other kind (i.e. the chain may be connected to another one). a(1)-a(8) computed by Gilles Sadowski.

Examples

			a(1)=11 because 2, 3, 5 and 7 are included in longer chains than one prime long; and 11 (although included in a <2p+1> chain) has no prime connection through <2p-1>.
a(2)=3 because 3 begins (through 2p+1>) the first complete two primes chain: 3-> 7 (even if 3 and 7 are also part of two others chains, but through <2p-1>).
a(3)=2 because (although 2 begins also a five primes chain through <2p+1>) it begins, through <2p-1>, the first complete three primes chain encountered: 2->3->5.
		

Crossrefs

Formula

a(n) = min(A005602(n), A005603(n)). - R. J. Mathar, Jul 23 2008

Extensions

a(8)-a(13) via A005602, A005603 from R. J. Mathar, Jul 23 2008
a(14)-a(15) via A005602, A005603 from Jason Yuen, Sep 03 2024

A110092 Smallest prime ending (through <*2+1> or <*2-1> separately) a complete Cunningham chain (of the first or the second kind) of length n.

Original entry on oeis.org

17, 59, 73, 4079, 47, 2879, 1065601
Offset: 1

Views

Author

Alexandre Wajnberg, Sep 04 2005

Keywords

Comments

The word "complete" indicates each chain is exactly n primes long for the operator in function (i.e. the chain cannot be a subchain of another one); and the first and/or last term may not be involved in a chain of the other kind (i.e. the chain may not be connected to another one).

Examples

			a(1)=17 because 2, 3, 5, 7, 11 and 13 are part of longer chains whatever the operator; 17 is the first completely isolated prime.
a(2)=59 because it ends the first two primes chain not connected to another one: 29->59.
		

Crossrefs

Extensions

Terms computed by Gilles Sadowski.
Showing 1-10 of 12 results. Next