Number Theory. Final Exam from Spring Solutions

Similar documents
Math 109 HW 9 Solutions

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

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

Math 110 HW 3 solutions

M381 Number Theory 2004 Page 1

EXAMPLES OF MORDELL S EQUATION

Theory of Numbers Problems

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

MATH 152 Problem set 6 solutions

. In particular if a b then N(

Winter Camp 2009 Number Theory Tips and Tricks

Summary Slides for MATH 342 June 25, 2018

Number Theory Math 420 Silverman Exam #1 February 27, 2018

Part II. Number Theory. Year

1. multiplication is commutative and associative;

MATH 310: Homework 7

PYTHAGOREAN TRIPLES KEITH CONRAD

EXAMPLES OF MORDELL S EQUATION

Name: MAT 444 Test 4 Instructor: Helene Barcelo April 19, 2004

Introduction to Number Theory

ALGEBRA PH.D. QUALIFYING EXAM September 27, 2008

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

Quadratic reciprocity and the Jacobi symbol Stephen McAdam Department of Mathematics University of Texas at Austin

CS 514, Mathematics for Computer Science Mid-semester Exam, Autumn 2017 Department of Computer Science and Engineering IIT Guwahati

Notes on Systems of Linear Congruences

1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).

ASSIGNMENT Use mathematical induction to show that the sum of the cubes of three consecutive non-negative integers is divisible by 9.

Pythagorean Triangles with Repeated Digits Different Bases

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

k, then n = p2α 1 1 pα k

Math 430 Midterm II Review Packet Spring 2018 SOLUTIONS TO PRACTICE PROBLEMS

Congruent Number Problem and Elliptic curves

ARITHMETIC PROGRESSION OF SQUARES AND SOLVABILITY OF THE DIOPHANTINE EQUATION 8x = y 2

Solving the general quadratic congruence. y 2 Δ (mod p),

Math 324, Fall 2011 Assignment 6 Solutions

MATH FINAL EXAM REVIEW HINTS

MATH 3030, Abstract Algebra FALL 2012 Toby Kenney Midyear Examination Friday 7th December: 7:00-10:00 PM

MATH 361: NUMBER THEORY FOURTH LECTURE

Solutions to Problem Set 4 - Fall 2008 Due Tuesday, Oct. 7 at 1:00

Zhi-Wei Sun Department of Mathematics, Nanjing University Nanjing , People s Republic of China

FACTORING IN QUADRATIC FIELDS. 1. Introduction

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

Number Theory. Henry Liu, 6 July 2007

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

When is n a member of a Pythagorean Triple?

x 3 2x = (x 2) (x 2 2x + 1) + (x 2) x 2 2x + 1 = (x 4) (x + 2) + 9 (x + 2) = ( 1 9 x ) (9) + 0

ON DIRICHLET S CONJECTURE ON RELATIVE CLASS NUMBER ONE

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

Hilbert s theorem 90, Dirichlet s unit theorem and Diophantine equations

12 16 = (12)(16) = 0.

On a special case of the Diophantine equation ax 2 + bx + c = dy n

THUE S LEMMA AND IDONEAL QUADRATIC FORMS

Math 120 HW 9 Solutions

D-MATH Algebra II FS18 Prof. Marc Burger. Solution 26. Cyclotomic extensions.

Name (print): Question 4. exercise 1.24 (compute the union, then the intersection of two sets)

School of Mathematics

ARITHMETIC PROGRESSIONS OF SQUARES, CUBES AND n-th POWERS

LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS

Mathematics for Cryptography

Solving x 2 Dy 2 = N in integers, where D > 0 is not a perfect square. Keith Matthews

2k n. k=0. 3x 2 7 (mod 11) 5 4x 1 (mod 9) 2 r r +1 = r (2 r )

Math 314 Course Notes: Brief description

Number Theory Solutions Packet

ALGEBRA PH.D. QUALIFYING EXAM SOLUTIONS October 20, 2011

On the polynomial x(x + 1)(x + 2)(x + 3)

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.

THESIS. Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University

that if a b (mod m) and c d (mod m), then ac bd (mod m) soyou aren't allowed to use this fact!) A5. (a) Show that a perfect square must leave a remain

CHAPTER V Fermat s last theorem

THUE S LEMMA AND IDONEAL QUADRATIC FORMS

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

ELEMENTARY PROOFS OF PARITY RESULTS FOR 5-REGULAR PARTITIONS

PRACTICE PROBLEMS: SET 1

Explicit Methods in Algebraic Number Theory

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 6. Unique Factorization Domains

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

REGULAR TETRAHEDRA WHOSE VERTICES HAVE INTEGER COORDINATES. 1. Introduction

IRREDUCIBILITY TESTS IN F p [T ]

2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.

A Classification of Integral Apollonian Circle Packings

Number Theory Course notes for MA 341, Spring 2018

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

3.2 Solving linear congruences. v3

LEGENDRE S THEOREM, LEGRANGE S DESCENT

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

PROBLEMS ON CONGRUENCES AND DIVISIBILITY

Math /Foundations of Algebra/Fall 2017 Foundations of the Foundations: Proofs

Solutions Manual for Homework Sets Math 401. Dr Vignon S. Oussa

MTH 310, Section 001 Abstract Algebra I and Number Theory. Sample Midterm 1

φ(xy) = (xy) n = x n y n = φ(x)φ(y)

Chapter 8. P-adic numbers. 8.1 Absolute values

UAB MATH TALENT SEARCH

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

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

August 2015 Qualifying Examination Solutions

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

PMA225 Practice Exam questions and solutions Victor P. Snaith

Transcription:

Number Theory. Final Exam from Spring 2013. Solutions 1. (a) (5 pts) Let d be a positive integer which is not a perfect square. Prove that Pell s equation x 2 dy 2 = 1 has a solution (x, y) with x > 0, y > 0 and y even. (b) (7 pts) Find a solution (x, y) to Pell s equation x 2 28y 2 = 1 with x > 0 and y > 0. Hint: (b) can, of course, be solved by the standard method, but you may use the proof of (a) to solve (b) with very few computations. Solution by guessing is allowed (although direct guessing is not recommended). Solution: (a) Let (x 0, y 0 ) be any solution with x 0 > 0, y 0 > 0. Then x 0 + y 0 d P ell(d) and (since P ell(d) is a group with respect to multiplication) (x 0 + y 0 d) 2 P ell(d) as well. Since (x 0 + y 0 d) 2 = (x 2 0 + dy2 0 ) + 2x 0y 0 d, the pair (x, y) = (x 2 0 + dy2 0, 2x 0y 0 ) is also a solution. It is clear that x, y > 0 and y is even. (b) By direct computation, the continued fraction of 28 is [5; 3, 2, 3, 10]. The length of the period is equal to 4 (even), so by the theorem stated in class the numerator and the denominator of the finite continued fraction [5; 3, 2, 3] form a solution to x 2 28y 2 = 1. We have [5; 3, 2, 3] = 127 24, so (127, 24) is a solution to x 2 28y 2 = 1. Here is a more conceptual solution using (a). Observe that if we found x 0, y 0 > 0 with y 0 even such that x 2 0 7y2 0 = 1, then x2 0 28(y 0/2) 2 = 1, so (x 0, y 0 /2) is a solution to x 2 28y 2 = 1. One non-trivial solution to x 2 7y 2 = 1 is easy to guess: (x, y) = (8, 3). To get a solution with y even we use the computation from (a): (8 + 3 7) 2 = 127 + 48 7. Thus, the pair (x 0, y 0 ) = (127, 48) satisfies x 2 0 7y2 0 = 1, so again we deduce that (127, 48/2) = (127, 24) is a solution to x 2 28y 2 = 1. 2. Given a prime p and a nonzero integer m, let ord p (m) denote the largest e such that p e m. (a) (3 pts) Prove that ord p (mn) = ord p (m) + ord p (n) for any nonzero m and n (b) (2 pts) Give a characterization of perfect squares in terms of ord p function (for various p): a positive integer n is a perfect square if and only if... (complete the statement, no justification is necessary) 1

2 (c) (7 pts) Let m, n and k be positive integers which are coprime as a set (note that m, n and k are not required to be pairwise coprime). Assume that each of the numbers mn, mk and nk is a perfect square. Prove that m, n and k must all be perfect squares. Hint: use (a) and (b). Solution: (a) Let a = ord p (m) and b = ord p (n). Then m = p a u and n = p b v where p u and p v. We have mn = p a+b (uv), and p uv since p is prime. Therefore, ord p (mn) = a + b = ord p (m) + ord p (n). (b) A positive integer n is a perfect square if and only if ord p (n) is even for every prime p. (c) We argue by contradiction. Assume that m is not a perfect square. Then by (b), there is a prime p such that ord p (m) is odd. Since mn and mk are perfect squares, ord p (mn) = ord p (m) + ord p (n) and ord p (mk) = ord p (m) + ord p (k) must be even. Since ord p (m) is odd, we conclude that ord p (n) and ord p (k) are also odd. In particular, all three numbers ord p (m), ord p (k) and ord p (n) are nonzero, so p divides m, n and k. This contradicts the assumption that m, n and k are coprime as set. Thus, we proved that m is a perfect square. that n and k must be perfect squares as well. Analogous argument shows 3. (12 pts) Let p 7 be an odd prime. Compute the Legendre symbol ( 7 p ). The final answer should be given in the form ( ) { 7 1 if p a1, a = 2,..., or a k mod N p 1 if p b 1, b 2,..., or b l mod N (where a 1,..., a k, b 1,..., b l and N are specific integers that you need to determine). Solution: By Problem 3(b) from the second midterm, ( 7 p ) = 1 (p 1 mod 4 and ( p 7 ) = 1) or (p 3 mod 4 and ( p 7 ) = 1). By direct computation, ( p 7 ) = 1 if p 1, 2, 4 mod 7 and ( p 7 ) = 1 if p 3, 5, 6 mod 7. Note that Thus, (p 1 mod 4 and p 1 mod 7) p 1 mod 28 (p 1 mod 4 and p 2 mod 7) p 9 mod 28 (p 1 mod 4 and p 4 mod 7) p 25 mod 28 (p 3 mod 4 and p 3 mod 7) p 3 mod 28 (p 19 mod 4 and p 5 mod 7) p 19 mod 28 (p 3 mod 4 and p 6 mod 7) p 27 mod 28 ( ) 7 = 1 p 1, 3, 9, 19, 25, 27 mod 28. p There are 12 integers in [1, 28] which are coprime to 28: 1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, 27.

3 Therefore, ( ) 7 = 1 p 5, 11, 13, 15, 17, 23 mod 28. p 4. (a) (3 pts) State the classification theorem for primitive Pythagorean triples: let x, y, z N with x odd. The following are equivalent: (i) x 2 + y 2 = z 2 and gcd(x, y, z) = 1. (ii) there exist u, v N such that... (complete the statement). Note: Make sure not to skip any conditions; otherwise, you will have difficulty solving parts (b) and (c). (b) (5 pts) Given a positive EVEN integer b, denote by n b the number of integer pairs (x, z) such that x > 0, z > 0, gcd(x, b, z) = 1 and x 2 + b 2 = z 2. Prove that n b > 0 if and only if b is divisible by 4. (c) (4 pts) Find all positive even b for which n b = 1 (and prove your answer). Solution: (a) (ii) there exist u, v N such that u > v, u and v have different parity, x = u 2 v 2 and y = 2uv. (b) By classification of primitive Pythagorean triples, n b > 0 if and only if b can be written as 2uv where u and v have different parity. Clearly, if 4 b, there are no such u and v (since either u or v must be even, so 4 must divide 2uv). On the other hand, if 4 b, we write b = 2 e c with e 2 and c odd. Then we can set u = 2 e 1 and v = c if 2 e 1 > c and u = c and v = 2 e 1 if 2 e 1 < c. (c) By the same argument as in (b), n b = 1 b can be UNIQUELY written as 2uv where u and v have different parity and u > v. We claim that this happens b = 2 e for some e 2 (that is, b is a power of 2 greater than or equal to 4). Indeed, if b = 2 e and b = 2uv, then both u and v are powers of 2 (possibly the zero power 2 0 = 1), so the only way for u and v to have different parity and satisfy u > v is to set u = 2 e 1 and b = 1. Suppose now that b is not a power of 2. Then b has an odd prime divisor p. If 4 b, then n b = 0 by (b). If 4 b, we can write b = 2uv in two different ways: (i) u = b/2 and v = 1 (ii) (u = b/(2p) and v = p) if b/(2p) > p and (u = p and v = b/(2p)) if b/(2p) < p. In both case u > v and u and v have different parity. 5. Let R = Z[ 3] = {a + b 3 : a, b Z}. Define the function N : R Z 0 by N(a + b 3) = (a + b 3)(a b 3) = a 2 3b 2. (a) (2 pts) Prove that N(fg) = N(f)N(g) for all f, g R.

4 (b) (3 pts) Let p N be a prime, and suppose that there exists no f R with N(f) = p. Prove that p is irreducible as an element of R. (c) (7 pts) Use (b) to show that if p N is a prime which is congruent to 5 or 7 mod 12, then p is irreducible as an element of R. Solution: (a) A conceptual way to prove this equality is described in Problem 2 of HW#9. Here we present a solution by brute force: suppose that f = a + b 3 and g = c + d 3. Then fg = (ac + 3bd) + (ad + bc) 3, so N(f)N(g) = a 2 3b 2 c 2 3d 2 = a 2 c 2 3a 2 d 2 3b 2 c 2 + 9b 2 d 2 while N(fg) = (ac+3bd) 2 3(ad+bc) 2 = a 2 c 2 +6acbd+9b 2 d 2 3a 2 d 2 3b 2 c 2 6adbc Therefore, N(f)N(g) = N(fg). = a 2 c 2 + 9b 2 d 2 3a 2 d 2 3b 2 c 2. (b) Suppose that p is not irreducible as an element of R. Clearly, p is nonzero and not a unit in R (since 1 p R), so the only possibility is that p is a product of two non-units: p = fg. Taking norms of both sides, we get p 2 = N(fg) = N(f)N(g). Since f and g are non-units, both N(f) and N(g) are greater than 1. Hence the only possibility is that N(f) = N(g) = p which is impossible by assumption. (c) By (b) we need to show that if p 5 or 7 mod 12, then the equation a 2 3b 2 = p has no integer solutions in a and b. Suppose, on the contrary, that such a and b exist. Then a 2 3b 2 = ±p, so in either case a 2 3b 2 ±5 mod 12 (since 7 5 mod 12 and 7 5 mod 12). Case 1: a 2 3b 2 5 mod 12. Then a 2 3b 2 5 mod 3, whence a 2 2 mod 3, and we know that this is impossible. Case 2: a 2 3b 2 5 mod 12. Then a 2 3b 2 5 mod 4, whence a 2 + b 2 5 3 mod 4. Again this is impossible since x 2 0 or 1 mod 4 for all x Z. 6. Given positive integers m and n > 1, let f(n, m) be the number of reduced solutions to the congruence x 2 m mod n. (a) (9 pts) Assume that m is square-free. Prove that for any odd n > 1 either f(n, m) = 0 or f(n, m) = 2 k for some integer k 0. Clearly state any theorem you are referring to. Hint: First reduce to the case when n is a prime power. Note: The assertion is actually true for even n as well, but that takes more work to justify. (b) (3 pts) Give an example (with proof) of a non-square-free integer m for which the assertion of (a) is false for some odd n. Solution: (a) By the general theory of polynomial congruences we know that if p a 1 1... pat t is the prime factorization of n, then f(n, m) = t i=1 f(pa i i, m). If we show that each f(p a i i, m) is 0 or a power of 2, then the same is true for f(n, m). Thus, it is sufficient to consider the case where n is a prime power.

5 Let us start with the subcase when n itself is prime. Then, since x 2 m is a quadratic polynomial which has a coefficient not divisible by n, we know that x 2 m mod n has 0, 1 or 2 reduced solutions. Now suppose that n = p a where p is prime and a 2. Let f(x) = x 2 m. Subcase 1: p m. We claim that the congruence f(x) 0 mod n has no solution. Indeed, if x 2 m 0 mod p a for some x, then x 2 m = p a l for some l Z, so (since p m), p must divide x as well. But then m = x 2 p a l is divisible by p 2, which contradicts the assumption that m is square-free. Subcase 2: p m. Let x 0 be any reduced solution to the congruence f(x) 0 mod p (as we just showed there are 0, 1 or 2 choices for x 0 ). Then p x 0 (for any choice of x 0 ). Note that f (x 0 ) = 2x 0. Since p is odd, p 2, whence f (x 0 ) 0 mod p, so by the lifting theorem, x 0 lifts to unique reduced solution to f(x) 0 mod n. It follows that f(x) 0 mod n has 0, 1 or 2 reduced solutions (and we are done). (b) Let m = 9 and n = 27. Then the congruence x 2 m 0 mod n has 6 reduced solutions x = 3, 6, 12, 15, 21, 24.