OFFSET
1,1
COMMENTS
Conjecture: a(n) exists for every n >= 1. It is easy to see that this conjecture is equivalent to the well-known Collatz 3x+1 conjecture.
LINKS
PROG
(PARI)
A006519(n) = (1<<valuation(n, 2));
A159885(n) = { my(w=hammingweight(n), n = (n+n+1)); for(k=1, oo, n = f(n); if(hammingweight(n) <= w, return(k))); }; \\ Antti Karttunen, Sep 22 2018
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Vladimir Shevelev, Apr 25 2009, Apr 27 2009
EXTENSIONS
Edited by N. J. A. Sloane, May 03 2009
a(25) corrected, sequence extended by R. J. Mathar, May 15 2009
STATUS
approved