A380198 Difference between pi(2^n) and the integer nearest to 2^n / log(2^n).
-2, -1, 0, 0, 2, 3, 5, 8, 15, 24, 40, 72, 119, 212, 360, 633, 1128, 1989, 3580, 6386, 11537, 20897, 37980, 69354, 127336, 234054, 431877, 799754, 1484440, 2763961, 5156791, 9644970, 18080775, 33959344, 63902732, 120474951, 227515953, 430345298, 815241632
Offset: 1
Keywords
Examples
n 2^n pi(2^n) round(2^n/log(2^n)) a(n) ------------------------------------------------ 1 2 1 3 -2 2 4 2 3 -1 3 8 4 4 0 4 16 6 6 0
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..92
Programs
-
Mathematica
Table[PrimePi[2^n]-Round[2^n/Log[2^n]],{n,39}]