For n >= 1, let f(2n+1) = (3n+2)/A006519(3n+2) and let f^k be the k-th iteration of f. Then a(n) is the least k such that A000120(f^k(2n+1)) <= A000120(n).

A159885

For n >= 1, let f(2n+1) = (3n+2)/A006519(3n+2) and let f^k be the k-th iteration of f. Then a(n) is the least k such that A000120(f^k(2n+1)) <= A000120(n).

Terms

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

External references