cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A380198 Difference between pi(2^n) and the integer nearest to 2^n / log(2^n).

Original entry on oeis.org

-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

Views

Author

James C. McMahon, Jan 16 2025

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
		

Crossrefs

Programs

  • Mathematica
    Table[PrimePi[2^n]-Round[2^n/Log[2^n]],{n,39}]

Formula

a(n) = - A053622(2^n).
a(n) = A007053(n) - A050499(2^n).
Showing 1-1 of 1 results.