Modeling Chebyshev s Bias in the Gaussian Primes as a Random Walk

Size: px
Start display at page:

Download "Modeling Chebyshev s Bias in the Gaussian Primes as a Random Walk"

Transcription

1 Modeling Chebyshev s Bias in the Gaussian Primes as a Random Walk Daniel J. Hutama July 18, 2016 Abstract One asect of Chebyshev s bias is the henomenon that a rime number,, modulo another rime number,, exerimentally seems to be slightly more likely to be a nonuadratic residue than a uadratic residue. We thought it would be interesting to model this residue bias as a random walk using Legendre symbol values as stes. Such a model would allow us to easily visualize the bias. In addition, we would be able to extend our model to other number fields. In this reort, we first outline underlying theory and some motivations for our research. In the second section, we resent our findings in the rational rime numbers. We found evidence that Chebyshev s bias, if modeled as a Legendre symbol ( ) walk, may be somewhat reduced by only allowing to iterate over rimes with nonuadratic residue (mod ). In the final section, we extend our Legendre symbol walks to the Gaussian rimes and resent our main findings. Let π 1 + βi [ and] π 2 [ β + ] i. We a+bi a+bi observed strong (±) correlations between Gaussian Legendre symbol walks for π 1 and π 2 where N(π 1) N(π 2) and a+bi iterates over Gaussian rimes in the first uadrant. We attemt an exlanation of why, for some norms, the lots for π 1 and π 2 have strong ositive correlation, while, for other norms, the lots have strong negative correlation. We hoe to have written in a way that makes our observations accessible to readers without rior formal training in number theory. 1 Introduction 1.1 Prime Numbers Definition 1. A rime number is any integer > 1 whose divisors are only 1 and itself. A comosite number is any integer that is not a rime number or the unit number, 1. One of the first mathematicians to study the rimes was Eratosthenes, to whom is attributed an algorithm to find all rimes less than or eual to a certain value. The Sieve of Eratosthenes starts by marking all multiles of 2 as comosite, then roceeding to multiles of 3, 5, 7 and so on u to x. For examle, after all even numbers u to (and including) 30 have been marked as comosite, we have: 2, 3,, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 15, 16, 17, 18, 19, 20, 21, 22, 23, 2, 25, 26, 27, 28, 29, 30 Next, we mark comosite all multiles of 3 not already marked: 2, 3,, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 15, 16, 17, 18, 19, 20, 21, 22, 23, 2, 25, 26, 27, 28, 29, 30 Next, we continue to multiles of 5 and roceed as before, continuing until multiles of 29: 2, 3,, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 15, 16, 17, 18, 19, 20, 21, 22, 23, 2, 25, 26, 27, 28, 29, 30 The remaining values form the set {2, 3, 5, 7, 11, 13, 17, 19, 23, 29}, which are the rime numbers less than or eual to 30; i.e. the set of numbers less than or eual to 30 whose divisors are only 1 and itself. 1

2 Proosition 1. (Fundamental Theorem of Arithmetic) Every integer has a uniue rime factorization. In other words, every integer can we exressed in a uniue way as an infinite roduct of owers of rimes: n i i (1) where rimes, and a finite number of i are ositive integers with the rest being zero. For examle, we can write Proosition 2. (Euclid s Theorem) There are infinitely many rime numbers. There are many well-known roofs of Euclid s theorem. Euler s roof is as follows: Let denote rime numbers and P denote the set of all rime numbers. Then, P , 2, 3, However, by (1), we know that every integer can be written uniuely as a roduct of rimes. Thus, we can rewrite our euation as: (2) n n P 0 1, 2, 3,... 0 We then recognize the right hand side of (2) as the harmonic series. Because of the divergence of the harmonic series, we know our roduct must be infinite as well. Since each term of our roduct is a finite number, there must be an infinite number of terms for the roduct to be infinite. Euler also roved a stronger version of the divergence of the harmonic series, in which he shows the sum of recirocals of rimes also diverges [1]. We will use this fact in a later roof. 1 (3) P 1.2 Arithmetic Progressions The Sieve of Eratosthenes is effective because of the simlicity of identifying multiles of a number. For examle, it is easy to identify all numbers of the form 3n (which is the set {3, 6, 9, 12, 15, 18,...} for n 1) as multiles of 3, and subseuently mark them as comosite (with the excetion of the first element). However, what haens if we change the starting value of the set, while keeing the distance between elements the same? Definition 2. We call a seuence of numbers with constant difference between terms an arithmetic rogression. For examle, consider all numbers of the form 3n+2 and 3n+1, which reresent the sets {2, 5, 8, 11, 1, 17...} and {1,, 7, 10, 13, 16,...} resectively. Both sets of numbers are arithmetic rogressions with a difference of 3. The reader might then inuire: Between 3n + 2 and 3n + 1, which arithmetic rogression contains more rimes u to a value x? In other words, if we consider the count of rimes in each rogression as a race, which team is in the lead at a given x? Can we extend Euclid s Theorem to rimes in arithmetic rogressions? In other words, do arithmetic rogressions contain infinitely many rimes? What is the distribution of rimes in these rogressions? To answer these uestions, we must first introduce a few tools to give our analysis some sohistication. 2

3 1.3 Euclidean Algorithm, Euler s Totient Function, and Modulo Definition 3. An integer a 0 divides another integer b if there exists another integer c, such that b ac. We denote that a divides b with a b. Definition. Pick two integers a and b. An integer c such that c a and c b is said to be a common divisor of a and b. If there exists another integer d c that also divides a and b, we say that d is the greatest common divisor of a and b. We denote this by gcd(a, b) d. Proosition 3. Let a and b be integers. The Euclidean Algorithm allows us to comute the greatest common divisor of a and b; i.e. it allows us to find the largest number that divides both a and b, leaving no remainder. The algorithm is as follows: a b 0 + r 0 for 0 < r 0 < b b r r 1 for 0 < r 1 < r 0 r r r 2 for 0 < r 2 < r 1... r k 1 r k k+1 + r k+1 for 0 < r k+1 < r k r k r k+1 k Then gcd(a, b) r k+1. For examle, to find gcd(6188, 709), we aly the Euclidean Algorithm as follows: gcd(6188, 709) Definition 5. a and b are said to be relatively rime, or corime if gcd(a, b) 1. Two rime numbers, and, will always be corime to each other. A comosite number, a, will be corime to rime number,, if and only if a is not a multile of. Definition 6. Euler s totient function, denoted φ(n), counts the number of totatives of n, i.e. the number of (ositive) integers u to n that are corime to n. For examle, φ(10) #{1, 3, 7, 9}. In this examle, the numbers 1, 3, 7, and 9, are the totatives of 10. For a rime number, φ() #{1, 2,..., 1} 1 since all integers < are also corime to. Definition 7. We say that a is congruent to r modulo b if b a r. We write this relation as a r (mod b) In other words, we say that a r (mod b) if r is the remainder when a is divided by b. For examle, when 9 is divided by 7, the remainder is 2. In other words, 9 2 (mod 7). This concet allows us to conveniently refer to arithmetic rogressions by their congruences modulo a. For instance, we can refer to the rogression n + 3 as the set of all integers congruent to 3 (mod ). Furthermore, we can refer to all rimes in the rogression n + 3 as the set of rimes congruent to 3 (mod ). Corollary. Let Z denote the set of all integers. The modulo oeration allows us to define a uotient ring, Z/nZ, which is the ring of integers modulo n. For examle, the set of all integers modulo 6 reeats as {..., 1, 2, 3,, 5, 0, 1, 2, 3,, 5,...}. The uniue elements of this set are {0, 1, 2, 3,, 5}, which is the ring Z/6Z. We say that an element u in Z/nZ is a unit 3

4 in the ring if there exists a multilicative element v, such that uv vu 1. We denote the grou of units as (Z/nZ). The grou (Z/nZ) has φ(n) elements, which are the totatives of n. For examle, for the ring Z/6Z, the grou of units, (Z/6Z) is given by the totatives of 6: {1,5}. We notice that 1 and 5 are both units in Z/6Z since 1 1 (mod 6) and (mod 6). Thus for a rime number, the grou (Z/Z) has 1 φ() elements. 1. The Prime Number Theorem and Dirichlet s Theorem on Arithmetic Progressions Let π(x) denote the number of rimes u to x. Proosition. Gauss s Prime Number Theorem (PNT), which Hadamard and Vallèe-Poussin roved indeendently in 1896, states that π(x) behaves asymtotically to x/ log(x) 1 Put another way: lim x π(x) x/ log(x) 1 () Thus for an arbitrarily large value of x, one can exect π(x) to be close to x/ log(x), with some error term. One might next wonder about aroximating the count of rimes within an arithmetic rogression. One way of intuitively aroaching this roblem is by viewing the set of all ositive integers as a union of arithmetic rogressions. For examle, if we consider the arithmetic rogressions with a difference of 3 between elements in each set, we have the three rogressions: {3n + 1 for n N 0 } {1,, 7, 10, 13, 16,...} {3n + 2 for n N 0 } {2, 5, 8, 11, 1, 17,...} {3n for n N 1 } {3, 6, 9, 12, 15, 18,...} Combining these three sets will yield the set of all ositive integers. Since each element in the third set is a multile of 3, and thus a comosite number, we can ignore this set and only consider the first two. We can then exect the rimes to be slit aroximately eually between 3n + 1 and 3n + 2. Similarly, for a difference of between elements in each set, rimes would be slit aroximately evenly between n + 1 and n + 3. Thus alying our intuition to (), we arrive at: Theorem 1. (Dirichlet s Theorem on Arithmetic Progressions) If gcd(a, b) 1, there are infinitely many rimes congruent to b modulo a. In addition, for rogressions of the form an + b, the rimes will be slit among φ(a) different rogressions. In other words, the roortion of rimes in a rogression with increment a is 1 φ(a). lim x π(x; a, b) x/(φ(a) log(x)) 1 (5) For examle, the rogression 5n + 1 holds one-fourth of rimes (φ(5) ), and we write: lim x π(x; 5, 1) x/(φ(5) log(x)) 1 1 log(x) here is actually the natural log of x, but we wish to use the same notation as in our references

5 The comlete roof of Dirichlet s Theorem is uite lengthy, but excellently shown by Pete L. Clark [2] and Austin Tran [3]. Here, we only briefly introduce imortant concets from analytic number theory and highlight crucial oints of the roof as shown by Clark and Tran. For readers not familiar with analytic number theory, this section may be articularly difficult. Nevertheless, we encourage the reader on. Definition 8. A Dirichlet Character modulo a is a function χ on the units of Z/aZ that has the following roerties: χ is eriodic modulo a, i.e. χ(b) χ(b + a) for b N. χ is multilicative, i.e. χ(b) χ(c) χ(bc). χ(1) 1. χ(b) 0 if and only if gcd(a, b) 1. We say that a character is rincial if its value is 1 for all arguments corime to its modulus, and 0 otherwise. We denote the rincial character modulo a as χ 0. Note that the rincial character still deends on a. Examle. Consider the Dirichlet characters modulo 3. We have χ(1) 1 and χ(3) 0 by roerties stated above. Using the multilicativity and eriodicity of χ we note that (χ(2)) 2 χ(2) χ(2) χ(1) 1. This imlies that (χ(2)) 2 χ(2) ±1. If χ(2) 1, then χ χ 0 is a rincial character by definition. On the other hand, we use χ 1 to denote the character for when χ(2) 1. We note that χ 1 also satisfies all necessary roerties to be a Dirichlet character, but is not a rincial character. Proosition 5. Let X(a) denote the set of all Dirichlet Characters modulo a. X(a) is a grou with multilication and an identity element given by the rincial character χ 0 modulo a. In addition, the following orthogonality relation holds (orthogonality of characters): χ (mod a) { 1 if b 1 (mod a), 0 otherwise (A roof of the orthogonality of characters is nicely shown by A. Tran in [3]). Corollary. The values of a character χ are either 0 or the φ(a) th roots of unity. Recall that if χ(b) 0, then gcd(a, b) 1. If order of the grou is φ(a), then χ(b) φ(a) is rincial, so χ(b) φ(a) 1. Thus, χ(b) e 2πiν φ(a) for ν N. Definition 9. A Dirichlet L-series is a function of the form: L(χ, s) where s is a comlex variable with Re(s)> 1. Proosition 6. The Dirichlet L-function can be also exressed as an Euler roduct as follows (A roof can be found in []): n1 χ(k) n s L(χ, s) ( 1 χ() ) 1 s (6) We introduce an intermediate theorem necessary for the roof of theorem 1: Theorem 2. Dirichlet s Non-vanishing Theorem states that L(χ, 1) 0 if χ is not a rincial character. Here, we will only highlight crucial sections of the roof of Dirichlet s non-vanishing theorem (as shown by J.P. Serre). A more comlete roof of Theorem 2 can be found in [5]. 5

6 Let a be a fixed integer 1. If m, we denote the image of in (Z/aZ) by. In addition, we use f() to denote the order of in (Z/aZ) ; i.e. f() is the smallest integer f such that f 1 (mod a). We let g() φ(a) f(). This is the order of the uotient of (Z/aZ) by the subgrou () generated by. Lemma 1. For a, we have the identity: χ X(a) (1 χ()t ) (1 T f() ) g() For the derivation of lemma 1, we let µ f() denote the set of f() th roots of unity. We then have the identity: (1 wt ) 1 T f() (7) w µ f() For all w µ f(), there exists g() characters χ X(a) such that χ() w. This fact, together with (7), brings us to lemma 1. We now define a function ζ a (s) as follows: ζ a (s) : χ X(a) L(χ, s) We continue by relacing each L(χ, s) in the roduct by its roduct exansion as in (6), and then alying lemma 1 with T s. Proosition 7. We can then reresent the roduct exansion of ζ a (s) as follows: ζ a (s) 1 ( a 1 1 f()s We note that this is a Dirichlet series with ositive integral coefficients converging in the half lane Re(s) > 1. We now wish to show (a) that ζ a (s) has a simle ole at s 1 and (b) that L(χ, 1) 0 for all χ χ 0. The fact that L(1, s) has a simle ole at s 1 imlies the same for ζ a (s). Thus, showing (b) would imly (a). Suose for contradiction that L(χ, 1) 0 for χ χ 0. Then ζ a (s) would be holomorhic at s 1, and also for all s with Re(s) > 0. Since by roosition 7, ζ a (s) is a Dirichlet series with ositive coefficients, the series would converge for all s in that domain. However, this cannot be true. We show this by exanding the th factor of ζ a (s) as follows: ) g() 1 (1 f()s ) g() (1 + f()s + 2f()s + 3f()s +...) We then ignore crossterms with negative contribution to arrive at an uer bound: φ(a)s + 1 2φ(a)s + 1 3φ(a)s +... Multilying over, it follows that ζ a (s) has all its coefficients greater than the series: Evaluating euation (8) at s 1 series: φ(a) n gcd(a,n)1 1 n φ(a)s (8), we finish the roof of theorem 2 by arriving at the following divergent n gcd(a,n)1 1 n. 6

7 We now roceed with the roof of Dirichlet s Theorem. Proof of Theorem 1. Let X(a) denote the grou of Dirichlet characters modulo a. We then fix gcd(a, b) 1 as stated in Dirichlet s Theorem. In addition, we let Ψ denote the set of rime numbers b (mod a). Our goal is to show that Ψ is an infinite set. We wish to consider a function similar to the one in (2). We define: P b (s) : Ψ 1 s (9) In articular, we wish to show that the function P b (s) aroaches as s aroaches 1. This would imly infinitely many elements in Ψ. We also define θ b to be the characteristic function of the congruence class b (mod a). In other words: { 1 if n b (mod a), θ b (n) 0 otherwise Note that θ b is eriodic modulo a and is 0 when gcd(n, a) > 1. Using this characteristic function, we wish to exress P b (s) as a sum over all rimes: Lemma 2. For all n Z, we have: θ b P b (s) P χ X(a) θ b () s χ(b 1 ) φ(a) χ(n) Proof of Lemma 2. Using the multilicative roerty of the Dirichlet character: θ b 1 χ(b 1 n) φ(a) χ X(a) By our orthogonality relation, the summation term becomes φ(a) if b 1 n 1 (i.e. if n b (mod a)) and zero otherwise. The result is exactly θ b. Alying Lemma 2 to (9), we arrive at: P b (s) χ X(a) χ(b 1 ) φ(a) χ() s (10) We recognize the second summation term as reminiscent of the Dirichlet series we defined earlier. We will come back to this euation later. Consider the convergent Taylor series exansion of log(1 z) for z < 1 log(1 z) z n n In addition, consider the Euler roduct reresentation of our Dirichlet series in (6). Alying logarithms, we get: log(l(χ, s)) ( log 1 χ() ) s (12) n1 (11) 7

8 Combining (11) and (12), we have: log(l(χ, s)) n 1 n ( ) n χ() (13) s The right side of (13) is absolutely convergent for Re(s) > 1, and is therefore an analytic function on that half lane. We now denote the right hand side of (13) as l(χ, s). Lemma 3. In the half lane with Re(s)> 1, e l(χ,s) L(χ, s). The roof of Lemma 2 is shown in [3]. We now slit l(χ, s) into two arts. The first art will be for the sums when n 1, and the second art will be for the sums when n > 1. We denote these as I (χ, s) and R(χ, s) resectively. Symbolically, I (χ, s) We now note that we can write P b (s) from (10) as: l(χ, s) I (χ, s) + R(χ, s) P b (s) χ() s, R(s, χ) χ() n n ns n 2 χ X(a) χ(b 1 ) I (χ, s) (1) φ(a) Lemma. R(χ, s) is bounded when s 1 (Recall, that we wish to show that P b (s) as s 1). This can be shown by comaring R(χ, s) to the well-known Basel roblem: R(χ, 1) 1 n n n 2 n 2 1 n 2 n 1 n 2 2π2 6 Since we know that R(χ, 1) is bounded, we can ignore it as it will not hel us in showing that P b (s) diverges as s 1. We now wish to slit our summation from (1) into an exression with only rincial characters, and a sum over non-rincial characters. Recall that a rincial character χ 0 (n) 1 for gcd(n, a) 1, and 0 otherwise. P b (s) χ X(a) χ(b 1 ) I (χ, s) φ(a) χ 0(b 1 ) I (χ 0, s) + χ(b 1 ) I (χ, s) φ(a) φ(a) χ χ 0 P b (s) 1 1 φ(a) s + l(χ, s) (15) a χ χ 0 We know that a will have a finite number of rime divisors. This fact, together with euation (3), tells us that the first term in (15) is unbounded. All that remains is to show that the second summation in (15) is bounded as s 1. Doing so will show that the rimes (mod a) will fall into one of the φ(a) congruence classes as claimed in theorem 1. To do this, we must use Dirichlet s non-vanishing theorem (theorem 2). Recall that L(χ, 1) 0 if χ is not a rincial character. Thus: L(χ, s) lim s 1 L(χ, s) lim s 1 e l(χ,s) 8

9 Since logarithms of an analytic function differ only by multiles of 2πi, l(χ, s) log L(χ, s) always remains bounded as s 1. As a result, the contribution to P b (s) from non-rincial Dirichlet characters remains bounded, while the contribution from rincial characters is unbounded. P b (s) itself is then unbounded as s 1. In conclusion, we have: 1 s lim P b(s) s 1 Ψ Thus, there must be infinitely many elements in Ψ, i.e. there are infinitely many rimes congruent to b modulo a for gcd(a, b) Chebyshev s Bias, Quadratic Residue, and the Legendre Symbol As uite thoroughly shown by A. Granville and G. Martin in their aer, Prime Number Races [6], when we race rogressions, some rogressions hold the lead for an overwhelming majority of the time. For examle, in the mod race of n + 1 against n + 3, the bias is as much as 99.59% in favor of the n + 3 team! This bias, first observed by Chebyshev in 1853, is attributed to rimes in the n + 1 rogression being uadratic residues modulo. As noted by Terry Tao [7]:...Chebyshev bias asserts, roughly seaking, that a randomly selected rime of a large magnitude x will tyically (though not always) be slightly more likely to be a uadratic non-residue modulo than a uadratic residue, but the bias is small (the difference in robabilities is only about O( 1 x ) for tyical choices of x) Definition 10. Let be an odd rime number 2. We say that a number a is a uadratic residue (QR) modulo if there exists an element x in the set of totatives of, such that x 2 a (mod ). (Note: does not necessarily need to be rime for the definition of uadratic residues. However, as we will see later, the modulus must be rime for our Legendre symbol model to work. Thus, we restrict our study to only rime moduli). For examle, let us consider the set of totatives of 7, which is the set {1,2,3,,5,6}: Table 1: Quadratic Residues (mod 7) x x 2 x 2 (mod 7) Conclusion is a QR (mod 7) 2 is a QR (mod 7) is a QR (mod 7) is a QR (mod 7) 5 25 is a QR (mod 7) is a QR (mod 7) In this examle, 1 is a uadratic residue since both 1 2 and 6 2 are congruent to 1 (mod 7). In addition, is a uadratic residue since 2 2 and 5 2 are congruent to (mod 7), and 2 is a uadratic residue since 3 2 and 2 are congruent to 2 (mod 7). Note the symmetry of uadratic residues when ordered by x. We now might like a convenient notation to uantify the notion of uadratic residues. 2 Restriction is such that the Legendre symbol will be defined for any. 9

10 Definition 11. The Legendre symbol searates an integer a into three classes, deending on its residue modulo an odd rime. ( ) a 1 if a is a uadratic residue (mod ), 1 if a is a nonuadratic residue (mod ), 0 if a 0 (mod ) Note: the Legendre symbol is only defined for being an odd rime number. If a is a rime number, the Legendre symbol will never be 0 (since two different rime numbers will be corime) We know by Theorem 1 that the residues of a (mod ) are then eually distributed among congruence classes in {1, 2, 3..., 1}. Continuing with our definition, we introduce several roerties of the Legendre symbol: The Legendre symbol is eriodic on its to argument modulo. In other words, if a b (mod ), then ( ) ( ) a b The Legendre symbol is multilicative on its to argument, i.e. ( ) ( ) ( ) a b ab The roduct of two suares is a suare. The roduct of two nonsuares is a suare. The roduct of a suare and a nonsuare is a nonsuare. This can be exressed as follows: Two suares : Two nonsuares : Suare and nonsuare : The Legendre symbol can also be defined euivalently using Euler s criterion as: ( ) a a ( 1)/2 (mod ) Proosition 8. (Law of Quadratic Recirocity) For and odd rime numbers: ( ) ( 1) ( ) The Law of Quadratic Recirocity [8] has several sulements for different values of a. introduce the first two sulements without roof. For x in the set of totatives of : 1. x 2 1 (mod ) is solvable if and only if 1 (mod ). 2. x 2 2 (mod ) is solvable if and only if ±1 (mod 8). These sulements can be exressed euivalently as follows: 1. ( ) { 1 ( 1) 1 1 if 1 (mod ), 2 1 if 3 (mod ) Here, we only 2. ( ) { 2 ( 1) if 1, 7 (mod 8), 8 1 if 3, 5 (mod 8) 10

11 Continuing with our examle for a in (Z/7Z), we have: Table 2: Legendre Symbols (mod 7) a ( a 7 ) Proosition 9. In general, Chebyshev s bias suggests that, in a race between n + β 1 and n + β 2, the rogression in which β i is a nonuadratic residue (mod ) will likely contain more rimes u to x. For instance, when racing 1 (mod 3) against 2 (mod 3), we observe that 2 (mod 3) almost always has more rimes u to x. Indeed, 1 is a uadratic residue (mod 3), and 2 is a nonuadratic residue (mod 3). Table 3: Count of Primes in the mod 3 Race x Primes in 3n + 1 u to x Primes in 3n + 2 u to x Desite the aarent domination by the 2 (mod 3) team, a theorem from J.E. Littlewood (191) asserts that there are infinitely many values of x for which the 1 (mod 3) team is in the lead (of course, this theorem alies to races in other moduli as well). In fact, the first value for which this occurs is at 608, 981, 813, 029 (discovered by Bays and Hudson in 1976). In 1962, Knaowski and Turán conjectured that if we randomly ick an arbitrarily large value of x, then there will almost certainly be more rimes of the form 3n+2 than 3n+1 u to x. However, the Knaowski- Turán conjecture was later disroved by Kaczorowski and Sarnak, each working indeendently. In fact if we let ν denote the number of values of x( X) for which there are more rimes of the form 3n + 2, the roortion ν X does not tend to any limit as X, but instead fluctuates. This oens the uestion of: what haens if we go out far enough? Will the race be unbiased if we set X sufficiently far away from 0? That is, is Chebyshev s bias only aarent for small values of X? In 199, while working with the mod race, Rubinstein and Sarnak introduced the logarithmic measure to find the ercentage of time a certain team is in the lead [9]. Instead of counting 1 for each x( X) where there are more rimes of the form n + 3 than of the form n + 1, Rubinstein and Sarnak count 1 x. Instead of ν, the sum is then aroximately ln X. They then scale this with the exact value of ln X to find the aroximate roortion of time the n + 3 team is in the lead: 1 ln X ln X > 1 ln X x X x where x in the summation is only over values where there are more rimes of the form n + 3 than of the form n + 1. For the mod 3 race, we have: 1 ln X x X x Using the logarithmic measure, we see that the 3n + 2 team is in the lead 99.9% of the time! 11

12 1.6 The Gaussian Primes Definition 12. A Gaussian integer is a comlex number whose real and imaginary arts are both integers. The Gaussian integers form an integral domain, which we denote with Z[i]. In other words, for i 2 1, we have: Z[i] {a + bi a, b Z}. The units of Z[i] are ±i and ±1. In addition, we say that two elements, µ and ν are associated if µ uν for u being a unit in Z[i]. Because of the four units, Gaussian rimes (along with their comlex conjugates) have an eightfold symmetry in the comlex lane (figure 1). For convenience, we often write rimes in lace of rimes uniue u to associated elements. Definition 13. We say that an element in Z[i] is a Gaussian rime if it is irreducible, i.e. if its only divisors are itself and a unit in Z[i]. One might initially believe that the rimes in Z are also irreducible elements in Z[i]. However, this is not the case. In fact, there is a surrising connection between rimes in mod arithmetic rogressions in Z and the Gaussian rimes. To understand this connection, we must first introduce the concet of norm. Definition 1. The norm function takes a Gaussian integer a + bi and mas it to a strictly ositive real value. We denote the norm of a Gaussian integer as N(a + bi) (a + bi)(a + bi) (a + bi)(a bi) a 2 + b 2. In other words, the norm function takes a Gaussian integer and multilies it by its comlex conjugate. One can geometrically understand the norm as the suared distance from the origin. Let γ β. The norm function is multilicative; i.e. for γ,, β elements in Z[i], N(γ) N(β) N()N(β) We also note that the norm of any unit is 1. For examle, if i 0 + 1i, then N() In addition, we note that if an integer can be written as a sum of two suares, we can reduce it to two elements with smaller norms. For examle, we note that (2 + i) (2 i) (2 + i) (2 + i) N(2 + i). Thus, if a rime (in Z) can be written as a sum of suares, we know it is not a rime element in Z[i]. Proosition 10. If an odd rime is a sum of suares, it is congruent to 1 (mod ) and not a rime element in Z[i]. Suose a 2 + b 2. Since is odd, exactly one of a or b must be odd, and the other even. For the roof, we let a be odd. Let a 2m + 1 and let b 2n. Then we have: a 2 + b 2 (2m + 1) 2 + (2n) 2 m 2 + m n 2 1 (mod ) Thus if 1 (mod ), reresents the norm of two rimes in Z[i]. For examle, 13 1 (mod ) and 13 N(π 1 ) N(π 2 ), where π i and π i. We note that π 2 i π 1. (Here, we also note that counting rimes in one uadrant is the same as counting rimes uniue u to associated elements). Proosition 11. If an odd rime is congruent to 3 (mod ), then is a rime element in Z[i]. For the roof, suose for contradiction that we can factor into (a + bi) (c + di). Using the multilicative roerty of the norm function, we have: N() N(a + bi) N(c + di) 2 (a 2 + b 2 ) (c 2 + d 2 ) Since is rime, 2 can only be either 1 2 or. Since we do not want a unit as a factor, we let (a 2 + b 2 ) and (c 2 + d 2 ). However, by roosition 10, we know that a solution would imly that is a sum of suares; i.e. 1 (mod ). Thus, 3 (mod ) cannot be factorized; i.e. is a Gaussian rime. 12

13 We now have enough information to classify a Gaussian rime into one of three general cases. Let u be a unit in Z[i]. Then: u(1 + i) Since 2 N(1 + i) u(a + bi) a 2 + b 2 1 (mod ) u() 3 (mod ) Figure 1: Plot of Gaussian rimes with norm Thus, we can see that rimes in Z with uadratic residue (modulo ) are not rimes in Z[i]. Instead, they reresent the norms of two searate Gaussian rimes. We can use this to derive an euation for the exact count of Gaussian rimes (uniue u to associated elements) within a certain norm. Let π G (x) reresent the count of Gaussian rimes u to norm x, then: π G (x) 2π(x;, 1) + π( x;, 3) + 1 The extra count is to include the Gaussian rime at 1 + i, which has norm 2. In addition, we can extend our rime number theorem in the rational integers () to a rime number theorem in the Gaussian integers by a modification of Dirichlet s Theorem (5). Moreover, we note the infinitude of Gaussian rimes by their intimate connection with Dirichlet s Theorem for rimes in mod rogressions. π G (x) 2x x φ() log(x) + φ() log( x) The first term reresents the aroximation of rimes congruent to 1 (mod ), which are the norms of two rimes in Z[i]. The second term reresents the aroximation of rimes congruent to 3 (mod ), which have a norm of 2 for n + 3. More recisely, we have: lim x π G (x) 2x φ() log(x) + 13 x φ() log( x) 1 (16)

14 The following code can be used in Sage to generate lots of Gaussian rimes within a secified norm 3 : def gi_of_norm(max_norm): Gaussian_rimes {} Gaussian_integers {} Gaussian_integers[0] [(0,0)] for x in range(1, ceil(srt(max_norm))): for y in range(0, ceil(srt(max_norm - x^2))): N x^2 + y^2 if Gaussian_integers.has_key(N): Gaussian_integers[N].aend((x,y)) else: Gaussian_integers[N] [(x,y)] if(y 0 and is_rime(x) and x%3): have_rime True elif is_rime(n) and N%1 or N2: have_rime True else: have_rime False if have_rime: if Gaussian_rimes.has_key(N): Gaussian_rimes[N].aend((x,y)) else: Gaussian_rimes[N] [(x,y)] return Gaussian_rimes,Gaussian_integers def all_gaussian_rimes_u_to_norm(n): gis gi_of_norm(n)[0] return flatten([uni([(x,y), (-y,x), (y,-x), (-x,-y)]) for x,y in flatten(gis.values(), max_level1)], max_level1) N ### Declare norm here (in lace of 10609) Pscatter_lot(all_gaussian_rimes_u_to_norm(N), markersizerr(1000)/(n/50)) P.show(asect_ratio1, figsize13, svgfalse, axes False) 2 Findings in the Rational Primes 2.1 Bias in the Legendre Symbols of Primes Modulo Another Prime One henomenon we wished to study in detail was Chebyshev s bias, secifically in regards to a randomly selected rime being more likely to have nonuadratic residue modulo some other rime. We aroached this by first attemting to model the bias as a random walk using Legendre symbol values as stes. Let and be two randomly selected rime numbers. Then, according to Chebyshev s bias, ( ) has a slightly less than half robability of being a uadratic residue (i.e. returning a 1). If we fix and let iterate through all rimes, we get a seuence of 1s and ( 1)s (with the excetion of when, in which case we have 0). If modeling as a random walk, the summation of our seuence should not wander far from y t, where t denotes the index of the rime number. Indeed, this is the case with all observed values of u to the final value of (we tested for rimes < 1000 and for iterating over rimes < 10, 000, 000). However, there is a noticeable bias in the summation. Most of the time, the summation of Legendre symbol values is negative, suorting the claim that there are slightly more nonuadratic residues. 3 We also created a video animation of Gaussian rime lots with norms from 10 1 to 10 7 : htts://youtu.be/jrbcmxglvju 1

15 Figure 2: Legendre Symbol walk for 97 We wished to model the average behavior of our Legendre symbol walks. To do this, we recorded the ratio of uadratic residues in each of our walks for fixed as we increase the range of rimes over which iterates. For examle, when 97 and iterates over all rimes less than 1000, the ratio is When we allow to iterate over all rimes less than 10, 000, 000, the ratio of uadratic residues increases to We then lotted the average ratio for 167 values of ( {3 all rimes < 1000}). In addition, we lotted the within- standard deviation of our ratio for each range of iterated. Since most rimes have nonuadratic residue modulo another rime, the average ratio seems to converge to 0.50 from below as we increase the -range. Figure 3: Plot of the Average Ratios. Horizontal axis denotes log(x), where x is the range over which iterates. Vertical bars reresent 1 standard deviation ( ) We reeated our exeriments with for fixed and varying and arrived at similar results. For 1 ( ) ( ) (mod ), we know from uadratic recirocity that, so the contribution is the same (see theorem ) ) 10 in [10]). For 3 (mod ),. However, Chebyshev s bias still exists (i.e. there are slightly fewer +1s than -1s). As a result, the average behavior is similar. ( ( 15

16 2.2 Bias in the Legendre Symbols of consecutive Primes Our next exeriment in the rational rimes was to examine the ratio of consecutive uadratic or nonuadratic residues for rimes modulo a fixed rime. I.e. we wished to model the behavior of the ratio of 1, 1s or 1, 1s. Since the robability of (mod ) being is uadratic residue is very slightly less than 0.5, we should exect exect our average ratio to converge to ( 1 n 1 2) from below, where n denotes the length of the consecutive chain. For examle, for the ratio of three consecutive uadratic or nonuadratic residues, we exect to obtain aroximately: ( 1 2 )3 + ( 1 2 )3 ( 1 2 )3 1. (The first term in the summation reresents the robability of 3 consecutive uadratic residues, and the second term reresents the robability of 3 consecutive nonuadratic residues). However, in a very recent aer (March, 2016), R. Lemke Oliver and K. Soundararajan [11], note that there is a much stronger bias in the residue of consecutive rimes than exected. We set out to model this (stronger) bias with our Legendre symbol walk. We reeated our average ratio exeriment as in section 2.1. However, we instead searched for 2, 3, and consecutive residues having the same sign. We notice that the average ratios converge to their exected values uite slowly, suorting R. Lemke Oliver and K. Soundararajan s recent discovery. Figure : From Left to Right: Two Consecutive, Three Consecutive, Four Consecutive 2.3 Bias in the Legendre Symbols Modulo Primes in the Mod Races We reeated our Legendre symbol walk with fixed, but for varying only over rimes congruent to 1 (mod ), and again with rimes congruent to 3 (mod ). We observed Chebyshev s bias in both cases (on average). However, when varied over rimes congruent to 1 (mod ), we noticed a much stronger bias. For examle, if we consider the walks for 97, the walk for 1 (mod ) seems to lie mostly below the t-axis. On the other hand, the walk for 3 (mod ) seems to lie mostly above the t-axis. Figure 5: From Left to Right: iterating over all, 1 (mod ), 3 (mod ). Iteration range for in all lots is 10, 000,

17 We wished to check if this attern exists on average. For 1 (mod ), the average converges to 0.50 more slowly than the average for 3 (mod ). It seems that only allowing to iterate over rimes with nonuadratic residue (mod ) removes, or at least diminishes, some art of Chebyshev s bias. We noticed a similar, but less distinct (see section 2.2 and [7]), attern while testing for consecutive residues being the same. Figure 6: Average ratios of uadratic residues for Left: 1 (mod ). Right: 3 (mod ). The following simle code can be used in Sage to generate a lot for Legendre symbol walks of #declares maximum -iteration range maxn10^7 #P must be an odd rime for legendre_symbol(,p) to be defined P 97 rimes rime_range(3, maxn) m{1:[], 3:[]} m[1] [ for in rimes if % 1] m[3] [ for in rimes if % 3] #relace "3" with "1" to model walk with uadratic residues (mod ) lp [legendre_symbol(, P) for in m[3]] rint "Legendre symbol walk for P{} and iterating over rimes less than {}".format(p,maxn) ( ) sum_lp TimeSeries(lP).sums() #relace "3" with "1" to model walk with uadratic residues (mod ) sum_lp.lot()+lot([srt(x),-srt(x)],(x,0,len(m[3]))) ( ) : 17

18 3 Findings in the Gaussian Primes Chebyshev s bias in the rational rimes has been well-documented. However, there has been comaratively less exerimental research on such a bias in the Gaussian rimes. In this section, we extend our model of Legendre symbol walks to the Gaussian rimes to see if a similar bias occurs. To do this, we must first introduce a way to ma a Gaussian integer to its residue in the rational integers modulo a Gaussian rime. Proosition 12. A ma that sends a Gaussian rime a + bi to a residue r (mod π), where π + βi, is an isomorhism of rings between Z[i]/πZ[i] and Z/Z, where N(π). In articular, if π is an irreducible element in Z[i], then the residue class ring Z[i]/πZ[i] is a finite field with N(π) elements. A rigorous roof of roosition 12 can be found in [12] as Theorem 12. We first start with a soft roof as motivation for calculating a residue before showing a more rigorous roof. For two rimes and, the Euclidean algorithm shows that the gcd(, ) 1. This fact allows us to easily calculate the residue of (mod ). Let and be rime numbers with >. Let n and r be integers: n + r r n r 0 (mod ) r (mod ) Where r is a element from (Z/Z) ; i.e. r is an element from the set of totatives of. We can extend this algorithm to the Gaussian rimes. Let a + bi and π + βi denote Gaussian rimes with N(a + bi) > N( + βi) N(π). We can then write: We then grou the real and imaginary terms: a + bi π(φ + iψ) + r a + bi ( + βi)(φ + iψ) + r a + bi φ + iψ + βiφ βψ + r a φ βψ + r b ψ + βφ Use the imaginary comonent to solve for ψ, then solve for a: ψ b βφ ( b βφ a φ β a φ bβ + β2 φ Rearrange, multily both sides by, and solve for r: a + bβ + r φ + β2 φ a + bβ r φ( 2 + β 2 ) ) + r + r a + bβ r 0 (mod 2 + β 2 ) a + bβ r (mod 2 + β 2 ) r a + 1 bβ (mod 2 + β 2 ) (17) where r is an element from (Z/( 2 + β 2 )Z) (Z/N(π)Z) (Z/Z) since 2 + β 2 N(π). 18

19 The idea is to use this residue to calculate the value of a Gaussian Legendre symbol [ ] a+bi π with the hoe of observing a bias as in the rationals. First, we must lay the groundwork by introducing several concets. (A comrehensive reference by Nancy Buck regarding Gaussian Legendre symbols, which includes the full roofs for the following roositions, can be found in [12]. Since many of the roofs are uite lengthy, we will only highlight sections relevant for our model). Definition 15. For k, l, π Z[i], let π be a Gaussian rime u(1+i) and such that k and l are not divisible by π. The Gaussian Legendre symbol has the following roerties: [ ] [ ] k l for k l (mod π) π π [ ] [ ] [ ] k l kl π π π For N(π), the second oint can be euivalently exressed as: [ ] k l 2 (kl) 1 kl 2 (mod π) π In addition, we have an analog of Euler s criterion in the Gaussian Legendre symbols: [ ] k k ( 1)/2 π Theorem 3. Every Gaussian Legendre symbol can be exressed in terms of a Legendre symbol in the rational integers. [ ] k In articular, we have the following two euations for. Let k a + bi, π + βi, and N(π). Then: π [ ] ( a + bi a 2 + b 2 ) ; π 3 (mod ) (18) [ ] ( ) a + bi a + bβ ; N(π) 1 (mod ) (19) + βi Recall that if π is a rime element in Z[i], a zero imaginary art imlies that π 3 (mod ). For the roof of euation (18), we must show that there exists an element x Z[i] such that x 2 a + bi (mod ) has a solution. We set x φ + ψi so that φ 2 ψ 2 + 2φψi a + bi (mod ). Then we have the following two congruences by grouing real and imaginary terms: φ 2 ψ 2 a (mod ) 2φψ a (mod ) We then suare each congruence and add them together to get: φ + 2φ 2 ψ 2 + ψ (φ 2 + ψ 2 ) 2 a 2 + b 2 (mod ) It then suffices to check that there exists φ and ψ Z[i] such that both congruences have [ simultaneous ] a + bi solutions for the cases a 0 (mod ) and a 0 (mod ) (shown in [12]). Doing so shows that 1 ( a 2 + b 2 ) [ ] ( a + bi a 2 + b 2 ) if and only if 1. In other words, we arrive at euation (18):. We now wish to consider the more interesting case when N(π) 1 (mod ); i.e. when π + βi for, β Z\{0} and π (1 + i). Let be odd and β be even. Let k a + bi with a, b Z and gcd(π, k) 1. As above, we wish to determine if x 2 a + bi (mod π) has a solution for x Z[i]. 19

20 Recall that N(π) is a rime congruent to 1 (mod ). By roosition 12, we know the set of congruence class reresentatives modulo π is {0, 1, 2,..., 1}. This allows us to only consider x Z when determining if x 2 a + bi (mod π) has a solution. We start by writing our congruence as an euivalence. The congruence x 2 a + bi (mod π) is solvable if and only if there exists x, φ, ψ Z such that: x 2 a bi (φ + ψi)( + βi) x 2 a bi φ + φβi + ψi βψ We then grou the real and imaginary terms into searate euations: x 2 φ βψ b φβ + ψ Then we multily the real art by and the imaginary art by β and add: x 2 a φ 2 βψ bβ φβ 2 + βψ x 2 a bβ φ 2 + φβ 2 x 2 a bβ φ x 2 φ + a + bβ Converting back to a congruence statement modulo, we arrive at the following result: x 2 a + bβ (mod ) ( x 2 ) ( ) ( ) ( a + bβ a + 1 ) ( ) ( ) bβ r (20) ( ) All that remains is to show that 1. To do this, we use the law of uadratic recirocity as described in roosition 8: ( ) ( ( 1) ( 1)( 1)/ ) ( ) ( Since 1 (mod ), 1 0 (mod ). Thus,. In addition, recall that ) 2 + β 2, so ( ) ( ( ) ( ) ( ) β β 2 2 β β (mod ). Thus, we can write. It is then clear that regardless ( ) ( ) ) β of the value of, we have 1. In conclusion, we arrive at euation (19): [ ] a + bi + βi The Exeriment. ( ) a + bβ ( ) r While imlementing our random walk model on Sage, we decided to fix π + βi and let a + bi iterate over Gaussian rimes in the first uadrant sorted by increasing norm. In the case of a + bi a 3 (mod ), the sorting is obvious. However, when N(a + bi) 1 (mod ), there are exactly two (distinct) Gaussian rimes with norm (we have a + bi and b + ai i(a + bi), where a 2 + b 2 ). When this is the case, we sort by the size of the real comonent. (For examle, when 17 N(1 + i) and N( + i), we find the residue of 1 + i (mod π) first and then roceed to find the residue of + i (mod π)). 20

21 When viewed individually, the resulting lots resemble the Legendre symbol walks in section 2.1. However, we observe an interesting henomenon when comaring walks that have the same N(π 1 ) N(π 2 ) where π 1 and π 2 are fixed with a + bi iterating. We noticed for some, the lots for π 1 and π 2 have strong ositive correlation. For other, the lots for π 1 and π 2 have strong negative correlation. Figure 7: Gaussian Legendre symbol walks for 97 (strong [ ositive ] correlation) [ ] a + bi a + bi Left:. Right: + 9i 9 + i. Figure 8: Gaussian Legendre symbol walks for 29 (strong [ negative ] correlation) [ ] a + bi a + bi Left:. Right: 2 + 5i 5 + 2i. Before we attemt to (artially) exlain this henomenon, we must first introduce additional theory. Theorem. The following 3 roerties hold for the Gaussian Legendre symbol [ ] i + βi [ ] 1 + i + βi [ ] a + bi + βi ( 1) 1 (21) ( 1) (+β) (22) [ ] + βi a + bi (23) 21

22 The roof of euation (21) is as follows: [ ] From Euler s criterion in the Gaussian Legendre symbols, we know that i ( 1)/2 i + βi We note that i ( 1)/2 can be rewritten as follows: i i ( 1) 1. (mod + βi). Thus, we have the congruence: [ ] ( 1) 1 i + βi For a roof by contradiction, we assume that the left side the right side. Then let 1 1 (mod + βi). Converting the congruence to an euivalence, we get: We then take norms of both sides and simlify: 2 ( + βi)(φ + ψi) N( 2) N( + βi)n(φ + ψi) N(φ + ψi) This imlies that, which cannot be true since 1 (mod ). Therefore, we arrive at euation (21): [ ] i ( 1) 1. + βi For the roof of euation (22), we must consider two cases: when β 0 and when β 0. Case 1: let β 0, so 2 and 3 (mod ). Recall our relations between the Gaussian Legendre symbols and the Legendre symbols in the rational integers as shown in theorem 3. From euation (18), we have: [ ] ( ) ( ) 1 + i Recall our second sulement of uadratic recirocity in the rational integers. We can then exress this as: ( ) 2 ( 1) ( 1) (+β)2 1 8 Case 2: Let β 0, so 2 + β 2 and 3 (mod ). By euation (19), we have: [ ] ( ) 1 + i + β. + βi Since our model only uses rime elements in the first uadrant, we assume that + β > 1 (the full roof without this assumtion can be found in [12]). We continue by using the law of uadratic recirocity: ( ) + β ( 1) ( 1 2 )( +β 1 2 ) ( ) + β Since 1 (mod ), then ( ) ( 1 2 is always even. Thus, 1 ) ( ) ( ) ( ) +β 1 + β 2 2 is even. So. + β 22

23 Next, we multily by 2 and aly a clever series of maniulations. We note that: 2 2( 2 + β 2 ) 2 + 2β + β 2 2β ( 2 + β 2 )( 2 β 2 ) 0 ( + β) 2 + ( β) 2 2 ( + β) 2 ( β) ( β) 2 2 (mod + β) 2 ( β) 2 (mod + β) Let x ( β) 2. Then there exists a solution to the congruence x 2 2 (mod + β). Then we have: ( ) ( ) ( ) x 2 x x 1 + β + β + β ( ) ( ) x β + β ( ) ( ) ( ) β + β + β ( ) ( ) ( ) [ ] 2 + β 1 + i Which imlies that. Using the second sulement to + β + β + βi uadratic recirocity, we have: [ ] ( ) 1 + i 2 ( 1) (+β) βi + β For the roof of euation (23), we must consider three cases: 1. b β 0 2. b 0 and β 0 3. b 0 and β 0. Case 1: Let b β 0. Then by euation (18): [ [ a a 2 ] [ ] [ 2 a a [ a [ ] It is then clear that 1. ] a ] 1 ] 1 Case 2: Assume b 0 and β 0. Then: [ ] ( ) ( ) ( ) ( ) a a a a + βi ( ) Recall we have already shown in theorem 3 that 1. Then we have: [ ] ( + βi 2 + β 2 ) ( a a a) 23

24 From uadratic recirocity, we know that ( ) a (. Thus, we have: a) [ ( ) a ( ( 1) ( 1)(a 1) Since 1 (mod ), we then see that a) a + βi ] [ + βi a Case 3: Assume both b and β are nonzero. Since a + bi and + βi are distinct odd Gaussian rimes, we have: [ ] [ ] a + bi a + bβ + βi [ ] [ ] + βi a + bβ a + bi where 2 +β 2 and a 2 +b 2. Since we are working in the first uadrant, we assume that a+bβ > 1. We then wish to erform another maniulation (the idea is similar to the roof of euation (22)). In articular, we wish to show that a certain congruence is solvable (mod a + bβ). We note that: (a + bβ) 2 + (aβ b) 2 a abβ + b 2 β 2 + a 2 β 2 2abβ + b 2 2 (a + bβ) 2 + (aβ b) 2 ]. a b 2 β 2 + a 2 β 2 + b 2 2 ( 2 + β 2 )(a 2 + b 2 ) (a + bβ) 2 (aβ b) 2 0 (aβ b) 2 (mod a + bβ) (aβ b) 2 We then set aβ b x. Thus we have the congruence: (mod a + bβ) x 2 (mod a + bβ). To finish the roof, we show: ( ) ( ) ( ) x 2 x x 1 a + bβ a + bβ a + bβ ( ) ( ) ( ) 1 a + bβ a + bβ a + bβ ( ) ( ) which imlies that. Since we know that and are rimes in Z that are congruent a + bβ a + bβ ( ) ( ) a + bβ a + bβ to 1 (mod ), by uadratic recirocity, we can euivalently write this as:. By [ ] [ ] a + bi + βi alying euation (19) of theorem 3, we then see that. + βi a + bi 2

25 We now attemt to exlain the strong (±) correlations we observed between Gaussian Legendre symbol walks with π 1 and π 2 fixed, where π 2 iπ 1 and for a + bi iterating over Gaussian rimes in the first uadrant. [ ] [ ] a + bi b + ai We first wish to establish a relationshi between and. This will allow us to find their + βi [ ] + βi [ ] [ ] [ ] a + bi b + ai b + ai a + bi combined contribution. (Recall the iteration order is one of or, + βi + βi + βi + βi based on the size of the real art). [ ] [ ] a + bi b + ai To find the conditions such that we set: + βi + βi [ ] [ ] a + bi b + ai 1 + βi + βi [ ab + a 2 i + b 2 ] i ab + βi [ ] [ i a 2 + b 2 ] + βi + βi [ ] ( 1) ( 1)/ + βi ( ) ( ) ( 1) ( 1)/ ( ) ( 1) ( 1)/ (2) ( ) ( ) if 1 1, or if 1 is odd and 1. The conditions [ ] [ ] a + bi b + ai Thus, + βi [ + βi ] a + bi for the euivalence of β + i is even and [ ] b + ai are similar. β + i Case ( ) 1: Let π 1 + βi and π 2 β + i, where N(π 1 ) N(π 2 ). Let 1 be an even integer. Suose 1. Then by our euivalence relations, we have: [ ] [ ] [ ] [ ] a + bi b + ai a + bi b + bi and + βi + βi β + i β + i [ ] [ ] [ ] [ ] a + bi b + ai b + ai a + bi Thus, whether the iteration order is or, the combined contribution is one of ±2. The same is true with or. + βi [ ] + βi [ ] + βi [ ] + βi [ ] a + bi b + ai b + ai a + bi β + i β + i β + i β + i ( ) We now consider the case when 1 is still an even integer, but 1. Then by our euivalence relations, we have: [ ] [ ] [ ] [ ] a + bi b + ai a + bi b + ai and + βi + βi β + i β + i Thus, for any norm-sorted iteration order, the combined contribution will be 0. ( ) Case 2: Now we let 1 be an odd integer. Suose 1. From our euivalence relations, we know that: [ ] [ ] [ ] [ ] a + bi b + ai a + bi b + ai and + βi + βi β + i β + i 25

26 Then for any norm-sorted iteration order, the combined contribution from a + bi and b + ai will be zero for both walks of π 2 and π 2. ( ) [ ] [ ] Now we consider the case when 1 is still odd, but a + bi b + ai 1. In this case,. Thus, + βi + βi for any norm-sorted iteration order, the combined contribution will be one of ±2. [ ] [ ] a + bi a + bi If we can establish the conditions for euivalence between and we will be able to fully + βi β + i exlain the strong ositive and negative correlations observed. (Note: it still remains to show what haens when a + bi iterates over Gaussian rimes a + bi a 3 (mod ). However, since rime elements of this form are much more sarse by euation (16), we can ignore them for the uroses of our exlanation). Unfortunately, we found it uite difficult to rigorously ( ) rove the euivalence conditions (in articular, because the Legendre (more recisely, Jacobi) symbol is not defined for β an even integer), so we leave it as a β conjecture. [ ] [ ] a + bi a + bi Conjecture. The euivalence between and deends only on the value of the Legendre ( ) [ ] [ + βi ] ( β ) + i [ ] [ ] ( ) a + bi a + bi a + bi a + bi symbol. In articular, if 1, and if 1. + βi β + i + βi β + i We will use the following shorthand notation for clarity and convenience: [ ] [ ] a + bi b + ai π 1a π 1b + βi + βi [ ] [ ] a + bi b + ai π 2a π 2b β + i β + i π 1 π 1a + π 1b π 2 π 2a + π 2b To summarize, we have shown (conjectured) the following relations: ( ) π 1a π 1b ( 1) ( 1)/ ( ) π 2a π 2b ( 1) ( 1)/ ( ) π 1a π 2a ( ) π 1b π 2b (25) (26) (27) (28) We can now exlain the strong (±) correlations between lots for π 1 and π 2 fixed. ( ) Consider the case when 1 is even and 1. If π 1a 1 (res. 1), then by euation (25), π 1b 1 (res. 1). Using( euation ) (27), π 2a 1 (res. 1), and by euation (26), π 2b 1 (res. 1). Thus, when 1 is even and 1, the walks for π 1 and π 2 move exactly together with combined contribution one ( ) of ±2. Consider the case when 1 is even and 1. If π 1a 1 (res. 1), then by euation (25), π 1b 1 (res. 1). Using euation (27), π 2a 1 (res. 1), and by euation (26), π 2b 1 (res. 1). Then π 1 and π 2 do not move together, but the combined contribution for that articular is 0, so there is little movement and the correlation remains close to

RECIPROCITY LAWS JEREMY BOOHER

RECIPROCITY LAWS JEREMY BOOHER RECIPROCITY LAWS JEREMY BOOHER 1 Introduction The law of uadratic recirocity gives a beautiful descrition of which rimes are suares modulo Secial cases of this law going back to Fermat, and Euler and Legendre

More information

ANALYTIC NUMBER THEORY AND DIRICHLET S THEOREM

ANALYTIC NUMBER THEORY AND DIRICHLET S THEOREM ANALYTIC NUMBER THEORY AND DIRICHLET S THEOREM JOHN BINDER Abstract. In this aer, we rove Dirichlet s theorem that, given any air h, k with h, k) =, there are infinitely many rime numbers congruent to

More information

2 Asymptotic density and Dirichlet density

2 Asymptotic density and Dirichlet density 8.785: Analytic Number Theory, MIT, sring 2007 (K.S. Kedlaya) Primes in arithmetic rogressions In this unit, we first rove Dirichlet s theorem on rimes in arithmetic rogressions. We then rove the rime

More information

2 Asymptotic density and Dirichlet density

2 Asymptotic density and Dirichlet density 8.785: Analytic Number Theory, MIT, sring 2007 (K.S. Kedlaya) Primes in arithmetic rogressions In this unit, we first rove Dirichlet s theorem on rimes in arithmetic rogressions. We then rove the rime

More information

MATH 361: NUMBER THEORY EIGHTH LECTURE

MATH 361: NUMBER THEORY EIGHTH LECTURE MATH 361: NUMBER THEORY EIGHTH LECTURE 1. Quadratic Recirocity: Introduction Quadratic recirocity is the first result of modern number theory. Lagrange conjectured it in the late 1700 s, but it was first

More information

A CONCRETE EXAMPLE OF PRIME BEHAVIOR IN QUADRATIC FIELDS. 1. Abstract

A CONCRETE EXAMPLE OF PRIME BEHAVIOR IN QUADRATIC FIELDS. 1. Abstract A CONCRETE EXAMPLE OF PRIME BEHAVIOR IN QUADRATIC FIELDS CASEY BRUCK 1. Abstract The goal of this aer is to rovide a concise way for undergraduate mathematics students to learn about how rime numbers behave

More information

MATH342 Practice Exam

MATH342 Practice Exam MATH342 Practice Exam This exam is intended to be in a similar style to the examination in May/June 2012. It is not imlied that all questions on the real examination will follow the content of the ractice

More information

Dirichlet s Theorem on Arithmetic Progressions

Dirichlet s Theorem on Arithmetic Progressions Dirichlet s Theorem on Arithmetic Progressions Thai Pham Massachusetts Institute of Technology May 2, 202 Abstract In this aer, we derive a roof of Dirichlet s theorem on rimes in arithmetic rogressions.

More information

3 Properties of Dedekind domains

3 Properties of Dedekind domains 18.785 Number theory I Fall 2016 Lecture #3 09/15/2016 3 Proerties of Dedekind domains In the revious lecture we defined a Dedekind domain as a noetherian domain A that satisfies either of the following

More information

Jacobi symbols and application to primality

Jacobi symbols and application to primality Jacobi symbols and alication to rimality Setember 19, 018 1 The grou Z/Z We review the structure of the abelian grou Z/Z. Using Chinese remainder theorem, we can restrict to the case when = k is a rime

More information

Math 4400/6400 Homework #8 solutions. 1. Let P be an odd integer (not necessarily prime). Show that modulo 2,

Math 4400/6400 Homework #8 solutions. 1. Let P be an odd integer (not necessarily prime). Show that modulo 2, MATH 4400 roblems. Math 4400/6400 Homework # solutions 1. Let P be an odd integer not necessarily rime. Show that modulo, { P 1 0 if P 1, 7 mod, 1 if P 3, mod. Proof. Suose that P 1 mod. Then we can write

More information

The Hasse Minkowski Theorem Lee Dicker University of Minnesota, REU Summer 2001

The Hasse Minkowski Theorem Lee Dicker University of Minnesota, REU Summer 2001 The Hasse Minkowski Theorem Lee Dicker University of Minnesota, REU Summer 2001 The Hasse-Minkowski Theorem rovides a characterization of the rational quadratic forms. What follows is a roof of the Hasse-Minkowski

More information

t s (p). An Introduction

t s (p). An Introduction Notes 6. Quadratic Gauss Sums Definition. Let a, b Z. Then we denote a b if a divides b. Definition. Let a and b be elements of Z. Then c Z s.t. a, b c, where c gcda, b max{x Z x a and x b }. 5, Chater1

More information

QUADRATIC RECIPROCITY

QUADRATIC RECIPROCITY QUADRATIC RECIPROCITY JORDAN SCHETTLER Abstract. The goals of this roject are to have the reader(s) gain an areciation for the usefulness of Legendre symbols and ultimately recreate Eisenstein s slick

More information

DIRICHLET S THEOREM ABOUT PRIMES IN ARITHMETIC PROGRESSIONS. Contents. 1. Dirichlet s theorem on arithmetic progressions

DIRICHLET S THEOREM ABOUT PRIMES IN ARITHMETIC PROGRESSIONS. Contents. 1. Dirichlet s theorem on arithmetic progressions DIRICHLET S THEOREM ABOUT PRIMES IN ARITHMETIC PROGRESSIONS ANG LI Abstract. Dirichlet s theorem states that if q and l are two relatively rime ositive integers, there are infinitely many rimes of the

More information

MATH 250: THE DISTRIBUTION OF PRIMES. ζ(s) = n s,

MATH 250: THE DISTRIBUTION OF PRIMES. ζ(s) = n s, MATH 50: THE DISTRIBUTION OF PRIMES ROBERT J. LEMKE OLIVER For s R, define the function ζs) by. Euler s work on rimes ζs) = which converges if s > and diverges if s. In fact, though we will not exloit

More information

MATH 3240Q Introduction to Number Theory Homework 7

MATH 3240Q Introduction to Number Theory Homework 7 As long as algebra and geometry have been searated, their rogress have been slow and their uses limited; but when these two sciences have been united, they have lent each mutual forces, and have marched

More information

Elementary Analysis in Q p

Elementary Analysis in Q p Elementary Analysis in Q Hannah Hutter, May Szedlák, Phili Wirth November 17, 2011 This reort follows very closely the book of Svetlana Katok 1. 1 Sequences and Series In this section we will see some

More information

Math 5330 Spring Notes Prime Numbers

Math 5330 Spring Notes Prime Numbers Math 5330 Sring 208 Notes Prime Numbers The study of rime numbers is as old as mathematics itself. This set of notes has a bunch of facts about rimes, or related to rimes. Much of this stuff is old dating

More information

CERIAS Tech Report The period of the Bell numbers modulo a prime by Peter Montgomery, Sangil Nahm, Samuel Wagstaff Jr Center for Education

CERIAS Tech Report The period of the Bell numbers modulo a prime by Peter Montgomery, Sangil Nahm, Samuel Wagstaff Jr Center for Education CERIAS Tech Reort 2010-01 The eriod of the Bell numbers modulo a rime by Peter Montgomery, Sangil Nahm, Samuel Wagstaff Jr Center for Education and Research Information Assurance and Security Purdue University,

More information

MA3H1 TOPICS IN NUMBER THEORY PART III

MA3H1 TOPICS IN NUMBER THEORY PART III MA3H1 TOPICS IN NUMBER THEORY PART III SAMIR SIKSEK 1. Congruences Modulo m In quadratic recirocity we studied congruences of the form x 2 a (mod ). We now turn our attention to situations where is relaced

More information

HENSEL S LEMMA KEITH CONRAD

HENSEL S LEMMA KEITH CONRAD HENSEL S LEMMA KEITH CONRAD 1. Introduction In the -adic integers, congruences are aroximations: for a and b in Z, a b mod n is the same as a b 1/ n. Turning information modulo one ower of into similar

More information

QUADRATIC RECIPROCITY

QUADRATIC RECIPROCITY QUADRATIC RECIPROCITY JORDAN SCHETTLER Abstract. The goals of this roject are to have the reader(s) gain an areciation for the usefulness of Legendre symbols and ultimately recreate Eisenstein s slick

More information

DIRICHLET S THEOREM ON PRIMES IN ARITHMETIC PROGRESSIONS. 1. Introduction

DIRICHLET S THEOREM ON PRIMES IN ARITHMETIC PROGRESSIONS. 1. Introduction DIRICHLET S THEOREM ON PRIMES IN ARITHMETIC PROGRESSIONS INNA ZAKHAREVICH. Introduction It is a well-known fact that there are infinitely many rimes. However, it is less clear how the rimes are distributed

More information

Math 104B: Number Theory II (Winter 2012)

Math 104B: Number Theory II (Winter 2012) Math 104B: Number Theory II (Winter 01) Alina Bucur Contents 1 Review 11 Prime numbers 1 Euclidean algorithm 13 Multilicative functions 14 Linear diohantine equations 3 15 Congruences 3 Primes as sums

More information

PRIME NUMBERS YANKI LEKILI

PRIME NUMBERS YANKI LEKILI PRIME NUMBERS YANKI LEKILI We denote by N the set of natural numbers:,2,..., These are constructed using Peano axioms. We will not get into the hilosohical questions related to this and simly assume the

More information

QUADRATIC RECIPROCITY

QUADRATIC RECIPROCITY QUADRATIC RECIPROCIT POOJA PATEL Abstract. This aer is an self-contained exosition of the law of uadratic recirocity. We will give two roofs of the Chinese remainder theorem and a roof of uadratic recirocity.

More information

01. Simplest example phenomena

01. Simplest example phenomena (March, 20) 0. Simlest examle henomena Paul Garrett garrett@math.umn.edu htt://www.math.umn.edu/ garrett/ There are three tyes of objects in lay: rimitive/rimordial (integers, rimes, lattice oints,...)

More information

GAUSSIAN INTEGERS HUNG HO

GAUSSIAN INTEGERS HUNG HO GAUSSIAN INTEGERS HUNG HO Abstract. We will investigate the ring of Gaussian integers Z[i] = {a + bi a, b Z}. First we will show that this ring shares an imortant roerty with the ring of integers: every

More information

Algebraic Number Theory

Algebraic Number Theory Algebraic Number Theory Joseh R. Mileti May 11, 2012 2 Contents 1 Introduction 5 1.1 Sums of Squares........................................... 5 1.2 Pythagorean Triles.........................................

More information

Chapter 3. Number Theory. Part of G12ALN. Contents

Chapter 3. Number Theory. Part of G12ALN. Contents Chater 3 Number Theory Part of G12ALN Contents 0 Review of basic concets and theorems The contents of this first section well zeroth section, really is mostly reetition of material from last year. Notations:

More information

We collect some results that might be covered in a first course in algebraic number theory.

We collect some results that might be covered in a first course in algebraic number theory. 1 Aendices We collect some results that might be covered in a first course in algebraic number theory. A. uadratic Recirocity Via Gauss Sums A1. Introduction In this aendix, is an odd rime unless otherwise

More information

MATH 371 Class notes/outline October 15, 2013

MATH 371 Class notes/outline October 15, 2013 MATH 371 Class notes/outline October 15, 2013 More on olynomials We now consider olynomials with coefficients in rings (not just fields) other than R and C. (Our rings continue to be commutative and have

More information

QUADRATIC RESIDUES AND DIFFERENCE SETS

QUADRATIC RESIDUES AND DIFFERENCE SETS QUADRATIC RESIDUES AND DIFFERENCE SETS VSEVOLOD F. LEV AND JACK SONN Abstract. It has been conjectured by Sárközy that with finitely many excetions, the set of quadratic residues modulo a rime cannot be

More information

MATH 2710: NOTES FOR ANALYSIS

MATH 2710: NOTES FOR ANALYSIS MATH 270: NOTES FOR ANALYSIS The main ideas we will learn from analysis center around the idea of a limit. Limits occurs in several settings. We will start with finite limits of sequences, then cover infinite

More information

MAS 4203 Number Theory. M. Yotov

MAS 4203 Number Theory. M. Yotov MAS 4203 Number Theory M. Yotov June 15, 2017 These Notes were comiled by the author with the intent to be used by his students as a main text for the course MAS 4203 Number Theory taught at the Deartment

More information

Introduction to Arithmetic Geometry Fall 2013 Lecture #10 10/8/2013

Introduction to Arithmetic Geometry Fall 2013 Lecture #10 10/8/2013 18.782 Introduction to Arithmetic Geometry Fall 2013 Lecture #10 10/8/2013 In this lecture we lay the groundwork needed to rove the Hasse-Minkowski theorem for Q, which states that a quadratic form over

More information

Practice Final Solutions

Practice Final Solutions Practice Final Solutions 1. True or false: (a) If a is a sum of three squares, and b is a sum of three squares, then so is ab. False: Consider a 14, b 2. (b) No number of the form 4 m (8n + 7) can be written

More information

Factorability in the ring Z[ 5]

Factorability in the ring Z[ 5] University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln Dissertations, Theses, and Student Research Paers in Mathematics Mathematics, Deartment of 4-2004 Factorability in the ring

More information

Almost 4000 years ago, Babylonians had discovered the following approximation to. x 2 dy 2 =1, (5.0.2)

Almost 4000 years ago, Babylonians had discovered the following approximation to. x 2 dy 2 =1, (5.0.2) Chater 5 Pell s Equation One of the earliest issues graled with in number theory is the fact that geometric quantities are often not rational. For instance, if we take a right triangle with two side lengths

More information

Mobius Functions, Legendre Symbols, and Discriminants

Mobius Functions, Legendre Symbols, and Discriminants Mobius Functions, Legendre Symbols, and Discriminants 1 Introduction Zev Chonoles, Erick Knight, Tim Kunisky Over the integers, there are two key number-theoretic functions that take on values of 1, 1,

More information

Number Theory Naoki Sato

Number Theory Naoki Sato Number Theory Naoki Sato 0 Preface This set of notes on number theory was originally written in 1995 for students at the IMO level. It covers the basic background material that an IMO

More information

Representing Integers as the Sum of Two Squares in the Ring Z n

Representing Integers as the Sum of Two Squares in the Ring Z n 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 17 (2014), Article 14.7.4 Reresenting Integers as the Sum of Two Squares in the Ring Z n Joshua Harrington, Lenny Jones, and Alicia Lamarche Deartment

More information

MATH 371 Class notes/outline September 24, 2013

MATH 371 Class notes/outline September 24, 2013 MATH 371 Class notes/outline Setember 24, 2013 Rings Armed with what we have looked at for the integers and olynomials over a field, we re in a good osition to take u the general theory of rings. Definitions:

More information

MATH 361: NUMBER THEORY ELEVENTH LECTURE

MATH 361: NUMBER THEORY ELEVENTH LECTURE MATH 361: NUMBER THEORY ELEVENTH LECTURE The subjects of this lecture are characters, Gauss sums, Jacobi sums, and counting formulas for olynomial equations over finite fields. 1. Definitions, Basic Proerties

More information

MATH 361: NUMBER THEORY THIRD LECTURE

MATH 361: NUMBER THEORY THIRD LECTURE MATH 36: NUMBER THEORY THIRD LECTURE. Introduction The toic of this lecture is arithmetic functions and Dirichlet series. By way of introduction, consider Euclid s roof that there exist infinitely many

More information

1 Integers and the Euclidean algorithm

1 Integers and the Euclidean algorithm 1 1 Integers and the Euclidean algorithm Exercise 1.1 Prove, n N : induction on n) 1 3 + 2 3 + + n 3 = (1 + 2 + + n) 2 (use Exercise 1.2 Prove, 2 n 1 is rime n is rime. (The converse is not true, as shown

More information

Quadratic Reciprocity

Quadratic Reciprocity Quadratic Recirocity 5-7-011 Quadratic recirocity relates solutions to x = (mod to solutions to x = (mod, where and are distinct odd rimes. The euations are oth solvale or oth unsolvale if either or has

More information

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018 MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018 J. E. CREMONA Contents 0. Introduction: What is Number Theory? 2 Basic Notation 3 1. Factorization 4 1.1. Divisibility in Z 4 1.2. Greatest Common

More information

On the Multiplicative Order of a n Modulo n

On the Multiplicative Order of a n Modulo n 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 13 2010), Article 10.2.1 On the Multilicative Order of a n Modulo n Jonathan Chaelo Université Lille Nord de France F-59000 Lille France jonathan.chaelon@lma.univ-littoral.fr

More information

Almost All Palindromes Are Composite

Almost All Palindromes Are Composite Almost All Palindromes Are Comosite William D Banks Det of Mathematics, University of Missouri Columbia, MO 65211, USA bbanks@mathmissouriedu Derrick N Hart Det of Mathematics, University of Missouri Columbia,

More information

(Workshop on Harmonic Analysis on symmetric spaces I.S.I. Bangalore : 9th July 2004) B.Sury

(Workshop on Harmonic Analysis on symmetric spaces I.S.I. Bangalore : 9th July 2004) B.Sury Is e π 163 odd or even? (Worksho on Harmonic Analysis on symmetric saces I.S.I. Bangalore : 9th July 004) B.Sury e π 163 = 653741640768743.999999999999.... The object of this talk is to exlain this amazing

More information

arxiv: v1 [math.nt] 4 Nov 2015

arxiv: v1 [math.nt] 4 Nov 2015 Wall s Conjecture and the ABC Conjecture George Grell, Wayne Peng August 0, 018 arxiv:1511.0110v1 [math.nt] 4 Nov 015 Abstract We show that the abc conjecture of Masser-Oesterlé-Sziro for number fields

More information

Pythagorean triples and sums of squares

Pythagorean triples and sums of squares Pythagorean triles and sums of squares Robin Chaman 16 January 2004 1 Pythagorean triles A Pythagorean trile (x, y, z) is a trile of ositive integers satisfying z 2 + y 2 = z 2. If g = gcd(x, y, z) then

More information

Frobenius Elements, the Chebotarev Density Theorem, and Reciprocity

Frobenius Elements, the Chebotarev Density Theorem, and Reciprocity Frobenius Elements, the Chebotarev Density Theorem, and Recirocity Dylan Yott July 30, 204 Motivation Recall Dirichlet s theorem from elementary number theory. Theorem.. For a, m) =, there are infinitely

More information

x 2 a mod m. has a solution. Theorem 13.2 (Euler s Criterion). Let p be an odd prime. The congruence x 2 1 mod p,

x 2 a mod m. has a solution. Theorem 13.2 (Euler s Criterion). Let p be an odd prime. The congruence x 2 1 mod p, 13. Quadratic Residues We now turn to the question of when a quadratic equation has a solution modulo m. The general quadratic equation looks like ax + bx + c 0 mod m. Assuming that m is odd or that b

More information

SUMS OF TWO SQUARES PAIR CORRELATION & DISTRIBUTION IN SHORT INTERVALS

SUMS OF TWO SQUARES PAIR CORRELATION & DISTRIBUTION IN SHORT INTERVALS SUMS OF TWO SQUARES PAIR CORRELATION & DISTRIBUTION IN SHORT INTERVALS YOTAM SMILANSKY Abstract. In this work we show that based on a conjecture for the air correlation of integers reresentable as sums

More information

CS 6260 Some number theory. Groups

CS 6260 Some number theory. Groups Let Z = {..., 2, 1, 0, 1, 2,...} denote the set of integers. Let Z+ = {1, 2,...} denote the set of ositive integers and = {0, 1, 2,...} the set of non-negative integers. If a, are integers with > 0 then

More information

ISOSCELES TRIANGLES IN Q 3. Matt Noble Department of Mathematics, Middle Georgia State University, Macon, Georgia

ISOSCELES TRIANGLES IN Q 3. Matt Noble Department of Mathematics, Middle Georgia State University, Macon, Georgia #A9 INTEGERS 18 (2018) ISOSCELES TRIANGLES IN Q Matt Noble Deartment of Mathematics, Middle Georgia State University, Macon, Georgia matthew.noble@mga.edu Received: 7/2/17, Acceted: 2//18, Published: 2/19/18

More information

HASSE INVARIANTS FOR THE CLAUSEN ELLIPTIC CURVES

HASSE INVARIANTS FOR THE CLAUSEN ELLIPTIC CURVES HASSE INVARIANTS FOR THE CLAUSEN ELLIPTIC CURVES AHMAD EL-GUINDY AND KEN ONO Astract. Gauss s F x hyergeometric function gives eriods of ellitic curves in Legendre normal form. Certain truncations of this

More information

Characteristics of Fibonacci-type Sequences

Characteristics of Fibonacci-type Sequences Characteristics of Fibonacci-tye Sequences Yarden Blausa May 018 Abstract This aer resents an exloration of the Fibonacci sequence, as well as multi-nacci sequences and the Lucas sequence. We comare and

More information

arxiv: v1 [math.nt] 9 Sep 2015

arxiv: v1 [math.nt] 9 Sep 2015 REPRESENTATION OF INTEGERS BY TERNARY QUADRATIC FORMS: A GEOMETRIC APPROACH GABRIEL DURHAM arxiv:5090590v [mathnt] 9 Se 05 Abstract In957NCAnkenyrovidedanewroofofthethreesuarestheorem using geometry of

More information

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z: NUMBER SYSTEMS Number theory is the study of the integers. We denote the set of integers by Z: Z = {..., 3, 2, 1, 0, 1, 2, 3,... }. The integers have two oerations defined on them, addition and multilication,

More information

Practice Final Solutions

Practice Final Solutions Practice Final Solutions 1. Find integers x and y such that 13x + 1y 1 SOLUTION: By the Euclidean algorithm: One can work backwards to obtain 1 1 13 + 2 13 6 2 + 1 1 13 6 2 13 6 (1 1 13) 7 13 6 1 Hence

More information

p-adic Measures and Bernoulli Numbers

p-adic Measures and Bernoulli Numbers -Adic Measures and Bernoulli Numbers Adam Bowers Introduction The constants B k in the Taylor series exansion t e t = t k B k k! k=0 are known as the Bernoulli numbers. The first few are,, 6, 0, 30, 0,

More information

On generalizing happy numbers to fractional base number systems

On generalizing happy numbers to fractional base number systems On generalizing hay numbers to fractional base number systems Enriue Treviño, Mikita Zhylinski October 17, 018 Abstract Let n be a ositive integer and S (n) be the sum of the suares of its digits. It is

More information

RINGS OF INTEGERS WITHOUT A POWER BASIS

RINGS OF INTEGERS WITHOUT A POWER BASIS RINGS OF INTEGERS WITHOUT A POWER BASIS KEITH CONRAD Let K be a number field, with degree n and ring of integers O K. When O K = Z[α] for some α O K, the set {1, α,..., α n 1 } is a Z-basis of O K. We

More information

BEST POSSIBLE DENSITIES OF DICKSON m-tuples, AS A CONSEQUENCE OF ZHANG-MAYNARD-TAO

BEST POSSIBLE DENSITIES OF DICKSON m-tuples, AS A CONSEQUENCE OF ZHANG-MAYNARD-TAO BEST POSSIBLE DENSITIES OF DICKSON m-tuples, AS A CONSEQUENCE OF ZHANG-MAYNARD-TAO ANDREW GRANVILLE, DANIEL M. KANE, DIMITRIS KOUKOULOPOULOS, AND ROBERT J. LEMKE OLIVER Abstract. We determine for what

More information

By Evan Chen OTIS, Internal Use

By Evan Chen OTIS, Internal Use Solutions Notes for DNY-NTCONSTRUCT Evan Chen January 17, 018 1 Solution Notes to TSTST 015/5 Let ϕ(n) denote the number of ositive integers less than n that are relatively rime to n. Prove that there

More information

ON THE LEAST SIGNIFICANT p ADIC DIGITS OF CERTAIN LUCAS NUMBERS

ON THE LEAST SIGNIFICANT p ADIC DIGITS OF CERTAIN LUCAS NUMBERS #A13 INTEGERS 14 (014) ON THE LEAST SIGNIFICANT ADIC DIGITS OF CERTAIN LUCAS NUMBERS Tamás Lengyel Deartment of Mathematics, Occidental College, Los Angeles, California lengyel@oxy.edu Received: 6/13/13,

More information

Math 261 Exam 2. November 7, The use of notes and books is NOT allowed.

Math 261 Exam 2. November 7, The use of notes and books is NOT allowed. Math 261 Eam 2 ovember 7, 2018 The use of notes and books is OT allowed Eercise 1: Polynomials mod 691 (30 ts In this eercise, you may freely use the fact that 691 is rime Consider the olynomials f( 4

More information

4. Score normalization technical details We now discuss the technical details of the score normalization method.

4. Score normalization technical details We now discuss the technical details of the score normalization method. SMT SCORING SYSTEM This document describes the scoring system for the Stanford Math Tournament We begin by giving an overview of the changes to scoring and a non-technical descrition of the scoring rules

More information

Solvability and Number of Roots of Bi-Quadratic Equations over p adic Fields

Solvability and Number of Roots of Bi-Quadratic Equations over p adic Fields Malaysian Journal of Mathematical Sciences 10(S February: 15-35 (016 Secial Issue: The 3 rd International Conference on Mathematical Alications in Engineering 014 (ICMAE 14 MALAYSIAN JOURNAL OF MATHEMATICAL

More information

Sets of Real Numbers

Sets of Real Numbers Chater 4 Sets of Real Numbers 4. The Integers Z and their Proerties In our revious discussions about sets and functions the set of integers Z served as a key examle. Its ubiquitousness comes from the fact

More information

MA3H1 Topics in Number Theory. Samir Siksek

MA3H1 Topics in Number Theory. Samir Siksek MA3H1 Toics in Number Theory Samir Siksek Samir Siksek, Mathematics Institute, University of Warwick, Coventry, CV4 7AL, United Kingdom E-mail address: samir.siksek@gmail.com Contents Chater 0. Prologue

More information

Elliptic Curves Spring 2015 Problem Set #1 Due: 02/13/2015

Elliptic Curves Spring 2015 Problem Set #1 Due: 02/13/2015 18.783 Ellitic Curves Sring 2015 Problem Set #1 Due: 02/13/2015 Descrition These roblems are related to the material covered in Lectures 1-2. Some of them require the use of Sage, and you will need to

More information

Mersenne and Fermat Numbers

Mersenne and Fermat Numbers NUMBER THEORY CHARLES LEYTEM Mersenne and Fermat Numbers CONTENTS 1. The Little Fermat theorem 2 2. Mersenne numbers 2 3. Fermat numbers 4 4. An IMO roblem 5 1 2 CHARLES LEYTEM 1. THE LITTLE FERMAT THEOREM

More information

Algebraic number theory LTCC Solutions to Problem Sheet 2

Algebraic number theory LTCC Solutions to Problem Sheet 2 Algebraic number theory LTCC 008 Solutions to Problem Sheet ) Let m be a square-free integer and K = Q m). The embeddings K C are given by σ a + b m) = a + b m and σ a + b m) = a b m. If m mod 4) then

More information

Pseudorandom Sequence Generation

Pseudorandom Sequence Generation YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE CPSC 467a: Crytograhy and Comuter Security Handout #21 Professor M. J. Fischer November 29, 2005 Pseudorandom Seuence Generation 1 Distinguishability and

More information

Complex Analysis Homework 1

Complex Analysis Homework 1 Comlex Analysis Homework 1 Steve Clanton Sarah Crimi January 27, 2009 Problem Claim. If two integers can be exressed as the sum of two squares, then so can their roduct. Proof. Call the two squares that

More information

MATH 152 NOTES MOOR XU NOTES FROM A COURSE BY KANNAN SOUNDARARAJAN

MATH 152 NOTES MOOR XU NOTES FROM A COURSE BY KANNAN SOUNDARARAJAN MATH 5 NOTES MOOR XU NOTES FROM A COURSE BY KANNAN SOUNDARARAJAN Abstract These notes were taken from math 5 (Elementary Theory of Numbers taught by Kannan Soundararajan in Fall 00 at Stanford University

More information

1. INTRODUCTION. Fn 2 = F j F j+1 (1.1)

1. INTRODUCTION. Fn 2 = F j F j+1 (1.1) CERTAIN CLASSES OF FINITE SUMS THAT INVOLVE GENERALIZED FIBONACCI AND LUCAS NUMBERS The beautiful identity R.S. Melham Deartment of Mathematical Sciences, University of Technology, Sydney PO Box 23, Broadway,

More information

Multiplicative group law on the folium of Descartes

Multiplicative group law on the folium of Descartes Multilicative grou law on the folium of Descartes Steluţa Pricoie and Constantin Udrişte Abstract. The folium of Descartes is still studied and understood today. Not only did it rovide for the roof of

More information

Section 0.10: Complex Numbers from Precalculus Prerequisites a.k.a. Chapter 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative

Section 0.10: Complex Numbers from Precalculus Prerequisites a.k.a. Chapter 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative Section 0.0: Comlex Numbers from Precalculus Prerequisites a.k.a. Chater 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative Commons Attribution-NonCommercial-ShareAlike.0 license.

More information

A FEW EQUIVALENCES OF WALL-SUN-SUN PRIME CONJECTURE

A FEW EQUIVALENCES OF WALL-SUN-SUN PRIME CONJECTURE International Journal of Mathematics & Alications Vol 4, No 1, (June 2011), 77-86 A FEW EQUIVALENCES OF WALL-SUN-SUN PRIME CONJECTURE ARPAN SAHA AND KARTHIK C S ABSTRACT: In this aer, we rove a few lemmas

More information

Part II. Number Theory. Year

Part II. Number Theory. Year Part II Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2017 Paper 3, Section I 1G 70 Explain what is meant by an Euler pseudoprime and a strong pseudoprime. Show that 65 is an Euler

More information

.4. Congruences. We say that a is congruent to b modulo N i.e. a b mod N i N divides a b or equivalently i a%n = b%n. So a is congruent modulo N to an

.4. Congruences. We say that a is congruent to b modulo N i.e. a b mod N i N divides a b or equivalently i a%n = b%n. So a is congruent modulo N to an . Modular arithmetic.. Divisibility. Given ositive numbers a; b, if a 6= 0 we can write b = aq + r for aroriate integers q; r such that 0 r a. The number r is the remainder. We say that a divides b (or

More information

MATH 248A. THE CHARACTER GROUP OF Q. 1. Introduction

MATH 248A. THE CHARACTER GROUP OF Q. 1. Introduction MATH 248A. THE CHARACTER GROUP OF Q KEITH CONRAD 1. Introduction The characters of a finite abelian grou G are the homomorhisms from G to the unit circle S 1 = {z C : z = 1}. Two characters can be multilied

More information

CONGRUENCE PROPERTIES OF TAYLOR COEFFICIENTS OF MODULAR FORMS

CONGRUENCE PROPERTIES OF TAYLOR COEFFICIENTS OF MODULAR FORMS CONGRUENCE PROPERTIES OF TAYLOR COEFFICIENTS OF MODULAR FORMS HANNAH LARSON AND GEOFFREY SMITH Abstract. In their work, Serre and Swinnerton-Dyer study the congruence roerties of the Fourier coefficients

More information

Pell's Equation and Fundamental Units Pell's equation was first introduced to me in the number theory class at Caltech that I never comleted. It was r

Pell's Equation and Fundamental Units Pell's equation was first introduced to me in the number theory class at Caltech that I never comleted. It was r Pell's Equation and Fundamental Units Kaisa Taiale University of Minnesota Summer 000 1 Pell's Equation and Fundamental Units Pell's equation was first introduced to me in the number theory class at Caltech

More information

SQUAREFREE VALUES OF QUADRATIC POLYNOMIALS COURSE NOTES, 2015

SQUAREFREE VALUES OF QUADRATIC POLYNOMIALS COURSE NOTES, 2015 SQUAREFREE VALUES OF QUADRATIC POLYNOMIALS COURSE NOTES, 2015 1. Squarefree values of olynomials: History In this section we study the roblem of reresenting square-free integers by integer olynomials.

More information

JARED DUKER LICHTMAN AND CARL POMERANCE

JARED DUKER LICHTMAN AND CARL POMERANCE THE ERDŐS CONJECTURE FOR PRIMITIVE SETS JARED DUKER LICHTMAN AND CARL POMERANCE Abstract. A subset of the integers larger than is rimitive if no member divides another. Erdős roved in 935 that the sum

More information

ERRATA AND SUPPLEMENTARY MATERIAL FOR A FRIENDLY INTRODUCTION TO NUMBER THEORY FOURTH EDITION

ERRATA AND SUPPLEMENTARY MATERIAL FOR A FRIENDLY INTRODUCTION TO NUMBER THEORY FOURTH EDITION ERRATA AND SUPPLEMENTARY MATERIAL FOR A FRIENDLY INTRODUCTION TO NUMBER THEORY FOURTH EDITION JOSEPH H. SILVERMAN Acknowledgements Page vii Thanks to the following eole who have sent me comments and corrections

More information

DISCRIMINANTS IN TOWERS

DISCRIMINANTS IN TOWERS DISCRIMINANTS IN TOWERS JOSEPH RABINOFF Let A be a Dedekind domain with fraction field F, let K/F be a finite searable extension field, and let B be the integral closure of A in K. In this note, we will

More information

Elementary Number Theory

Elementary Number Theory This is age i Printer: Oaque this Elementary Number Theory William Stein October 2005 ii To my students and my wife, Clarita Lefthand. Contents This is age iii Printer: Oaque this Preface 3 1 Prime Numbers

More information

Linear diophantine equations for discrete tomography

Linear diophantine equations for discrete tomography Journal of X-Ray Science and Technology 10 001 59 66 59 IOS Press Linear diohantine euations for discrete tomograhy Yangbo Ye a,gewang b and Jiehua Zhu a a Deartment of Mathematics, The University of Iowa,

More information

MAZUR S CONSTRUCTION OF THE KUBOTA LEPOLDT p-adic L-FUNCTION. n s = p. (1 p s ) 1.

MAZUR S CONSTRUCTION OF THE KUBOTA LEPOLDT p-adic L-FUNCTION. n s = p. (1 p s ) 1. MAZUR S CONSTRUCTION OF THE KUBOTA LEPOLDT -ADIC L-FUNCTION XEVI GUITART Abstract. We give an overview of Mazur s construction of the Kubota Leooldt -adic L- function as the -adic Mellin transform of a

More information

Chapter 2 Arithmetic Functions and Dirichlet Series.

Chapter 2 Arithmetic Functions and Dirichlet Series. Chater 2 Arithmetic Functions and Dirichlet Series. [4 lectures] Definition 2.1 An arithmetic function is any function f : N C. Examles 1) The divisor function d (n) (often denoted τ (n)) is the number

More information

Brownian Motion and Random Prime Factorization

Brownian Motion and Random Prime Factorization Brownian Motion and Random Prime Factorization Kendrick Tang June 4, 202 Contents Introduction 2 2 Brownian Motion 2 2. Develoing Brownian Motion.................... 2 2.. Measure Saces and Borel Sigma-Algebras.........

More information

THE 2D CASE OF THE BOURGAIN-DEMETER-GUTH ARGUMENT

THE 2D CASE OF THE BOURGAIN-DEMETER-GUTH ARGUMENT THE 2D CASE OF THE BOURGAIN-DEMETER-GUTH ARGUMENT ZANE LI Let e(z) := e 2πiz and for g : [0, ] C and J [0, ], define the extension oerator E J g(x) := g(t)e(tx + t 2 x 2 ) dt. J For a ositive weight ν

More information