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!)
A332452 Starting from sigma(n), number of halving steps to reach 1 in '3x+1' problem, or -1 if this never happens. 5
0, 5, 2, 11, 6, 7, 3, 12, 7, 14, 7, 13, 12, 8, 8, 67, 14, 23, 6, 7, 5, 15, 8, 14, 67, 7, 7, 14, 13, 16, 5, 68, 9, 71, 9, 59, 15, 14, 14, 13, 7, 10, 12, 8, 24, 16, 9, 69, 22, 13, 16, 18, 71, 15, 16, 15, 8, 13, 14, 9, 68, 10, 10, 31, 8, 17, 11, 69, 10, 17, 16, 76, 16, 23, 69, 12, 10, 9, 8, 14, 61, 69, 8, 16, 72, 20, 15, 14, 13, 16, 15, 9, 7, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A006666(A000203(n)).
a(n) = A332209(n) - A332453(n).
PROG
(PARI)
A006666(n) = { my(t); while(n>1, if(n%2, n=3*n+1, n>>=1; t++)); (t); }; \\ From A006666
A332452(n) = A006666(sigma(n));
CROSSREFS
Sequence in context: A074642 A194034 A163257 * A176624 A131784 A302773
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 16 2020
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 25 06:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)