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!)
A039639 Fixed point of "k -> k/2 or (k-1)/2 until result is prime", starting with prime(n)+1. 4
3, 2, 3, 2, 3, 7, 2, 5, 3, 7, 2, 19, 5, 11, 3, 13, 7, 31, 17, 2, 37, 5, 5, 11, 3, 3, 13, 13, 13, 7, 2, 2, 17, 17, 37, 19, 79, 41, 5, 43, 11, 11, 3, 97, 3, 3, 53, 7, 7, 7, 29, 7, 7, 31, 2, 2, 67, 17, 139, 17, 71, 73, 19, 19, 157, 79, 83, 5, 43, 43, 11, 11, 23, 23, 47, 3, 97, 199, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
see A039634.
PROG
(Haskell)
a039639 = until ((== 1) . a010051) (flip div 2) . (+ 1) . a000040
-- Reinhard Zumkeller, Nov 17 2013
CROSSREFS
Sequence in context: A018837 A097618 A368276 * A023509 A115041 A039641
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by Reinhard Zumkeller, Nov 17 2013
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 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)