Number of steps required to reach (2^n)-2 from 2^(n+1)-2 by iterating the map x -> x - (number of runs in binary representation of x).

A255071

Number of steps required to reach (2^n)-2 from 2^(n+1)-2 by iterating the map x -> x - (number of runs in binary representation of x).

Terms

    a(0) =1a(1) =2a(2) =3a(3) =5a(4) =9a(5) =16a(6) =29a(7) =53a(8) =97a(9) =178a(10) =328a(11) =608a(12) =1134a(13) =2126a(14) =4001a(15) =7552a(16) =14292a(17) =27115a(18) =51565a(19) =98274a(20) =187657a(21) =358982a(22) =687944a(23) =1320793a(24) =2540702a(25) =4896919a(26) =9456143a(27) =18291753a(28) =35435799a(29) =68731296

External references