Define a map f by f(0) = f(1) = 0, otherwise f(k) = A087712(k); then a(n) is the number of steps for the trajectory of n under repeated iteration of f to "terminate".

A156055

Define a map f by f(0) = f(1) = 0, otherwise f(k) = A087712(k); then a(n) is the number of steps for the trajectory of n under repeated iteration of f to "terminate".

Terms

    a(0) =1a(1) =2a(2) =3a(3) =6a(4) =4a(5) =30a(6) =7a(7) =54a(8) =3a(9) =32a(10) =5a(11) =29a(12) =31a(13) =0a(14) =3a(15) =19a(16) =8a(17) =112a(18) =55a(19) =15a(20) =27a(21) =3a(22) =3a(23) =26a(24) =1a(25) =20a(26) =223a(27) =102a(28) =33a(29) =13

External references