a(n) = the number of steps needed to reach the final value of n via repeated interpretation of n as a base b+1 number where b is the largest digit of n.

A091048

a(n) = the number of steps needed to reach the final value of n via repeated interpretation of n as a base b+1 number where b is the largest digit of n.

Terms

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

External references