Start with n, successively subtract each digit of the resulting sequence (the digits of a negative term being the negatives of that term's digits): a(n) is the number of steps needed to get to the first zero.

A208059

Start with n, successively subtract each digit of the resulting sequence (the digits of a negative term being the negatives of that term's digits): a(n) is the number of steps needed to get to the first zero.

Terms

    a(0) =0a(1) =1a(2) =1a(3) =1a(4) =1a(5) =1a(6) =1a(7) =1a(8) =1a(9) =1a(10) =3a(11) =48a(12) =14a(13) =76793a(14) =385a(15) =12a(16) =232a(17) =98a(18) =24a(19) =4a(20) =6a(21) =10952a(22) =8a(23) =575702095a(24) =18a(25) =82a(26) =39a(27) =16a(28) =7a(29) =6

External references