OFFSET
1,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
see A039636.
PROG
(Haskell)
a039642 1 = 1
a039642 n = snd $ until ((== 1) . a010051 . fst)
(\(x, i) -> (x `div` 2 , i + 1)) (a000040 n - 1, 1)
-- Reinhard Zumkeller, Nov 17 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by Reinhard Zumkeller, Nov 17 2013
STATUS
approved