A113858 Difference between A095765 and A095766.
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
Programs
-
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]
Comments