OFFSET
0,2
COMMENTS
Are the unique values a subset of A006884? - Ralf Stephan, May 27 2013
This sequence is important for the computation of Collatz numbers. It shows that using 32-bit integers, only numbers less than 159487 can have their Collatz trajectory computed.
LINKS
T. D. Noe, Table of n, a(n) for n = 0..63
Eric Roosendaal, 3x+1 path records
MAPLE
b:= proc(n) option remember; `if`(n=1, 1,
max(n, b(`if`(n::even, n/2, 3*n+1))))
end:
a:= proc(n) option remember; local i, t; t:=2^n;
for i while b(i)<t do od: i
end:
seq(a(n), n=0..38); # Alois P. Heinz, Sep 25 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
T. D. Noe, Feb 19 2013
EXTENSIONS
a(1) corrected by Kevin Ge, Sep 25 2024
STATUS
approved