Number of 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.
A078719
Number of 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) =1a(1) =1a(2) =3a(3) =1a(4) =2a(5) =3a(6) =6a(7) =1a(8) =7a(9) =2a(10) =5a(11) =3a(12) =3a(13) =6a(14) =6a(15) =1a(16) =4a(17) =7a(18) =7a(19) =2a(20) =2a(21) =5a(22) =5a(23) =3a(24) =8a(25) =3a(26) =42a(27) =6a(28) =6a(29) =6
External references
- oeis: A078719