Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A156749
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A156749 For all numbers k(n) congruent to -1 or +1 (mod 4) starting with k(n) = {3,5,7,9,11,...}, a(k(n)) is incremented by the congruence (mod 4) if k(n) is prime and by 0 if k(n) is composite. +0
10
-1, 0, -1, -1, -2, -1, -1, 0, -1, -1, -2, -2, -2, -1, -2, -2, -2, -1, -1, 0, -1, -1, -2, -2, -2, -1, -1, -1, -2, -1, -1, -1, -2, -2, -3, -2, -2, -2, -3, -3, -4, -4, -4, -3, -3, -3, -3, -2, -2, -1, -2, -2, -3, -2, -2, -1, -1, -1, -1, -1, -1, -1, -2, -2, -3, -3, -3, -2, -3, -3 (list; graph; listen)
OFFSET

1,5

COMMENT

The fact that a(k(n)) is predominantly negative exhibits the Chebyshev Bias (where the congruences that are not quadratic residues generally lead in the prime number races, at least for "small" integers, over the congruences that are quadratic residues).

This bias seems caused (among other causes?) by the presence of all those squares (even powers) coprime to 4 taking away opportunities for primes to appear in the quadratic residue class +1 (mod 4), while the non-quadratic residue class -1 (mod 4) is squarefree.

The density of squares congruent to +1 (mod 4) is 1/(4*sqrt(k(n))) since 1/2 of squares are congruent to +1 (mod 4), while the density of primes in either residue classes -1 or +1 (mod 4) is 1/(phi(4)*log(k(n))), with phi(4) = 2.

Here 1 is quadratic residue mod 4, but 3 (or equivalently -1) is quadratic non-residue mod 4. All the even powers (included in the squares) map congruences {-1, +1} to {+1, +1} respectively and so contribute to the bias, whereas all the odd powers map {-1, +1} to {-1, +1} respectively and so do not contribute to the bias.

One would then expect the ratio of this bias, if caused exclusively by the even powers, relative to the number of primes in either congruences to asymptotically tend towards to 0 as k(n) increases (since 1/(4*sqrt(k(n))) is o(1/(phi(4)*log(k(n)))).

The persistence or not of such bias in absolute value then does not contradict The Prime Number Theorem for Arithmetic Progressions (Dirichlet) which states that the asymptotic (relative) ratio of the count of prime numbers in each congruence class coprime to m tends to 1 in the limit towards infinity. (Cf. 'Prime Number Races' link below)

Also, even if this bias grows in absolute value, it is expected to be drowned out (albeit very slowly) by the increasing fluctuations in the number of primes in each congruence classes coprime to 4 since, assuming the truth of the Riemann Hypothesis, their maximum amplitude would be, with x standing for k(n) in our case, h(x) = O(sqrt(x)*log(x)) <= C * sqrt(x)*log(x) in absolute value which gives relative fluctuations of order h(x)/x = O(log(x)/sqrt(x)) <= C*log(x)/sqrt(x) in the densities of primes pi(x, {4, 1})/x and pi(x, {4, 3})/x in either congruence classes.

Since 1/(4*sqrt(x) is o(log(x)/sqrt(x)) the bias will eventually be overwhelmed by the "pink noise or nearly 1/f noise" corresponding to the fluctuations in the prime densities in either congruence classes. The falsehood of the Riemann Hypothesis would imply even greater fluctuations since the RH corresponds to the minimal h(x).

We get pink noise or nearly 1/f noise if we consider the prime density fluctuations of pi(x, {4, k})/x as an amplitude spectrum over x (with a power density spectrum of (C*log(x)/sqrt(x))^2 = ((C*log(x))^2)/x and see x as the frequency f. This power density spectrum is then nearly 1/x and would have nearly equal energy (although slowly increasing as (C*log(x))^2) for each octave of x. (Cf. 'Prime Numbers: A Computational Perspective' link below)

Among the positive integers k(n) up to 100000 that are congruent to -1 or +1 (mod 4) [indexed from n = 1 to 49999, with k(n) = 4 ceil(n/2) + (-1)^n], a tie is attained or maintained, with a(k(n)) = 0, for only 34 integers and that bias favouring the non-quadratic residue class -1 (mod 4) gets violated only once, i.e. a(k(n) = +1, for index n = 13430 (corresponding to the prime k(n) = 26861 congruent to +1 (mod 4) since n is even) where the congruence + 1 leads once!

LINKS

Daniel Forgues, Table of n, a(n) for n = 1..49999

Eric Weisstein, Chebyshev Bias

A. Granville and G. Martin, Prime Number Races

Wikipedia, Pink noise

Richard E. Crandall, Carl Pomerance, Prime Numbers: A Computational Perspective - Google Books Result

CROSSREFS

Cf. A007350 Where prime race 4n-1 vs. 4n+1 changes leader.

Cf. A007351 Where prime race 4m-1 vs. 4m+1 is tied.

Cf. A038691 Prime race 4k-1 vs 4k+1 is tied at n-th prime.

Cf. A096628 Values of n for which {p_1, p_2, ..., p_n} (mod 4) is biased towards 1.

Cf. A156707 (whose partial sums give a(n) of this sequence)

Cf. A156709 (which exhibits the Chebishev Bias for congruences -1 or +1 (mod 6))

Cf. A156706 (whose partial sums give a(n) of A156709)

Cf. A101264 = prime characteric function of numbers congruent to -1 or +1 (mod 4)

Cf. A075743 = prime characteric function of numbers congruent to -1 or +1 (mod 6)

Sequence in context: A020944 A025897 A029421 this_sequence A039803 A147809 A096651

Adjacent sequences: A156746 A156747 A156748 this_sequence A156750 A156751 A156752

KEYWORD

sign

AUTHOR

Daniel Forgues (squid(AT)zensearch.com), Feb 14 2009

EXTENSIONS

Edited by Daniel Forgues (squid(AT)zensearch.com), Mar 01 2009, Mar 29 2009

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 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research