Start with decimal expansion of n; if all digits have the same parity, stop; otherwise write down the number formed by the even digits and the number formed by the odd digits and add them; repeat.

A059717

Start with decimal expansion of n; if all digits have the same parity, stop; otherwise write down the number formed by the even digits and the number formed by the odd digits and add them; repeat.

Terms

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

External references