Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078683
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078683 Start with n; iterate the process x -> 2x-1 until reach a prime. Sequence gives primes reached. +0
1
3, 5, 7, 17, 11, 13, 29, 17, 19, 41, 23, 97, 53, 29, 31, 257, 137, 37, 1217, 41, 43, 89, 47, 97, 101, 53, 109, 113, 59, 61, 7937, 257, 67, 137, 71, 73, 149, 1217, 79, 641, 83, 337, 173, 89, 181, 11777 (list; graph; listen)
OFFSET

2,1

PROGRAM

(PARI) a(n)=if(n<0, 0, s=n; c=1; while(isprime(2*s-1)==0, s=2*s-1; c++); 2*s-1)

CROSSREFS

Adjacent sequences: A078680 A078681 A078682 this_sequence A078684 A078685 A078686

Sequence in context: A010070 A132445 A070846 this_sequence A099863 A112092 A031441

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Dec 17 2002

EXTENSIONS

Next term is 1487939695262196876907983166454197495251350196192890428923003345454869706240895712896623468784438158657419591298913094265537812046389415279164757669092989298186306341246574002177

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 5 16:50 EDT 2008. Contains 144613 sequences.


AT&T Labs Research