Number of steps for trajectory of n to reach 1 under the map that sends x -> x/3 if x mod 3 = 0, x -> x+3-(x mod 3) if x is not 0 mod 3 (for a 2nd time when n starts at 1).

A061436

Number of steps for trajectory of n to reach 1 under the map that sends x -> x/3 if x mod 3 = 0, x -> x+3-(x mod 3) if x is not 0 mod 3 (for a 2nd time when n starts at 1).

Terms

    a(0) =2a(1) =2a(2) =1a(3) =4a(4) =4a(5) =3a(6) =3a(7) =3a(8) =2a(9) =6a(10) =6a(11) =5a(12) =6a(13) =6a(14) =5a(15) =5a(16) =5a(17) =4a(18) =5a(19) =5a(20) =4a(21) =5a(22) =5a(23) =4a(24) =4a(25) =4a(26) =3a(27) =8a(28) =8a(29) =7

External references