OFFSET
0,2
COMMENTS
Conjecture: for all n, a(n) != -1.
EXAMPLE
For n=3, the trajectory of 3 under map f is as follows and takes a(3) = 6 steps to reach 0: 3 -> 16 -> 5 -> 26 -> 8 -> 2 -> 0.
MAPLE
a:= proc(n) option remember; `if`(n=0, 0,
1+a(`if`(n::even, floor(n/3), 5*n+1)))
end:
seq(a(n), n=0..76); # Alois P. Heinz, Feb 22 2024
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Ya-Ping Lu, Feb 17 2024
STATUS
approved