login
A113858
Difference between A095765 and A095766.
0
0, 0, 0, 1, 1, -1, 1, 1, 1, 3, 5, 10, 10, 38, 48, 85, 157, 280, 477, 900, 1540, 2894, 5464, 9762, 18132, 33450, 62364, 116657, 217500, 407235, 763246, 1432291, 2698847, 5087838, 9620802, 18210979, 34487702, 65417618, 124353014, 236558508
OFFSET
1,10
COMMENTS
A095765: Number of primes whose binary expansion begins '10' less A095766: Number of primes whose binary expansion begins '11'.
The difference between successive runs of A112416.
A112416: a(n) = next-to-most-significant binary digit of n-th prime.
MATHEMATICA
f[n_] := PrimePi[2^n + 2^(n - 1)] - PrimePi[2^n] - PrimePi[2^(n + 1)] + PrimePi[2^n + 2^(n - 1) - 1]; Array[f, 40]
CROSSREFS
KEYWORD
base,sign
AUTHOR
Robert G. Wilson v, Jan 24 2006
STATUS
approved