a(n) = n+1 minus the greatest number of 1's in the binary representations of primes between 2^n and 2^(n+1).

A092111

a(n) = n+1 minus the greatest number of 1's in the binary representations of primes between 2^n and 2^(n+1).

Terms

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

External references