For a decimal string s, let f(s) = decimal string ijk, where i = number of even digits in s, j = number of odd digits in s, k=i+j (see A171797). Start with s = decimal expansion of n; a(n) = number of applications of f needed to reach the string 123.

A100961

For a decimal string s, let f(s) = decimal string ijk, where i = number of even digits in s, j = number of odd digits in s, k=i+j (see A171797). Start with s = decimal expansion of n; a(n) = number of applications of f needed to reach the string 123.

Terms

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

External references