Number of steps to reach a square starting from n and iterating the map: x -> x*ceiling(sqrt(x))/floor(sqrt(x)) or zero if no square is reached.

A156344

Number of steps to reach a square starting from n and iterating the map: x -> x*ceiling(sqrt(x))/floor(sqrt(x)) or zero if no square is reached.

Terms

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

External references