MATH 3240Q Introduction to Number Theory Homework 7

Similar documents
Practice Final Solutions

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

Practice Final Solutions

MATH342 Practice Exam

Mersenne and Fermat Numbers

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

MATH 310: Homework 7

Number Theory Naoki Sato

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

Primes - Problem Sheet 5 - Solutions

Math 104B: Number Theory II (Winter 2012)

1 Integers and the Euclidean algorithm

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

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,

Characteristics of Fibonacci-type Sequences

By Evan Chen OTIS, Internal Use

Diophantine Equations and Congruences

HOMEWORK # 4 MARIA SIMBIRSKY SANDY ROGERS MATTHEW WELSH

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

Jacobi symbols and application to primality

Quadratic Residues, Quadratic Reciprocity. 2 4 So we may as well start with x 2 a mod p. p 1 1 mod p a 2 ±1 mod p

MA3H1 TOPICS IN NUMBER THEORY PART III

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

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

ON THE LEAST SIGNIFICANT p ADIC DIGITS OF CERTAIN LUCAS NUMBERS

Mobius Functions, Legendre Symbols, and Discriminants

THE DIOPHANTINE EQUATION x 4 +1=Dy 2

t s (p). An Introduction

MAT 311 Solutions to Final Exam Practice

16 The Quadratic Reciprocity Law

LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS CONTAINING SQUARE-FREE NUMBERS AND PERFECT POWERS OF PRIME NUMBERS

On generalizing happy numbers to fractional base number systems

A Curious Property of the Decimal Expansion of Reciprocals of Primes

MATH 361: NUMBER THEORY EIGHTH LECTURE

Class Field Theory. Peter Stevenhagen. 1. Class Field Theory for Q

MATH 371 Class notes/outline September 24, 2013

HENSEL S LEMMA KEITH CONRAD

Small Zeros of Quadratic Forms Mod P m

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

6 Binary Quadratic forms

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

RECIPROCITY LAWS JEREMY BOOHER

MA3H1 Topics in Number Theory. Samir Siksek

Math 109 HW 9 Solutions

Verifying Two Conjectures on Generalized Elite Primes

Algebraic Number Theory

LECTURE 10: JACOBI SYMBOL

Elementary Number Theory

QUADRATIC RECIPROCITY

Solutions to Assignment 1

.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

On the Diophantine Equation x 2 = 4q n 4q m + 9

Quadratic Reciprocity

QUADRATIC RECIPROCITY

arxiv: v2 [math.nt] 9 Oct 2018

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

MAS 4203 Number Theory. M. Yotov

Number Theory. Lectured by V. Neale Michaelmas Term 2011

Quadratic Reciprocity. As in the previous notes, we consider the Legendre Symbol, defined by

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

f(r) = a d n) d + + a0 = 0

Frobenius Elements, the Chebotarev Density Theorem, and Reciprocity

On the Multiplicative Order of a n Modulo n

GAUSSIAN INTEGERS HUNG HO

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

A review of the foundations of perfectoid spaces

Public Key Cryptosystems RSA

2 Asymptotic density and Dirichlet density

2 Asymptotic density and Dirichlet density

Part II. Number Theory. Year

Chapter 3. Number Theory. Part of G12ALN. Contents

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

Infinitely Many Quadratic Diophantine Equations Solvable Everywhere Locally, But Not Solvable Globally

On the Rank of the Elliptic Curve y 2 = x(x p)(x 2)

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

Pretest (Optional) Use as an additional pacing tool to guide instruction. August 21

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

ANALYTIC NUMBER THEORY AND DIRICHLET S THEOREM

BOUNDS FOR THE SIZE OF SETS WITH THE PROPERTY D(n) Andrej Dujella University of Zagreb, Croatia

Elementary Proof That There are Infinitely Many Primes p such that p 1 is a Perfect Square (Landau's Fourth Problem)

p-adic Properties of Lengyel s Numbers

The Euler Phi Function

RINGS OF INTEGERS WITHOUT A POWER BASIS

arxiv: v1 [math.nt] 4 Nov 2015

Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018

Algebraic number theory LTCC Solutions to Problem Sheet 2

Mathematics for Cryptography

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

A FEW EQUIVALENCES OF WALL-SUN-SUN PRIME CONJECTURE

Ernie Croot 1. Department of Mathematics, Georgia Institute of Technology, Atlanta, GA Abstract

Math 5330 Spring Notes Prime Numbers

M381 Number Theory 2004 Page 1

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

Cryptography Assignment 3

A CLASS OF ALGEBRAIC-EXPONENTIAL CONGRUENCES MODULO p. 1. Introduction

arxiv: v2 [math.ho] 24 Nov 2014

Aliquot sums of Fibonacci numbers

PROBLEM SET 5 SOLUTIONS. Solution. We prove that the given congruence equation has no solutions. Suppose for contradiction that. (x 2) 2 1 (mod 7).

Asymptotically exact heuristics for prime divisors of the sequence {a k +b k } k=1

Transcription:

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 together towards erfection. Joseh Louis Lagrange. Question 1. The following is a table of owers of 2 modulo 13: x x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11 x 12 2 4 8 3 6 12 11 9 5 10 7 1 1. Without finding them, how many rimitive roots are there in Z/13Z? 2. Find all rimitive roots of 13. 3. Use the table to find all quadratic residues modulo 13. 1. From the given table we clearly see that 2 is a rimitive root. Then, there are φ(φ(13 φ(12 φ(4φ(3 4 rimitive roots. 2. The rimitive roots coincide with those owers 2 n with n relatively rime to 12, i.e. n 1, 5, 7, 11 and the rimitive roots are 2, 6, 7 and 11. 3. Since 2 is a rimitive root, the quadratic residues are those 2 n with n even. Hence, the quadratic residues are 4, 3, 12, 9, 10, 1 (and there are 6 13 1 2 of them. Question 2. The fraction 3/14 has decimal exansion 0.2142857 so we say that the eriod has length 6 and the osition of the first digit in the eriod (within the exansion of the fractional art is the second digit of the exansion. Without actually doing the long division, find out the length of the eriod, and the osition of the first digit in the eriod, for each of these fractions: 1. 2/35. 2. 11/208. 3. 5/17. 4. 1/97. 5. 2825249/19400. In the solutions for this roblem I am referring to the notation of Section 8.9 and Theorem 8.9.8 in the book. 1. 2/35 0.0571428. Here 35 5 7 so M 1 and the reeating art of the decimal exansion starts with the second digit, and the order of 10 modulo 7 is 6, i.e., ord 7 (10 6. Hence, the length of the eriod is 6.

2. 11/208 0.0528846153. Here 208 2 4 13 so M 4 and the reeating art of the decimal exansion starts with the M + 1 5th digit, and the order of 10 modulo 13 is 6, i.e., ord 13 (10 6. Hence, the length of the eriod is 6. 3. 5/17 0.29411760588235. Here 17 is rime so M 0 and the reeating art of the decimal exansion starts with the M + 1 1st digit, and the order of 10 modulo 17 is 16, i.e., ord 17 (10 16. Hence, the length of the eriod is 16. 4. 1/97 0.0103092783505154639175257731959.... Here 97 is rime so M 0 and the reeating art of the decimal exansion starts with the M + 1 1st digit, and the order of 10 modulo 97 is 96, i.e., ord 97 (10 96. Hence, the length of the eriod is 96. 5. 2825249/19400 14560.579845360824226804121.... Here 19400 2 3 5 2 97 where 97 is rime so M 3 and the reeating art of the decimal exansion starts with the M + 1 4th digit, and the order of 10 modulo 97 is 96, i.e., ord 97 (10 96. Hence, the length of the eriod is 96. Question 3. Is 45 a quadratic residue modulo? Notice that 45 9 5, so ( 45 ( 9 5 9 5 5 1. Now, we use quadratic recirocity. Since 5 1 mod 4 then: 5 2 1 5 5 where we have used quadratic recirocity and then the fact that 2 mod 5. Therefore, 45 is not a quadratic residue modulo. Here is an alternative way: 45 2 mod. Thus: ( 45 ( 2 ( 2 Since 7 mod 8, 2 is a QR and since 3 mod 4, 1 is not a square modulo, and so: 45 1 2 ( 1 1 1. Question 4. Is 13 a square modulo? By the roerties of the Legendre symbol: 13 13 1 ( 13 1 ( 13

where we have used the fact that 1 mod 4 and, thus, 1 is a quadratic residue modulo. Now we shall use Quadratic Recirocity. Since 13 1 mod 4 and 11 mod 13: 13 11 13 13 and, again by Quadratic Recirocity and 13 1 mod 4: 11 13 2. 13 11 11 Finally, since 11 3 mod 8, the number 2 is not a square modulo 11 and so: 13 13 2 1. 11 Hence, 13 is not a quadratic residue modulo. Question 5. Is 14 a quadratic residue modulo 65? We need to check whether x 2 14 mod 65 has solutions. By the Chinese Remainder theorem, and since 65 5 13, this equation has solutions if and only if the system: { x 2 14 4 mod 5 x 2 14 1 mod 13 has solutions. But, clearly, these systems have solutions. Therefore, the original system has a solution as well. For examle, a solution of the system x 2 mod 5 and x 1 mod 13 will work. Thus x 27 mod 65 is a solution of x 2 14 mod 65. Question 6. Find the following values of the Legendre symbol: ( 113 113 113 210,,,. 127 131 1 229 The numbers 113, 127, 131, 1 are rimes. For this, use the law of quadratic recirocity. In the last one, first factor 210. 113 113 113 1, 1, 1, 127 131 1 ( ( 210 2 3 5 7 ( 1 1 1 ( 1 1. 229 229 229 229 229 Question 7. Find the value of the following Legendre symbol: rime but 4699 is not! ( 4699. Note that is

The number 4699 factors as 127, and notice that they are both 1 mod 4, thus, by the roerties of the Legendre symbol and quadratic recirocity: ( 4699 ( 4 ( 4 1 because 3 mod 4. Another way, using Quadratic Recirocity: ( ( ( ( ( ( 4699 127 4 4 1. 127 127 Question 8. Find all solutions (if any of the equations: x 2 + 21x + 82 0 mod 1, x 2 + 5x + 3 0 mod, x 2 + 5x + 7 0 mod Use the quadratic formula. First one needs to calculate the discriminants of the equations: 21 2 4 82 113, 5 2 4 3 13, 5 2 4 7 3. Since: ( 113 1, 1 ( 13 1, ( 3 1 the first equations have no solutions and the third one does. In fact 16 2 3 mod and the solutions are 8 and 24 modulo and (x 8(x 24 x 2 + 5x + 7 mod. Question 9. Prove that the equation x 2 1y 2 113 has no integer solutions. Suose that (x, y is a solution in integers and reduce the equation modulo 1, to obtain x 2 113 mod 1. But in roblem 1 we saw that (113/1 1, so 113 is not a quadratic residue modulo 1 and x 2 113 mod 1 cannot have solutions. Contradiction. Question 10. For what rimes is 5 a quadratic residue? For what rimes is 10 a quadratic residue? Are there infinitely many rimes such that 10 is a quadratic residue modulo? Hint: Use Quadratic Recirocity! Use quadratic recirocity: ( 5 ( 5 ( 5.

Thus, 5 is a QR if 1 is a QR and ±1 mod 5, or 1 is not a QR and 2, 3 mod 5. Notice that 1 is a QR if and only if 1 mod 4, so one can exress all this in terms of congruences modulo 20 (do it!. Similarly, one can treat the question about 10 (in this case the answer will be modulo 40. And there are infinitely many such rimes (use Dirichlet s theorem. Question 11. Are there two odd rimes, q such that q, q 3 mod 4 and such that is a quadratic residue modulo q and q is a quadratic residue modulo? What is the smallest odd rime q such that 3 is a quadratic residue modulo q and q is a quadratic residue modulo 3? The answer to the first question is no (use quadratic recirocity. For the second question, we need to find such that is a QR modulo 3 and 3 is a QR modulo. Hence, must be 1 modulo 4, and must be 1 modulo 3. By the Chinese Remainder Theorem, 1 mod 12. The first such rime is 13. Question 12. Use induction to show that, for all n, there exists a set of n distinct odd rimes { 1,..., n } such that ( i 1 j for all 1 i, j n with i j, i.e. every rime in the list is a quadratic residue modulo any other rime in the list. We will show that this can be done with all i 1 mod 4. For n 1 it is clear. Now let { 1,..., n 1 } be a set of such rimes, i.e. i 1 mod 4 and ( i / j 1 for i j. Then, by Dirichlet s theorem on rimes in arithmetic rogressions there are infinitely many rimes such that 1 mod 4 1 2 n 1. Let n be one of them. In articular, n 1 mod 4 and n 1 mod i for all 1 i n q (by the Chinese Remainder Theorem. Hence: i n 1 1 for all 1 i n 1 as desired. n i i Question 13. Suose that and q are twin rimes. Is it ossible that 2 is a quadratic residue for both and q? Is 2 necessarily a quadratic residue of or q? Find twin rimes and q such that 2 is a quadratic residue modulo but not modulo q. Suose and q are twin, with q + 2. The number 2 is a QR modulo a rime t if and only if t ±1mod8. Suose 2 is a QR modulo, then ±1 mod 8 but then + 2 3 or 1 modulo 8. Hence, if 2 is a QR for q + 2, then cannot be 1 modulo 8, but there is no roblem if 1 mod 8 and q 1 mod 8. For examle, 71 and 73 are both rimes (twin and 2 is a QR for both of them.

If and q + 2 are twin rimes but 3 mod 8 then q 5 mod 8 and for neither of them 2 is a QR. For examle, 11 and 13. By our first remarks, if 2 is a QR for but not for q + 2 then 1 mod 8. For examle, 17 and 19. Question 14. The number 4003 is rime. 1. The number 2 has exact order 2001 modulo 4003. Find a rimitive root modulo. 2. The number 285 has exact order 87 modulo, and the number 2163 has exact order 46 modulo. Find another rimitive root mod. 3. Given that 2 87 2163 mod 4003 and 2 46 285 mod 4003, rove that 2 is also a rimitive root modulo 4003. 1. Let us assume (as they tell us to do that 2 has exact order 2001 modulo 4003. A number is a rimitive root modulo 4003 if its order is exactly 4003 1 4002 2001 2. Notice that 1 4002 has order 2 modulo 4003. Since (2001, 2 1, then the order of ( 1 2 is equal to 2 2001 4002. Therefore, 2 3631 mod 4003 is a rimitive root. 2. Suose ord(285 87 and ord(2163 46. Notice that 4002 2 3 23 29 and 87 3 29 and 46 2 23. Since (87, 46 1 then ord(285 2163 87 46 4002. Hence, 285 2163 3996 mod 4003 is also a rimitive root. 3. We are given 2 87 2163 mod 4003 and 2 46 285 mod 4003. Recall the formula: Thus: and Hence: ord(a n ord(a (ord(a, n. 46 ord(2163 ord(2 87 ord(2 (ord(2, 87 87 ord(285 ord(2 46 ord(2 (ord(2, 46. ord(2 46 (ord(2, 87 87 (ord(2, 46. Consequently, the order of 2 is divisible by 46 and by 87. Since these two numbers are relatively rime, ord(2 is divisible by 46 87 4002. Since the order of any number modulo divides 1, we conclude that ord(2 4002 and 2 is a rimitive root.