Number of times an evil number is encountered when iterating from 2^(n+1)-2 to (2^n)-2 with the map x -> x - (number of runs in binary representation of x).

A255063

Number of times an evil number is encountered when iterating from 2^(n+1)-2 to (2^n)-2 with the map x -> x - (number of runs in binary representation of x).

Terms

    a(0) =1a(1) =0a(2) =1a(3) =2a(4) =2a(5) =5a(6) =7a(7) =14a(8) =24a(9) =52a(10) =84a(11) =173a(12) =290a(13) =586a(14) =1038a(15) =2025a(16) =3740a(17) =7177a(18) =13498a(19) =25832a(20) =49027a(21) =93918a(22) =179291a(23) =344128a(24) =660058a(25) =1270590a(26) =2447944a(27) =4728357a(28) =9145214a(29) =17718039

External references