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.

A091295 (Number of primes == 3 mod 4 less than 10^n) - (number of primes == 1 mod 4 less than 10^n).

Original entry on oeis.org

1, 2, 7, 10, 25, 147, 218, 446, 551, 5960, 14252, 63337, 118472, 183457, 951700, 3458334, 6284060, 2581691, 80743228, 259753425
Offset: 1

Views

Author

Enoch Haga, Feb 23 2004

Keywords

Examples

			a(1) = 1 because below 10^1 3 and 7 are 3 mod 4 and 5 is 1 mod 4 and the difference is 2-1=1.
		

References

  • Hans Riesel, Prime Numbers and Computer Methods for Factorization, 2nd ed., Birkhauser, The distribution of primes between the two series 4n+1 and 4n+3, pages 73-77, with graphs.

Crossrefs

Formula

a(n) = A091099(n) - A091098(n) = A093153(n) + 1. [Max Alekseyev, May 17 2009]

Extensions

a(17)-a(20) from Marc Deleglise, Jun 28 2007