Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A066520
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A066520 Number of primes of the form 4m+3 <= n minus number of primes of the form 4m+1 <= n. +0
5
0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 2 (list; graph; listen)
OFFSET

1,11

COMMENT

Although the initial terms are nonnegative, it has been proved that infinitely many terms are negative. The first two are a(26861)=a(26862)=-1. Next, there are 3404 values of n in the range 616841 to 633798 with a(n)<0. Then 27218 values in the range 12306137 to 12382326.

REFERENCES

Carter Bays & Richard H. Hudson, Zeros of Dirichlet L-Functions and Irregularities in the Distribution of Primes, Mathematics of Computation, 69 (2000) 861-866.

LINKS

T. D. Noe, Table of n, a(n) for n=1..30000 (enough terms to show the first dip into negative territory)

Carter Bays & Richard H. Hudson, Zeros of Dirichlet L-Functions and Irregularities in the Distribution of Primes

A. Granville and G. Martin, Prime number races

FORMULA

a(n) = A066490(n) - A066339(n)

MATHEMATICA

a[n_] := Length[Select[Range[3, n, 4], PrimeQ]]-Length[Select[Range[1, n, 4], PrimeQ]]

CROSSREFS

Cf. A066339, A066490, A007350, A051024, A051025.

Cf. A156749 Sequence showing Chebyshev bias in prime races (mod 4). [From Daniel Forgues (squid(AT)zensearch.com), Mar 26 2009]

Sequence in context: A004578 A051031 A111915 this_sequence A088526 A054535 A054534

Adjacent sequences: A066517 A066518 A066519 this_sequence A066521 A066522 A066523

KEYWORD

nonn,easy,nice

AUTHOR

Sharon Sela (sharonsela(AT)hotmail.com), Jan 05 2002

EXTENSIONS

Edited by Dean Hickerson (dean.hickerson(AT)yahoo.com), Mar 05 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research