Thursday, January 23, 2025

A380198 Contribution to the OEIS

Difference between pi(2^n) and the integer nearest to 2^n / log(2^n).
0
-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,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..92
FORMULA
a(n) = - A053622(2^n).
a(n) = A007053(n) - A050499(2^n).
EXAMPLE
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
MATHEMATICA
Table[PrimePi[2^n]-Round[2^n/Log[2^n]], {n, 39}]
KEYWORD
sign,new
AUTHOR
James C. McMahon, Jan 16 2025
STATUS
approved

No comments:

Post a Comment

An Open Message to the Blog's Fans in Singapore

(Image:  Free 12 singapore icons - Iconfinder ) This past week, more views of this blog were made from Singapore than other country. To ackn...

Popular in last 30 days