A095742 Sum of A037888(p) for all primes p such that 2^n < p < 2^(n+1).
0, 0, 2, 3, 9, 16, 35, 69, 148, 271, 628, 1167, 2629, 4830, 10597, 20083, 42928, 81579, 174223, 331314, 701382, 1340756, 2825575, 5422454, 11361615, 21873923, 45673361, 88161666, 183458213, 354899159, 736343490, 1427495050, 2954560104
Offset: 1
Keywords
Examples
a(1)=0, as only prime in range ]2,4] is 3, which has palindromic binary expansion 11, i.e. A037888(3)=0. a(2)=0, as in range ]4,8] there are two primes 5 (101 in binary) and 7 (111 in binary) so A037888(5) + A037888(7) = 0. a(3)=2, as in range ]8,16] there are two primes, 11 (1011 in binary) and 13 (1101 in binary), thus A037888(11) + A037888(13) = 1+1 = 2.
Links
- A. Karttunen, J. Moyer: C-program for computing the initial terms of this sequence
Comments