Number of steps to reach 0 starting with n and using the iterated process : x -> x - (number of 1's in binary representation of x).

A071542

Number of steps to reach 0 starting with n and using the iterated process : x -> x - (number of 1's in binary representation of x).

Terms

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

External references