# Gaussian integers. 1 = a 2 + b 2 = c 2 + d 2.

Save this PDF as:

Size: px
Start display at page:

Download "Gaussian integers. 1 = a 2 + b 2 = c 2 + d 2."

## Transcription

1 Gaussian integers 1 Units in Z[i] An element x = a + bi Z[i], a, b Z is a unit if there exists y = c + di Z[i] such that xy = 1. This implies 1 = x 2 y 2 = (a 2 + b 2 )(c 2 + d 2 ) But a 2, b 2, c 2, d 2 are non-negative integers, so we must have 1 = a 2 + b 2 = c 2 + d 2. This can happen only if a 2 = 1 and b 2 = 0 or a 2 = 0 and b 2 = 1. In the first case we obtain a = ±1, b = 0; thus x = ±1. In the second case, we have a = 0, b = ±1; this yields x = ±i. Since all these four elements are indeed invertible we have proved that 2 Primes in Z[i] U(Z[i]) = {±1, ±i}. An element x Z[i] is prime if it generates a prime ideal, or equivalently, if whenever we can write it as a product x = yz of elements y, z Z[i], one of them has to be a unit, i.e. y U(Z[i]) or z U(Z[i]). 2.1 Rational primes p in Z[i] If we want to identify which elements of Z[i] are prime, it is natural to start looking at primes p Z and ask if they remain prime when we view them as elements of Z[i]. If p = xy with x = a + bi, y = c + di Z[i] then p 2 = x 2 y 2 = (a 2 + b 2 )(c 2 + d 2 ). Like before, a 2 + b 2 and c 2 + d 2 are non-negative integers. Since p is prime, the integers that divide p 2 are 1, p, p 2. Thus there are three possibilities for x 2 and y 2 : 1. a 2 + b 2 = 1 and c 2 + d 2 = p 2 ; 1

2 2. a 2 + b 2 = p and c 2 + d 2 = p; 3. a 2 + b 2 = p 2 and c 2 + d 2 = 1. In the first case, a 2 + b 2 = 1 = x U(Z[i]). Similarly, in the third case c 2 + d 2 = 1 = y U(Z[i]). Therefore we have the following result. Proposition 1. A prime number p Z fails to be a prime element of Z[i] if and only if p can be written as the sum of two squares, i.e. p = a 2 + b 2 for some a, b Z, a, b > 0. We also have the following observation. Lemma 2. If a prime number p can be written as the sum of two squares, then p = 2 or p 1(mod 4). Proof. Assume p = a 2 + b 2 with a, b Z. We know that a 2, b 2 0, 1(mod 4). Thus a 2 + b 2 0, 1, 2(mod 4). Since p is prime, it cannot be divisible by 4. So we have either p 2(mod 4) (and in this case p = 2) or p 1(mod 4). We would like to prove the converse of this statement. Namely, our goal is to prove the following. Theorem 3. A prime p Z can be written as the sum of two squares if and only if p = 2 or p 1(mod 4). Corollary 4. A prime integer p is a prime element of Z[i] if and only if p 3(mod 4). We have already proved one direction of Theorem 3. For the other direction, it is clear that p = 2 = So for the rest of the Section we assume that p is an odd prime. Now we have to show that if p 1(mod 4), then it can be written as the sum of two squares. To this end, we will follow Euler s proof. It might not be the shortest proof one can write down, but it has the advantage that it illustrates the concept of descent (which was the idea Fermat used in his sketch of the proof) and reciprocity. Reciprocity step: A prime p 1 (mod 4), then it divides N = a 2 + b 2 with a and b relatively prime integers. Descent step: If a prime p divides a number N of the form N = a 2 +b 2, where (a, b) = 1, then p itself can be written as p = x 2 + y 2 for some (x, y) = 1. Clearly the these two claims imply our result. The reciprocity step is encapsulated (and generalized) in the following Proposition. Proposition 5. If p > 2 is a prime and d is an integer not divisible by p, then ( ) d p a 2 + db 2 for some a, b Z with (a, b) = 1 = 1. p 2

3 Proof. ( = ) Since p a 2 + db 2 and (a, b) = 1, it follows that p a and p b. ( Because p a = p db 2 = p b, and this would contradict the fact that a, b are relatively prime.) Since p b, there exists c Z, not divisible by p such that bc 1(mod p). Then a 2 + db 2 0 (mod p) = a 2 db 2 (mod p) = (ac) 2 d (mod p). Thus d is a quadratic residue modulo p, hence ( ) d = 1. p ( ) d ( =) = 1 = d a 2 (mod p) for some a 0(mod p). Then p a 2 + d = p a 2 + d(1) 2 and (a, 1) = 1. Proof of the reciprocity step. We take d = 1 in the previous Proposition. Hence ( ) 1 p a 2 + b 2 (a, b) = 1 = 1 p 1 (mod 4). p For the descent step, we need a preliminary result. Lemma 6. If N is an integer of the form N = a 2 +b 2 for some (a, b) = 1 and q = x 2 +y 2 is a prime divisor of N, then there exist relatively prime integers c and d such that N/q = c 2 +d 2. Proof. First note that since q has no trivial divisors, x and y are forced to be relatively prime. We have x 2 N a 2 q = x 2 (a 2 + b 2 ) a 2 (x 2 + y 2 ) = x 2 b 2 a 2 y 2 = (xb ay)(xb + ay). Since q N, it follows that x 2 N a 2 q 0 (mod q), and so (xb ay)(xb + ay) 0 (mod q). Since q is a prime, this can happen only if one of the factors is divisible by q. Since we can change the sign of a without affecting our theorem, we can assume that q xb ay, that is xb ay = dq for some integer d. We would like to show that x a + dy. Since (x, y) = 1, this is equivalent to showing that x y(a + dy). But y(a + dy) = ay + dy 2 = xb dq + dy 2 = xb d(x 2 + y 2 ) + dy 2 = xb dx 2 which is divisible by x. Thus x a + dy, so there exist an integer c such that a + dy = cx. Therefore 3

4 and so Next we see that cxy = (a + dy)y = xb dx 2 = x(b dx) cy + dx = b. N = a 2 + b 2 = (cx dy) 2 + (cy + dx) 2 = (x 2 + y 2 )(c 2 + d 2 ) = q(c 2 + d 2 ). Since (a, b) = 1 it follows that (c, d) = 1 and the proof is complete. Proof of the descent step. Recall that Fermat s idea (which he used on a number of other occasions), formalized in this case by Euler in this case, is to show that if we have a solution to a diophantine equation, then we can find a smaller (in some sense) solution. Iterating this process means that we can find smaller and smaller positive integers. Hence the process needs to terminate at some point, or we reach a contradiction. Assume that we have an odd prime p (and thus p > 2) that divides a number N of the form N = a 2 +b 2 with (a, b) = 1. We want to show that p can be written as a sum of squares. First, note that we can add or subtract any multiple of p from a or b without changing the problem. That is, we can find integers a 1, b 1 with a 1, b 1 < p/2 such that p N 1 = a 2 1+b 2 1. In particular, N 1 < p 2 /2. Denote d = (a 1, b 1 ) Then d < p/2, so p d. We also know that a 1 = da 2, b 1 = db 2 and (a 2, b 2 ) = 1. Note that a 2 a 1 < p/2 and likewise b 2 < p/2. Therefore N 2 = a b 2 2 < p 2 /2. We have p a b 2 1 = d 2 (a b 2 2). Since p is a prime that does not divide d, it follows that p N 2 = a b 2 2. So we showed that our prime p has to divide a number M = u 2 +v 2 < p 2 /2 with (u, v) = 1 and u, v < p/2. The positive integer m = M/p will have to be m < p/2. Let q be a prime divisor of m. Clearly q p since q m < p/2. In particular q < p and p M q. Assume that q can be written as the sum of two squares. By Lemma 6, we have M/q = x 2 + y 2 for some integers (x, y) = 1. But then p x 2 + y 2 < u 2 + v 2 = M. So if all the prime factors of M different from p can be written as sums of two squares, then so can p. Since we assumed that this is not the case, it follows that M has some prime divisor p 1 < p that cannot be written as the sum of two squares. By repeating the argument for p 1 it follows that there must exist another prime p 2 < p 1 that cannot be written as the sum of two squares. This argument cannot continue indefinitely, so at some point we are bound to hit the prime number 5 = which can obviously be written as the sum of two squares. The descent step is now proven and this completes the proof of Theorem 3. 4

5 Note that we implicitly used the fact that if (x, y) = 1 then 3 x 2 + y 2. To see this, recall that for any integer x we have x 0, 1 or 1 (mod 3), so x 2 0 or 1 (mod 3). Since (x, y) = 1 we cannot have x 2 y 2 0 (mod 3), so x 2 + y 2 0 (mod 3). 3 Arithmetic The field is equipped with a norm map N : Q(i) Q 0 given by N(x + iy) = x 2 + y 2 = x + iy 2 = (x + iy)(x iy) = (x + iy)(x + iy) where the absolute value is the one on C and the bar denotes the complex conjugate. The norm map is clearly multiplicative, i.e. N(αβ) = N(α)N(β). Moreover, N(α) = 0 α = 0. Definition. There is a notion of divisibility in Z[i] that mirrors the notion from Z. Namely, if α, β Z[i] we say that α β if β α Z[i]. Example. Does 3 4i divide 2 + i? We can do the division by taking the ratio and rationalizing the denominator (i.e. multiply both top and bottom of the fraction by the complex conjugate of the denominator). 2 + i 3 4i (2 + i)(3 + 4i) = (3 4i)(3 + 4i) = i 25 Example. Does 18 divide i? i 18 = i11 25 = i / Z[i] = i. 18 / Z[i] = 3 4i 2 + i. Lemma 7. An integer c Z divides a gaussian integer a + bi if and only if c a and c b in Z. Proof. c a + bi a + bi c Z[i] a c + b c i Z[i] a c, b c Z c a and c b. Proposition 8. If α, β Z[i] and α β in Z[i], then N(α) N(β) as integers. Proof. α β = β = αγ for some γ Z[i] = N(β) = N(α)N(γ) = N(α) N(β). 5

6 The converse is not true in general. For instance, N(5) N(3 4i) (both norms are equal to 25), but 5 3 4i. There is however an exception. The element 1 + i has norm N(1 + i) = 2. We have the following result. Proposition 9. Let α = a + bi Z[i]. Then N(1 + i) N(α) if and only if (1 + i) α. Proof. Clearly (1 + i) α implies N(1 + i) N(α). Conversely, we know that 2 a 2 + b 2. We want to show that there exist m, n Z such that Expanding the right hand side we see that a + bi = (1 + i)(m + ni). a + bi = (1 + i)(m + ni) a = m n, b = m + n. We solve this 2 2 linear system in the unknowns m, n and find that m = a+b and n = b a 2 In order for these two numbers to be integers we need a + b and b a to be even. But we know that 2 a 2 + b 2, so a and b are either both even or both odd, i.e. a b(mod 2). Hence 2 a + b, b a and the result is proved. The norm N gives Z[i] a euclidean ring structure. Theorem 10. For any α, β Z[i] with β 0 there exist γ, ρ Z[i] such that α = βγ + ρ and 0 N(ρ) < N(β). Proof. Done in 104A or abstract algebra. Note that, as opposed to the division algorithm on Z, we do not have uniqueness for γ and ρ. For instance, take α = 9, β = 5. We have and 9 = ( 5) 1 + ( 4) 9 = ( 5) Both 1 and 4 have norm strictly smaller than the norm of 5. Indeed, N(1) = 1 < 25 = N( 5) and N( 4) = 16 < 25 = N(5). Since Z[i] is an euclidean ring, it is also a unique factorization domain. But note that the factorization is unique up to multiplication by units. This was already the case over Z. Namely, we know that any nonzero integer n can be written as a product of primes. But what we really mean by this is that n = (±1)p 1... p r with p 1,..., p r prime integers (and here is understood that they are positive). But in Z[i] there is no positivity, so for instance 1 + i and 1 i really represent the same prime. That is, we see that they only differ by a unit, i.e. 6 2.

7 1 + i 1 i = (1 + i) 2 (1 + i)(1 i) = 2i 2 = i, so (1 + i) = i(1 i). In particular, 1 + i and 1 i generate the same ideal of Z[i]. We will write π 1 π 2 if they are two primes in Z[i] and there is a unit µ Z[i] such that π 1 = µπ 2. The unique factorization in Z[i] tells us that any nonzero gaussian integer α can be written as α = µπ 1... π r where µ U(Z[i]) and π 1,..., π r are prime gaussian integers (not necessarily distinct. Moreover, if we have another factorization α = νσ 1... σ s then r = s and for each 1 j r there exits 1 k j r such that π j σ kj. This fact allows us to prove the following result about prime elements of Z[i]. Proposition 11. If π Z[i] is a prime element and π αβ for some gaussian integers α, β then π α or π β. Proof. Take the prime factorizations of α and β, α = µ 1 π 1... π n, β = µ 2 π n+1... π n+m. Here the primes π j are not necessarily distinct. Since π αβ it follows that there exists γ Z[i] such that αβ = πγ. The gaussian integer γ also has a prime factorization Thus γ = νδ 1... δ r. µ 1 µ 2 π 1... π n+m = αβ = πγ = νπδ 1... δ r. But the factorization into primes of αβ is unique (up to multiplication by units), so there exists 1 j such that π = uπ j for some u U(Z[i]). If 1 j n, then π α. Otherwise, π β. Lemma 12. A gaussian integer α is a unit in Z[i] if and only if N(α) = 1. Proof. A unit is an invertible element of the ring. Assume α is a unit. Then there exists β Z[i] such that αβ = 1. This implies that N(α)N(β) = 1. Since the two norms are non-negative integers, we must have N(α) = N(β) = 1. Conversely, if N(α) = 1 it means that αα = 1, and since the complex conjugate of a gaussian integer is also a gaussian integer, this makes α a unit. Proposition 13. If α Z[i] has norm N(α) = p a prime integer, then α is a prime element of Z[i]. 7

8 Proof. Assume that α = βγ with β, γ Z[i]. Then N(β)N(γ) = N(α) = p is a prime number. Since N(β), N(γ) Z, it follows that either N(β) = 1 or N(γ) = 1. By the previous lemma, this means that either β is a unit or γ is a unit. Hence α has no nontrivial divisors, and is therefore a prime gaussian integer. Definition. Just like for regular integers, we say that two gaussian integers α, β are relatively prime if they have only unit factors in common. Definition. For two elements α, β Z[i], a greatest common divisor is a divisor of maximal norm. Note that this definition does not define a unique gaussian integer. If you have found a greatest common divisor δ of α, β then ±δ, ±iδ (that is, δ multiplied by the units) are also divisors with maximal norm. But this is all the indeterminacy, since a greatest common divisor δ of two numbers with prime factorizations α = µ 1 π m πr mr β = µ 2 π n πr nr with π 1,..., π r prime elements of Z[i], µ 1, µ 2 units, m j, n j 0 is of the form for some µ U(Z[i]). δ = µπ min{m 1,n 1 } 1... π min{mr,nr} r Lemma 14. (i) Assume that α βγ are gaussian integers and that α, β are relatively prime. Then α γ. (ii) Assume that α, β, γ Z[i] such that α γ and β γ. If α and β are relatively prime, then αβ γ. Proof. Follows from unique factorization. Proposition 15. If α, β Z[i] and there exist γ, δ Z[i] such that αγ + βδ is a unit in Z[i], then α, β are relatively prime. In particular, if a, b Z are relatively prime integers, then they are also relatively prime in Z[i]. Proof. If τ Z[i] divides both α and β, then τ (αγ + βδ), which is a unit. Therefore N(τ) 1. Thus N(τ) = 1 and τ has to be a unit. Since a, b Z are relatively prime, it follows that there exist m, n Z such that am + bn = 1. By the first part, they are relatively prime in Z[i]. 8

9 4 Applications to the arithmetic of Z 4.1 Primality testing: Fermat primes Fermat conjectured that the numbers of the form 2 2n + 1 are prime. Indeed, for n = 0 : = 3 is prime; for n = 1 : = 5 is prime; for n = 2 : = 17 is prime. The others get a bit too big for us to be able to tell at a glance that they are prime. But = 257 can be checked by hand without too much trouble that it is prime. Same for = However 2 25 = = is too big to check by hand easily. Note that = (2 16 ) is the sum of two squares. Euler found that it has another very different representation as sum of two squares, namely (2 16 ) = = The following theorem implies that the fifth Fermat number is in fact not a prime. Theorem 16. If p is a prime that can be written as sum of two squares, then it can be written like that in essentially one way. That is, if p = a 2 + b 2 = c 2 + d 2, with a, b, c, d, Z, then either a = ±c, b = ±d or a = ±d, b = ±c. Proof. We have and (a + bi)(a bi) = a 2 + b 2 = c 2 + d 2 = (c di)(c + di) N(a + bi) = N(a bi) = a 2 + b 2 = p N(c + di) = N(c di) = c 2 + d 2 = p. Since p is a prime, it follows from Proposition 13, that a + bi, a bi, c + di, c di are all prime elements in Z[i]. By the unique factorization, it follows that either a + bi = µ(c + di) for some µ U(Z[i]) or a + bi = µ(c di) for some µ U(Z[i]). If a + bi = µ(c + di) we have four possibilities. µ = 1 = a = c, b = d µ = 1 = a = c, b = d µ = i = a = d, b = c 9

10 µ = i = a = d, b = c The other case is similar. Note that the Theorem does not mention Z[i], it is a statement purely about integers. The proof however hinges on the arithmetic of the gaussian integers. 4.2 Pythagorean triples revisited We start with the diophantine equation a 2 + b 2 = c 2. (1) As before we reduce to the case where a, b, c are positive integers with (a, b) = (b, c) = (c, a) = 1, a odd and b even. Then c must also be odd. Our equation (1) can be rewritten as Claim 1 a + bi and a bi are relatively prime. (a + bi)(a bi) = c 2. (2) Proof. Assume δ a + bi and δ a bi. Then δ 2a and δ 2bi = δ 2b. If δ and 2 = i(1 + i) 2 were not relatively prime, then 1 + i δ = 2 N(δ). On the other hand, δ c 2, so N(δ) c 4 which is odd. This is a contradiction, so δ and 2 are relatively prime in Z[i]. Then, Lemma 14 implies that δ a, δ b. But a, b are relatively prime, so δ must be a unit. Claim 2 There exist α, β Z[i] such that either a + bi = α 2 and a bi = β 2 or a + bi = iα 2 and a bi = iβ 2. Proof. Exercise. Since a + bi and a bi are relatively prime, α, β are also relatively prime. Thus a + bi = α 2 = (m + ni) 2 or a + bi = iα 2 = i(m + ni) 2 for some m, n Z. Expanding the square leads to a + bi = m 2 n 2 + 2mni or a + bi = 2mn + i(m 2 n 2 ). However, we want a to be odd, so the second case cannot occur. We are therefore in the first case and a + bi is after all a perfect square in the Z[i], i.e. a + bi = (m + ni) 2 with m, n Z. (3) The derivation of (3) from unique factorization in Z[i] is the key step in this proof. The rest is a matter of (careful) book-keeping. Identifying the real and imaginary parts above gives a = m 2 n 2, b = 2mn 10

11 and therefore c 2 = a 2 +b 2 = (m 2 n 2 ) 2 +(2mn) 2 = m 4 +n 4 2m 2 n 2 +4m 2 n 2 = m 4 +n 4 +2m 2 n 2 = (m 2 +n 2 ) 2. Since c > 0 it follows that c = m 2 + n 2. We also have b > 0 so both m, n have to have the same sign, and by changing that sign we can assume without changing the values of a, b, c that m, n > 0. Since a > 0 we must have m > n. They also have to be relatively prime, since a, b are relatively prime. Lastly, since a is odd, m n(mod 2). We need to check that our solution (a, b, c) = (m 2 n 2, 2mn, m 2 + n 2 ) with m > n > 0, (m, n) = 1, m n(mod 2), satisfies (1) and that a, b, c are positive integers with (a, b) = (b, c) = (c, a) = 1, a odd and b even. Indeed, a 2 + b 2 = (m 2 n 2 ) 2 + (2mn) 2 = (m 2 + n 2 ) 2 = c 2. On the other hand, m n(mod 2) = a odd, and b = 2mn is clearly even. Since m > n > 0 we have a, b, c > 0. If a prime p divides two of m 2 n 2, 2mn, m 2 + n 2 then p 2 since the first and third numbers are odd. Assume p m 2 n 2 and p 2mn. Then p mn so p m or p n. Assume p m. Then p n 2 and so p n. This cannot happen since (m, n) = 1. The other case is similar. To recap: we found a way of producing Pythagorean triples on demand. That is, take any gaussian integer α with both the real and imaginary parts non-zero, square it and get α 2 = a + bi. Then ( a, b, N(α)) is a Pythagorean triple. Example. (23+10i) 2 = i = i and = 629. So (429, 460, 629) is a Pythagorean triple (grab a calculator and check!) And since (23, 10) = 1 the triple is relatively prime. 4.3 Other diophantine equations To better appreciate this approach to Pythagorean triples, let s apply it to the diophantine equation Theorem 17. The integral solutions to a 2 + b 2 = c 3. (4) a 2 + b 2 = c 3 with (a, b) = 1 are given by the parametric formulas a = m 3 3mn 2, b = 3m 2 n n 3, c = m 2 + n 2, where (m, n) = 1, m n (mod 2). Different choices of m, n give different solutions (a, b, c). 11

12 Proof. Note that a and b cannot both be even since they are relatively prime. On the other hand, if they were both odd we would have a 2, b 2 1(mod 8) and therefore c 3 2(mod 8) which is impossible. (In this case, c would have to be even, which would make c 3 a multiple of 8.) This a b(mod 2) and c is odd. We can rewrite (4) as c 3 = (a + bi)(a bi). (5) We first show that a + bi and a bi are relatively prime gaussian integers. Let δ Z[i] such that δ a + bi and δ a bi. As we have seen in the previous section, this implies that δ 2a, δ 2b. On the other hand N(δ) a 2 +b 2 which is odd, so N(δ) is odd and thus δ and 2 are relatively prime. It follows that δ a, δ b. Since (a, b) = 1 it follows that δ is a unit in Z[i]. Hence a + bi and a bi are relatively prime. From (5) follows that a + bi = µα 3 for some µ U(Z[i]), α Z[i]. On the other hand, every unit in Z[i] is itself a cube: 1 = 1 3, 1 = ( 1) 3, i = ( i) 3, i i 3. Therefore we can write µ = ν 3 and so a + bi = (να) 3 and να = β Z[i]. Thus a + bi = (m + ni) 3 for some m, n Z. Every prime p Z that divides both m and n would have to divide a and b. Therefore (m, n) = 1. We expand the cube and see that If m n(mod 2), then we would get and a = m 3 3mn 2 b = 3m 2 n n 3. a m 3 3m 3 (mod 2) 0 (mod 2) b 3m 3 m 3 (mod 2) 0 (mod 2) which contradicts the fact that a b(mod 2). Hence m n(mod 2). Plugging the value of a + bi = (m + ni) 3 into (5) we see that c 3 = (m + ni) 3 (m ni) 3 = (m 2 + n 2 ) 3 = c = m 2 + n 2. We have to check two things. First, that our parametric equations give a solution (a, b, c) to (4) with (a, b) = 1 and a + bi = (m + ni) 3. Second, that changing the m, n changes the (a, b, c). The first is a direct calculation. The second uses the fact that the only cube root of unity in Z[i] is 1 itself. We know this since the norm of a cube root of 1 would have to be 1 and so the cube roots of unity are in U(Z[i]). But we have seen what the cubes of the elements in U(Z[i]) are from above. This means that if (m + ni) 3 = (m + n i) 3 we must have m + ni = m + n i hence m = m and n = n. 12

13 Here s a table with a few solutions (a, b, c) to (4) for various choices of m and n. m n a = m 3 3mn 2 b = 3m 2 n n 3 c = m 2 + n Another application is to show that a perfect square in Z cannot come just before a perfect cube. Theorem 18. The only integers a, b satisfying a 2 = b 3 1 are a = 0, b = 1. On the face of it, this is not at all obvious. Besides, there are plenty of perfect cubes that come just before a perfect square: 1 and 0; 0 and 1; 8 and 9. Proof. Clearly a = 0, b = 1 satisfy a 2 = b 3 1. We want to show that there are no other solutions. Assume a, b Z do satisfy We can rewrite this equation as a 2 = b 3 1. b 3 = (a i)(a + i) and follow the blueprint from the previous theorem. If we know that a + i and a i are relatively prime, then, recalling that the only cube root of unity is 1 itself, we see that a + i and a i have to be perfect cubes in Z[i] and we would get a = m 3 3mn 2, 1 = 3m 2 n n 3 for some m, n Z. The second relation shows that n 1, so n = ±1. If n = 1, we have 1 = 3m 2 1 so 3m 2 = 2 which is impossible. Thus n = 1 and therefore 1 = 1 3m 2 so m = 0. This leads us to a = 0 and b 3 = 1, so b = 1. It remains to show that a + i and a i are relatively prime gaussian integers. Assume δ is a common divisor. Then δ 2a and δ 2i = (1 + i) 2. Thus, up to units, δ is either 1 or 1 + i or (1 + i) 2. Assume δ is not a unit. Then (1 + i) δ and therefore (1 + i) b 3. Since 1 + i is a prime gaussian integer, we then have (1 + i) b, hence b 2 = N(b) is even. Thus b must be even, and therefore a 1(mod 4) which is impossible. Remark. In 1850, Lebesgue used Z[i] to show that, for d 2, the only integral solution to is x = 1, y = 0. y 2 = x d 1 13

14 5 Back to the prime elements of Z[i] We want to find all elements π = a + bi Z[i] that are prime gaussian integers. We have seen in Proposition 13 that if the norm of a gaussian integer α is prime, then α is prime in Z[i]. On the other hand, 3 is a prime in Z[i] but its norm N(3) = 9 is not a prime. Lemma 19. If π Z[i] is a prime element, then there exist a prime number p Z such that π p in Z[i]. Proof. The norm N(π) is a positive integer, and therefore it factors as a product of primes in Z, N(π) = p 1... p r. On the other hand, N(π) = π π, so π N(π). Thus π p 1... p r = π p j for some 1 j r. Theorem 20. Let p Z be a (positive) prime. Its factorization in Z[i] is determined by its residue class modulo 4 as follows. (i) 2 = (1 + i)(1 i) = i(1 + i) 2 = i(1 i) 2 and 1 + i = i(1 i) represent the same prime ideal in Z[i]. (ii) If p 1(mod 4) then p = π π where π, π are two prime gaussian integers that are complex conjugates, but not unit multiples. In particular, they generate different prime ideals in Z[i]. (iii) If p 3(mod 4) then p is prime in Z[i]. Proof. (i) Direct calculation. (ii) If p 1(mod 4), Theorem 3 says that p can be written as a sum of two relatively prime squares p = a 2 + b 2 = (a + bi)(a bi). Set π = a + bi. Then π = a bi and clearly p = π π. Moreover N(π) = N( π) = a 2 + b 2 = p is prime, so π and π are prime gaussian integers by Proposition 13. Lastly, a + bi a bi (a + bi)2 = = a2 b 2 a 2 + b 2 a 2 + b + i 2 since both fractions have absolute value smaller than 1. 2ab a 2 + b 2 / Z[i] (iii) If p 3(mod 4), this is Corollary 4. Lemma 19 tells us that any gaussian prime is a factor of a prime p Z. Theorem 20 tells us how integral primes factor in Z[i]. We put these two results together and get a complete characterization of the prime elements in Z[i]. 14

15 Theorem 21. Every prime gaussian integer is a unit multiple of one of the following primes: (i) 1 + i; (ii) π or π where N(π) = p is a prime integer p 1(mod 4); (iii) a prime p in Z with p 3(mod 4). In this case N(p) = p 2. Note that in the first two cases the prime gaussian integers have nonzero real and imaginary parts, while in the third case we get ±p, ±ip which have either the real or the imaginary part equal to 0. Moreover, the only prime gaussian integer of even norm is 1 + i (up to unit multiples). Therefore we see that if we have α Z[i] and its prime factorization α = µπ 1... π r does not contain a prime multiple of 1 + i, then N(α) = N(π 1 )... N(π r ) is an odd integer. We find this way another proof of the fact that N(α) is even 1 + i α. 6 Representing integers as sums of squares We saw that a prime can be written as a sum of two squares essentially only one way, if at all (Theorem 16). We have seen that other integers though can be written as sums of two squares in multiple ways. For instance, 50 = = We can use the arithmetic in Z[i] to systematically construct integers that are sums of two squares in more than one way. Take the factorizations of 5 and 10 in Z[i]. We have Thus 50 factors in two ways 5 = (1 + 2i)(1 2i) 10 = (1 + 3i)(1 3i). 50 = 5 10 = ( (1 + 2i)(1 + 3i) ) ((1 2i)(1 3i) ) = ( (1 + 2i)(1 3i) ) ((1 2i)(1 + 3i) ) This becomes which gives 50 = ( 5 + 5i)( 5 5i) = (7 i)(7 + i), 50 = = Different representations of an integer as a sum of two squares in Z correspond to rearranging prime factors in Z[i]. Here s another example. Consider the factorizations of 5 and 13. We have 5 = (1 + 2i)(1 2i) 13 = (2 + 3i)(2 3i). Therefore 65 = 5 13 = ( (1 + 2i)(2 + 3i) ) ((1 2i)(2 3i) ) = ( (1 + 2i)(2 3i) ) ((1 2i)(2 + 3i) ) 15

16 which becomes 65 = ( 4 + 7i)( 4 7i) = (8 + i)(8 i). The two factorizations yield two ways of writing 65 as a sum of squares: 65 = = Let us find an integer which can be written as the sum of two squares in three different ways. Start with 5 = (1 + 2i)(1 2i) 13 = (2 + 3i)(2 3i) 17 = (1 + 4i)(1 4i). Consider the following products α = (1 + 2i)(2 + 3i)(1 + 4i) β = (1 2i)(2 + 3i)(1 + 4i) γ = (1 + 2i)(2 3i)(1 + 4i). Then are gaussian integers with Therefore α = 32 9i β = i γ = i N(α) = N(β) = N(γ) = = = = = Using this method you can construct systematically and without having to guess integers that can be represented as sums of two squares in four, five,..., twenty,... ways. Moreover, the arithmetic of Z[i] allows us to classify the integers that can be represented as sums of two squares. Lemma 22. (a) An integer n can be written as the sum of two squares if and only if n is the norm of some gaussian integer. (b) If m, n Z can be written as sums of two squares, then mn can also be written as the sum of two squares. Proof. (a) n = a 2 + b 2 n = N(a + bi) (b) By part (a), we know that there exist α, β Z[i] such that n = N(α) and m = N(β). Then mn = N(αβ) is also the sum of two squares. Theorem 23. An integer n > 1 is a sum of two squares exactly when any prime factor of n which is 3(mod 4) occurs with even multiplicity. 16

17 Proof. First we show any integer n > 1 having even multiplicity at its prime factors which are 3(mod 4) can be written as a sum of two squares. The prime 2 = and any prime p 1(mod 4) can be written as the sum of two squares, by Theorem 3. On the other hand, q 2 = q is trivially the sum of two squares, for any prime q 3(mod 4). Since sums of two squares are closed under multiplication (part (b) of the Lemma), it follows that n can be written as the sum of two squares. Now we treat the converse direction: any n > 1 which is a sum of two squares has even multiplicity at any prime factor which is 3(mod 4). We argue by induction on n. The fact is obviously true for n = 2 = Let n 3 be a sum of two squares. We assume that in any sum of two squares < n the prime factors that are 3(mod 4) occur with even powers. (This is the induction hypothesis.) If n has no prime factors congruent to 3 modulo 4, then we have nothing to prove and the result is obviously true. In case n = a 2 + b 2 has some prime factor p 3(mod 4), we get that p (a + bi)(a bi). On the other hand p is prime in Z[i], so p a + bi or p a bi. But in either case we can take complex conjugates and obtain that p = p a bi and p = p a + bi. Thus p 2 (a + bi)(a bi) = n. On the other hand, p a + bi implies that p a and p b (Lemma 7). Then we can write a = pa 1, b = pb 1 for some a 1, b 1 Z. Thus n = p 2 (a b 2 1) and n 1 = a b 2 1 < n. By the induction hypothesis, any prime 3(mod 4) that appears in the factorization of n 1 appears with an even exponent. Therefore the same holds for n and our proof is complete. Example. For primes we have seen that p 1(mod 4) = p can be written as the sum of two squares. But the number 21 = 3 7 cannot be written as the sum of two squares, even though 21 1(mod 4). In general, we need to factor an integer n > 1 in order to decide if it can be written as the sum of two squares. 17

### THE GAUSSIAN INTEGERS

THE GAUSSIAN INTEGERS KEITH CONRAD Since the work of Gauss, number theorists have been interested in analogues of Z where concepts from arithmetic can also be developed. The example we will look at in

### Solving Diophantine Equations With Unique Factorization

Solving Diophantine Equations With Unique Factorization February 17, 2016 1 Introduction In this note we should how unique factorization in rings like Z[i] and Z[ 2] can be used to find integer solutions

### QUADRATIC RINGS PETE L. CLARK

QUADRATIC RINGS PETE L. CLARK 1. Quadratic fields and quadratic rings Let D be a squarefree integer not equal to 0 or 1. Then D is irrational, and Q[ D], the subring of C obtained by adjoining D to Q,

### . In particular if a b then N(

Gaussian Integers II Let us summarise what we now about Gaussian integers so far: If a, b Z[ i], then N( ab) N( a) N( b). In particular if a b then N( a ) N( b). Let z Z[i]. If N( z ) is an integer prime,

### THE JOHNS HOPKINS UNIVERSITY Faculty of Arts and Sciences FINAL EXAM - FALL SESSION ADVANCED ALGEBRA I.

THE JOHNS HOPKINS UNIVERSITY Faculty of Arts and Sciences FINAL EXAM - FALL SESSION 2006 110.401 - ADVANCED ALGEBRA I. Examiner: Professor C. Consani Duration: take home final. No calculators allowed.

### 2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative

### MATH 152 Problem set 6 solutions

MATH 52 Problem set 6 solutions. Z[ 2] is a Euclidean domain (i.e. has a division algorithm): the idea is to approximate the quotient by an element in Z[ 2]. More precisely, let a+b 2, c+d 2 Z[ 2] (of

### Rings and modular arithmetic

Chapter 8 Rings and modular arithmetic So far, we have been working with just one operation at a time. But standard number systems, such as Z, have two operations + and which interact. It is useful to

### 2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative

### Fermat s Last Theorem for Regular Primes

Fermat s Last Theorem for Regular Primes S. M.-C. 22 September 2015 Abstract Fermat famously claimed in the margin of a book that a certain family of Diophantine equations have no solutions in integers.

### 1. multiplication is commutative and associative;

Chapter 4 The Arithmetic of Z In this chapter, we start by introducing the concept of congruences; these are used in our proof (going back to Gauss 1 ) that every integer has a unique prime factorization.

### Introduction to Number Theory

INTRODUCTION Definition: Natural Numbers, Integers Natural numbers: N={0,1,, }. Integers: Z={0,±1,±, }. Definition: Divisor If a Z can be writeen as a=bc where b, c Z, then we say a is divisible by b or,

### Proofs. Chapter 2 P P Q Q

Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then,

### THE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES

THE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES Abstract. This article reports the occurrence of binary quadratic forms in primitive Pythagorean triangles

### x y z 2x y 2y z 2z x n

Integer Solutions, Rational solutions of the equations 4 4 4 x y z x y y z z x n 4 4 and x y z xy xz y z n; And Crux Mathematicorum Contest Corner problem CC4 Konstantine Zelator P.O. Box 480 Pittsburgh,

### ARITHMETIC PROGRESSIONS IN CYCLES OF QUADRATIC POLYNOMIALS

ARITHMETIC PROGRESSIONS IN CYCLES OF QUADRATIC POLYNOMIALS TIMO ERKAMA It is an open question whether n-cycles of complex quadratic polynomials can be contained in the field Q(i) of complex rational numbers

### Perspectives of Mathematics

Perspectives of Mathematics Module on Diophantine Equations and Geometry Fall 2004 Michael Stoll What is a diophantine equation? 1. Introduction and Examples Being diophantine is not so much a property

PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient

Table of Contents Chapter 1 What is Number Theory? 1 Chapter Pythagorean Triples 5 Chapter 3 Pythagorean Triples and the Unit Circle 11 Chapter 4 Sums of Higher Powers and Fermat s Last Theorem 16 Chapter

### (January 14, 2009) q n 1 q d 1. D = q n = q + d

(January 14, 2009) [10.1] Prove that a finite division ring D (a not-necessarily commutative ring with 1 in which any non-zero element has a multiplicative inverse) is commutative. (This is due to Wedderburn.)

### LEGENDRE S THEOREM, LEGRANGE S DESCENT

LEGENDRE S THEOREM, LEGRANGE S DESCENT SUPPLEMENT FOR MATH 370: NUMBER THEORY Abstract. Legendre gave simple necessary and sufficient conditions for the solvablility of the diophantine equation ax 2 +

### 1 First Theme: Sums of Squares

I will try to organize the work of this semester around several classical questions. The first is, When is a prime p the sum of two squares? The question was raised by Fermat who gave the correct answer

### AN EXAMINATION OF CLASS NUMBER FOR Q( d) WHERE d HAS CONTINUED FRACTION EXPANSION OF PERIOD THREE

AN EXAMINATION OF CLASS NUMBER FOR Q( d) WHERE d HAS CONTINUED FRACTION EXPANSION OF PERIOD THREE Brent O. J. Young A Thesis Submitted to University North Carolina Wilmington in Partial Fulfillment Of

### Factorization of zeta-functions, reciprocity laws, non-vanishing

(January, 0 Factorization of zeta-functions, reciprocity laws, non-vanishing Paul Garrett garrett@math.umn.edu http://www.math.umn.edu/ garrett/. Gaussian integers o Z[i]. Eisenstein integers o Z[ω] 3.

### MATH CSE20 Homework 5 Due Monday November 4

MATH CSE20 Homework 5 Due Monday November 4 Assigned reading: NT Section 1 (1) Prove the statement if true, otherwise find a counterexample. (a) For all natural numbers x and y, x + y is odd if one of

### THUE S LEMMA AND IDONEAL QUADRATIC FORMS

THUE S LEMMA AND IDONEAL QUADRATIC FORMS PETE L. CLARK Abstract. The representation of integers by binary quadratic forms is one of the oldest problems in number theory, going back at least to Fermat s

### 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

### MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences. Congruences Let n be a postive integer. The integers a and b are called congruent modulo n if they have the same

### Direct Proof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Direct Proof Fall / 24

Direct Proof MAT231 Transition to Higher Mathematics Fall 2014 MAT231 (Transition to Higher Math) Direct Proof Fall 2014 1 / 24 Outline 1 Overview of Proof 2 Theorems 3 Definitions 4 Direct Proof 5 Using

### Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

Rings 10-26-2008 A ring is an abelian group R with binary operation + ( addition ), together with a second binary operation ( multiplication ). Multiplication must be associative, and must distribute over

### Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

The first exam will be on Monday, June 8, 202. The syllabus will be sections. and.2 in Lax, and the number theory handout found on the class web site, plus the handout on the method of successive squaring

### MATH 154. ALGEBRAIC NUMBER THEORY

MATH 154. ALGEBRAIC NUMBER THEORY LECTURES BY BRIAN CONRAD, NOTES BY AARON LANDESMAN CONTENTS 1. Fermat s factorization method 2 2. Quadratic norms 8 3. Quadratic factorization 14 4. Integrality 20 5.

### PRACTICE FINAL MATH , MIT, SPRING 13. You have three hours. This test is closed book, closed notes, no calculators.

PRACTICE FINAL MATH 18.703, MIT, SPRING 13 You have three hours. This test is closed book, closed notes, no calculators. There are 11 problems, and the total number of points is 180. Show all your work.

### Extension and Generalization of Fermat s Little Theorem to the Gaussian Integers

Ball State Undergraduate Mathematics Exchange http://www.bsu.edu/libraries/beneficencepress/mathexchange Vol. 0, No. (Fall 206) Pages 22-30 Extension and Generalization of Fermat s Little Theorem to the

### 4 PRIMITIVE ROOTS Order and Primitive Roots The Index Existence of primitive roots for prime modulus...

PREFACE These notes have been prepared by Dr Mike Canfell (with minor changes and extensions by Dr Gerd Schmalz) for use by the external students in the unit PMTH 338 Number Theory. This booklet covers

### QUARTERNIONS AND THE FOUR SQUARE THEOREM

QUARTERNIONS AND THE FOUR SQUARE THEOREM JIA HONG RAY NG Abstract. The Four Square Theorem was proved by Lagrange in 1770: every positive integer is the sum of at most four squares of positive integers,

### Contribution of Problems

Exam topics 1. Basic structures: sets, lists, functions (a) Sets { }: write all elements, or define by condition (b) Set operations: A B, A B, A\B, A c (c) Lists ( ): Cartesian product A B (d) Functions

### a + bi by sending α = a + bi to a 2 + b 2. To see properties (1) and (2), it helps to think of complex numbers in polar coordinates:

5. Types of domains It turns out that in number theory the fact that certain rings have unique factorisation has very strong arithmetic consequences. We first write down some definitions. Definition 5.1.

### Corollary 4.2 (Pepin s Test, 1877). Let F k = 2 2k + 1, the kth Fermat number, where k 1. Then F k is prime iff 3 F k 1

4. Primality testing 4.1. Introduction. Factorisation is concerned with the problem of developing efficient algorithms to express a given positive integer n > 1 as a product of powers of distinct primes.

### MATH 216T TOPICS IN NUMBER THEORY

California State University, Fresno MATH 6T TOPICS IN NUMBER THEORY Spring 008 Instructor : Stefaan Delcroix Chapter Diophantine Equations Definition. Let f(x,..., x n ) be a polynomial with integral coefficients

### Elementary Properties of the Integers

Elementary Properties of the Integers 1 1. Basis Representation Theorem (Thm 1-3) 2. Euclid s Division Lemma (Thm 2-1) 3. Greatest Common Divisor 4. Properties of Prime Numbers 5. Fundamental Theorem of

### Standard forms for writing numbers

Standard forms for writing numbers In order to relate the abstract mathematical descriptions of familiar number systems to the everyday descriptions of numbers by decimal expansions and similar means,

### Chapter 3: Factors, Roots, and Powers

Chapter 3: Factors, Roots, and Powers Section 3.1 Chapter 3: Factors, Roots, and Powers Section 3.1: Factors and Multiples of Whole Numbers Terminology: Prime Numbers: Any natural number that has exactly

### . As the binomial coefficients are integers we have that. 2 n(n 1).

Math 580 Homework. 1. Divisibility. Definition 1. Let a, b be integers with a 0. Then b divides b iff there is an integer k such that b = ka. In the case we write a b. In this case we also say a is a factor

### Rigid Divisibility Sequences Generated by Polynomial Iteration

Rigid Divisibility Sequences Generated by Polynomial Iteration Brian Rice Nicholas Pippenger, Advisor Christopher Towse, Reader May, 2008 Department of Mathematics Copyright c 2008 Brian Rice. The author

### Commutative Rings and Fields

Commutative Rings and Fields 1-22-2017 Different algebraic systems are used in linear algebra. The most important are commutative rings with identity and fields. Definition. A ring is a set R with two

### Finite Fields and Error-Correcting Codes

Lecture Notes in Mathematics Finite Fields and Error-Correcting Codes Karl-Gustav Andersson (Lund University) (version 1.013-16 September 2015) Translated from Swedish by Sigmundur Gudmundsson Contents

### 11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic

11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic Bezout s Lemma Let's look at the values of 4x + 6y when x and y are integers. If x is -6 and y is 4 we

### A SURVEY OF PRIMALITY TESTS

A SURVEY OF PRIMALITY TESTS STEFAN LANCE Abstract. In this paper, we show how modular arithmetic and Euler s totient function are applied to elementary number theory. In particular, we use only arithmetic

### The next sequence of lectures in on the topic of Arithmetic Algorithms. We shall build up to an understanding of the RSA public-key cryptosystem.

CS 70 Discrete Mathematics for CS Fall 2003 Wagner Lecture 10 The next sequence of lectures in on the topic of Arithmetic Algorithms. We shall build up to an understanding of the RSA public-key cryptosystem.

### The Fundamental Theorem of Arithmetic

Chapter 1 The Fundamental Theorem of Arithmetic 1.1 Primes Definition 1.1. We say that p N is prime if it has just two factors in N, 1 and p itself. Number theory might be described as the study of the

### This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time.

8 Modular Arithmetic We introduce an operator mod. Let d be a positive integer. For c a nonnegative integer, the value c mod d is the remainder when c is divided by d. For example, c mod d = 0 if and only

### 9.4. Mathematical Induction. Introduction. What you should learn. Why you should learn it

333202_090.qxd 2/5/05 :35 AM Page 73 Section 9. Mathematical Induction 73 9. Mathematical Induction What you should learn Use mathematical induction to prove statements involving a positive integer n.

### PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

PUTNAM TRAINING POLYNOMIALS (Last updated: December 11, 2017) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include

### Introduction to Abstract Mathematics

Introduction to Abstract Mathematics Notation: Z + or Z >0 denotes the set {1, 2, 3,...} of positive integers, Z 0 is the set {0, 1, 2,...} of nonnegative integers, Z is the set {..., 1, 0, 1, 2,...} of

### Complex Numbers. Rich Schwartz. September 25, 2014

Complex Numbers Rich Schwartz September 25, 2014 1 From Natural Numbers to Reals You can think of each successive number system as arising so as to fill some deficits associated with the previous one.

### 8 Primes and Modular Arithmetic

8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.

### CYCLICITY OF (Z/(p))

CYCLICITY OF (Z/(p)) KEITH CONRAD 1. Introduction For each prime p, the group (Z/(p)) is cyclic. We will give seven proofs of this fundamental result. A common feature of the proofs that (Z/(p)) is cyclic

### Homework 7 solutions M328K by Mark Lindberg/Marie-Amelie Lawn

Homework 7 solutions M328K by Mark Lindberg/Marie-Amelie Lawn Problem 1: 4.4 # 2:x 3 + 8x 2 x 1 0 (mod 1331). a) x 3 + 8x 2 x 1 0 (mod 11). This does not break down, so trial and error gives: x = 0 : f(0)

### Arithmetic Progressions Over Quadratic Fields

Arithmetic Progressions Over Quadratic Fields Alexander Diaz, Zachary Flores, Markus Vasquez July 2010 Abstract In 1640 Pierre De Fermat proposed to Bernard Frenicle de Bessy the problem of showing that

### Appendix G: Mathematical Induction

Appendix G: Mathematical Induction Introduction In this appendix, you will study a form of mathematical proof called mathematical induction. To see the logical need for mathematical induction, take another

### Number Theory Proof Portfolio

Number Theory Proof Portfolio Jordan Rock May 12, 2015 This portfolio is a collection of Number Theory proofs and problems done by Jordan Rock in the Spring of 2014. The problems are organized first by

### Notes on Primitive Roots Dan Klain

Notes on Primitive Roots Dan Klain last updated March 22, 2013 Comments and corrections are welcome These supplementary notes summarize the presentation on primitive roots given in class, which differed

### GALOIS GROUPS OF CUBICS AND QUARTICS (NOT IN CHARACTERISTIC 2)

GALOIS GROUPS OF CUBICS AND QUARTICS (NOT IN CHARACTERISTIC 2) KEITH CONRAD We will describe a procedure for figuring out the Galois groups of separable irreducible polynomials in degrees 3 and 4 over

### Abstract Algebra. Joseph R. Mileti. January 22, 2012

Abstract Algebra Joseph R. Mileti January 22, 2012 2 Contents 1 Introduction 5 1.1 What is Abstract Algebra?..................................... 5 1.2 Groups.................................................

### 4.4 Solving Congruences using Inverses

4.4 Solving Congruences using Inverses Solving linear congruences is analogous to solving linear equations in calculus. Our first goal is to solve the linear congruence ax b pmod mq for x. Unfortunately

### Perfect Numbers in Quadratic Rings of Integers

Julius-Maximilians-Universität Würzburg Fakultät für Mathematik und Informatik Institut für Mathematik Master Thesis Perfect Numbers in Quadratic Rings of Integers Author: Patrick Giron Supervisor: Prof.

### Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2

Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2 April 11, 2016 Chapter 10 Section 1: Addition and Subtraction of Polynomials A monomial is

1 Total Gadha s Complete Book of NUMBER SYSTEM TYPES OF NUMBERS Natural Numbers The group of numbers starting from 1 and including 1,,, 4, 5, and so on, are known as natural numbers. Zero, negative numbers,

### The Impossibility of Certain Types of Carmichael Numbers

The Impossibility of Certain Types of Carmichael Numbers Thomas Wright Abstract This paper proves that if a Carmichael number is composed of primes p i, then the LCM of the p i 1 s can never be of the

### Problem Set 5 Solutions

Problem Set 5 Solutions Section 4.. Use mathematical induction to prove each of the following: a) For each natural number n with n, n > + n. Let P n) be the statement n > + n. The base case, P ), is true

### 3 The language of proof

3 The language of proof After working through this section, you should be able to: (a) understand what is asserted by various types of mathematical statements, in particular implications and equivalences;

### A Curious Connection Between Fermat Numbers and Finite Groups

A Curious Connection Between Fermat Numbers and Finite Groups Carrie E. Finch and Lenny Jones 1. INTRODUCTION. In the seventeenth century, Fermat defined the sequence of numbers F n = 2 2n + 1 for n 0,

### Number Theory in Problem Solving. Konrad Pilch

Number Theory in Problem Solving Konrad Pilch April 7, 2016 1 Divisibility Number Theory concerns itself mostly with the study of the natural numbers (N) and the integers (Z). As a consequence, it deals

### PRIME LABELING OF SMALL TREES WITH GAUSSIAN INTEGERS. 1. Introduction

PRIME LABELING OF SMALL TREES WITH GAUSSIAN INTEGERS HUNTER LEHMANN AND ANDREW PARK Abstract. A graph on n vertices is said to admit a prime labeling if we can label its vertices with the first n natural

### * 8 Groups, with Appendix containing Rings and Fields.

* 8 Groups, with Appendix containing Rings and Fields Binary Operations Definition We say that is a binary operation on a set S if, and only if, a, b, a b S Implicit in this definition is the idea that

### PRE-CALCULUS By: Salah Abed, Sonia Farag, Stephen Lane, Tyler Wallace, and Barbara Whitney

PRE-CALCULUS By: Salah Abed, Sonia Farag, Stephen Lane, Tyler Wallace, and Barbara Whitney MATH 141/14 1 Pre-Calculus by Abed, Farag, Lane, Wallace, and Whitney is licensed under the creative commons attribution,

### SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

SUBGROUPS OF CYCLIC GROUPS KEITH CONRAD 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by g = {g k : k Z}. If G = g, then G itself is cyclic, with g as a generator. Examples

### ON THE EXTENSIBILITY OF DIOPHANTINE TRIPLES {k 1, k + 1, 4k} FOR GAUSSIAN INTEGERS. Zrinka Franušić University of Zagreb, Croatia

GLASNIK MATEMATIČKI Vol. 43(63)(2008), 265 291 ON THE EXTENSIBILITY OF DIOPHANTINE TRIPLES {k 1, k + 1, 4k} FOR GAUSSIAN INTEGERS Zrinka Franušić University of Zagreb, Croatia Abstract. In this paper,

### A Readable Introduction to Real Mathematics

Solutions to selected problems in the book A Readable Introduction to Real Mathematics D. Rosenthal, D. Rosenthal, P. Rosenthal Chapter 7: The Euclidean Algorithm and Applications 1. Find the greatest

### 3.2 Constructible Numbers

102 CHAPTER 3. SYMMETRIES 3.2 Constructible Numbers Armed with a straightedge, a compass and two points 0 and 1 marked on an otherwise blank number-plane, the game is to see which complex numbers you can

### Complex Continued Fraction Algorithms

Complex Continued Fraction Algorithms A thesis presented in partial fulfilment of the requirements for the degree of Master of Mathematics Author: Bastiaan Cijsouw (s3022706) Supervisor: Dr W Bosma Second

### ORDERS OF ELEMENTS IN A GROUP

ORDERS OF ELEMENTS IN A GROUP KEITH CONRAD 1. Introduction Let G be a group and g G. We say g has finite order if g n = e for some positive integer n. For example, 1 and i have finite order in C, since

### Introduction to Arithmetic Geometry Fall 2013 Lecture #5 09/19/2013

18.782 Introduction to Arithmetic Geometry Fall 2013 Lecture #5 09/19/2013 5.1 The field of p-adic numbers Definition 5.1. The field of p-adic numbers Q p is the fraction field of Z p. As a fraction field,

### IF A PRIME DIVIDES A PRODUCT... ζ(s) = n s. ; p s

IF A PRIME DIVIDES A PRODUCT... STEVEN J. MILLER AND CESAR E. SILVA ABSTRACT. One of the greatest difficulties encountered by all in their first proof intensive class is subtly assuming an unproven fact

### Homework #5 Solutions

Homework #5 Solutions p 83, #16. In order to find a chain a 1 a 2 a n of subgroups of Z 240 with n as large as possible, we start at the top with a n = 1 so that a n = Z 240. In general, given a i we will

### Factorization in Polynomial Rings

Factorization in Polynomial Rings These notes are a summary of some of the important points on divisibility in polynomial rings from 17 and 18. PIDs Definition 1 A principal ideal domain (PID) is an integral

### Primes. Rational, Gaussian, Industrial Strength, etc. Robert Campbell 11/29/2010 1

Primes Rational, Gaussian, Industrial Strength, etc Robert Campbell 11/29/2010 1 Primes and Theory Number Theory to Abstract Algebra History Euclid to Wiles Computation pencil to supercomputer Practical

### arxiv:math/ v1 [math.nt] 9 Aug 2004

arxiv:math/0408107v1 [math.nt] 9 Aug 2004 ELEMENTARY RESULTS ON THE BINARY QUADRATIC FORM a 2 + ab + b 2 UMESH P. NAIR Abstract. This paper examines with elementary proofs some interesting properties of

### Math 314 Course Notes: Brief description

Brief description These are notes for Math 34, an introductory course in elementary number theory Students are advised to go through all sections in detail and attempt all problems These notes will be

### Continued fractions for complex numbers and values of binary quadratic forms

arxiv:110.3754v1 [math.nt] 18 Feb 011 Continued fractions for complex numbers and values of binary quadratic forms S.G. Dani and Arnaldo Nogueira February 1, 011 Abstract We describe various properties

### Homework problems from Chapters IV-VI: answers and solutions

Homework problems from Chapters IV-VI: answers and solutions IV.21.1. In this problem we have to describe the field F of quotients of the domain D. Note that by definition, F is the set of equivalence

### Chapter 7 Rational Expressions, Equations, and Functions

Chapter 7 Rational Expressions, Equations, and Functions Section 7.1: Simplifying, Multiplying, and Dividing Rational Expressions and Functions Section 7.2: Adding and Subtracting Rational Expressions

### Part IX ( 45-47) Factorization

Part IX ( 45-47) Factorization Satya Mandal University of Kansas, Lawrence KS 66045 USA January 22 45 Unique Factorization Domain (UFD) Abstract We prove evey PID is an UFD. We also prove if D is a UFD,

### A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

Byte multiplication 1 Field arithmetic A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties: F is an abelian group under addition, meaning - F is closed under

### not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results Euclid s Division Lemma : Given two positive integers a and b, there exist unique integers q and r satisfying a = bq + r, 0 r < b. Euclid s Division

### Finite Fields: An introduction through exercises Jonathan Buss Spring 2014

Finite Fields: An introduction through exercises Jonathan Buss Spring 2014 A typical course in abstract algebra starts with groups, and then moves on to rings, vector spaces, fields, etc. This sequence

### NOTES (1) FOR MATH 375, FALL 2012

NOTES 1) FOR MATH 375, FALL 2012 1 Vector Spaces 11 Axioms Linear algebra grows out of the problem of solving simultaneous systems of linear equations such as 3x + 2y = 5, 111) x 3y = 9, or 2x + 3y z =