Integer part of the ratio of even to odd terms among n, f(n), f(f(n)), ...., 1 for the Collatz function (that is, until reaching "1" for the first time), or -1 if 1 is never reached.
A078720
Integer part of the ratio of even to odd terms among n, f(n), f(f(n)), ...., 1 for the Collatz function (that is, until reaching "1" for the first time), or -1 if 1 is never reached.
Terms
- a(0) =0a(1) =1a(2) =1a(3) =2a(4) =2a(5) =2a(6) =1a(7) =3a(8) =1a(9) =2a(10) =2a(11) =2a(12) =2a(13) =2a(14) =2a(15) =4a(16) =2a(17) =2a(18) =2a(19) =3a(20) =3a(21) =2a(22) =2a(23) =2a(24) =2a(25) =2a(26) =1a(27) =2a(28) =2a(29) =2
External references
- oeis: A078720