login
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
OFFSET
1,1
LINKS
MATHEMATICA
see A039634.
PROG
(Haskell)
a039639 = until ((== 1) . a010051) (flip div 2) . (+ 1) . a000040
-- Reinhard Zumkeller, Nov 17 2013
CROSSREFS
KEYWORD
nonn
EXTENSIONS
Offset corrected by Reinhard Zumkeller, Nov 17 2013
STATUS
approved