Start at (2n+1)/4 and iterate the map x -> x*ceiling(x); sequence gives number of steps for denominator to drop to 1 or 2; or -1 if this never happens.

A085785

Start at (2n+1)/4 and iterate the map x -> x*ceiling(x); sequence gives number of steps for denominator to drop to 1 or 2; or -1 if this never happens.

Terms

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

External references