login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A059764 Initial (unsafe) primes of Cunningham chains of first type with length exactly 5. Primes in A059453 which survive as primes just four "2p+1 iterations", forming chains of exactly 5 terms. 13
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Chris Caldwell's Prime Glossary, Cunningham chains.
FORMULA
{(p-1)/2, p, 2p+1, 4p+3, 8p+7, 16p+15, 32p+31} = {nonprime, prime, prime, prime, prime, prime, composite}
EXAMPLE
2 is here because (2-1)/2=1/2 and 32*2+31=95 are not primes, while 2,5,11,23,47 gives a first-kind-Cu5-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).
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 *)
CROSSREFS
Sequence in context: A094213 A321382 A153924 * A285694 A306907 A052427
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 20 2001
EXTENSIONS
Definition corrected by Alexandre Wajnberg, Aug 31 2005
Entry revised by N. J. A. Sloane, Apr 01 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 12:28 EDT 2024. Contains 371969 sequences. (Running on oeis4.)