Primes - Problem Sheet 5 - Solutions

Similar documents
6 Binary Quadratic forms

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

Class Field Theory. Steven Charlton. 29th February 2012

MATH 3240Q Introduction to Number Theory Homework 7

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

THUE-VINOGRADOV AND INTEGERS OF THE FORM x 2 + Dy 2. Contents. Introduction Study of an Elementary Proof

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

MAT 311 Solutions to Final Exam Practice

MATH342 Practice Exam

Practice Final Solutions

Math 104B: Number Theory II (Winter 2012)

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

Primes of the form ±a 2 ± qb 2

Pythagorean triples and sums of squares

Practice Final Solutions

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

Number Theory. Lectured by V. Neale Michaelmas Term 2011

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

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,

CONGRUENCES CONCERNING LUCAS SEQUENCES ZHI-HONG SUN

Part II. Number Theory. Year

A CRITERION FOR POLYNOMIALS TO BE CONGRUENT TO THE PRODUCT OF LINEAR POLYNOMIALS (mod p) ZHI-HONG SUN

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).

By Evan Chen OTIS, Internal Use

16 The Quadratic Reciprocity Law

Algebraic number theory LTCC Solutions to Problem Sheet 2

Small Zeros of Quadratic Forms Mod P m

On the number of representations of n by ax 2 + by(y 1)/2, ax 2 + by(3y 1)/2 and ax(x 1)/2 + by(3y 1)/2

HOMEWORK # 4 MARIA SIMBIRSKY SANDY ROGERS MATTHEW WELSH

Primes of the Form x 2 + ny 2

Quadratic Reciprocity

THE LEAST PRIME QUADRATIC NONRESIDUE IN A PRESCRIBED RESIDUE CLASS MOD 4

MA3H1 TOPICS IN NUMBER THEORY PART III

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

Math Circles: Number Theory III

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

PartII Number Theory

Mersenne and Fermat Numbers

t s (p). An Introduction

Number Theory Naoki Sato

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

DISCRIMINANTS IN TOWERS

LECTURE 10: JACOBI SYMBOL

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

HENSEL S LEMMA KEITH CONRAD

POINTS ON CONICS MODULO p

On the Multiplicative Order of a n Modulo n

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

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

Homework #2 solutions Due: June 15, 2012

Primes of the form x 2 + ny 2. Matthew Bates

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

Math 109 HW 9 Solutions

ON THE SET a x + b g x (mod p) 1 Introduction

On Character Sums of Binary Quadratic Forms 1 2. Mei-Chu Chang 3. Abstract. We establish character sum bounds of the form.

MA3H1 Topics in Number Theory. Samir Siksek

GAUSSIAN INTEGERS HUNG HO

#A47 INTEGERS 15 (2015) QUADRATIC DIOPHANTINE EQUATIONS WITH INFINITELY MANY SOLUTIONS IN POSITIVE INTEGERS

QUADRATIC FORMS, BASED ON (A COURSE IN ARITHMETIC BY SERRE)

PARTITIONS AND (2k + 1) CORES. 1. Introduction

MATH 371 Class notes/outline October 15, 2013

BRANDON HANSON, ROBERT C. VAUGHAN, AND RUIXIANG ZHANG

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

Some sophisticated congruences involving Fibonacci numbers

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

A FEW EQUIVALENCES OF WALL-SUN-SUN PRIME CONJECTURE

Class Numbers and Iwasawa Invariants of Certain Totally Real Number Fields

Frobenius Elements, the Chebotarev Density Theorem, and Reciprocity

Algebraic Number Theory

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

SQUAREFREE VALUES OF QUADRATIC POLYNOMIALS COURSE NOTES, 2015

QUADRATIC RECIPROCITY

SUBORBITAL GRAPHS FOR A SPECIAL SUBGROUP OF THE NORMALIZER OF. 2p, p is a prime and p 1 mod4

Cryptography Assignment 3

Jacobi symbols and application to primality

MATH 2710: NOTES FOR ANALYSIS

Factorability in the ring Z[ 5]

Diophantine Equations and Congruences

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

Verifying Two Conjectures on Generalized Elite Primes

Elementary Analysis in Q p

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

p-adic Properties of Lengyel s Numbers

HASSE-MINKOWSKI THEOREM

Mobius Functions, Legendre Symbols, and Discriminants

The Mass Formula for Binary Quadratic Forms

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

Some practice problems for midterm 2

MAS 4203 Number Theory. M. Yotov

ON THE LEAST SIGNIFICANT p ADIC DIGITS OF CERTAIN LUCAS NUMBERS

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

Relations. Binary Relation. Let A and B be sets. A (binary) relation from A to B is a subset of A B. Notation. Let R A B be a relation from A to B.

A construction of bent functions from plateaued functions

CONGRUENCES MODULO 4 OF CALIBERS OF REAL QUADRATIC FIELDS. 1. Definitions and results

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

QUADRATIC RECIPROCITY

Number Theory Homework.

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

MATH 361: NUMBER THEORY EIGHTH LECTURE

MATH 210A, FALL 2017 HW 5 SOLUTIONS WRITTEN BY DAN DORE

Transcription:

Primes - Problem Sheet 5 - Solutions Class number, and reduction of quadratic forms Positive-definite Q1) Aly the roof of Theorem 5.5 to find reduced forms equivalent to the following, also give matrices which show the equivalence: 6x 2 2xy + y 2 10x 2 10x + 3y 2 5x 2 10xy + 6y 2 5x 2 + 6xy + 3y 2 2x 2 + 4xy + 5y 2 x 2 + 2xy + 7y 2 8x 2 2xy + y 2 Solution: These are all very similar, so we only treat the first art. We can make a smaller by alying S to get x 2 + 2xy + 6y 2. Now we can make b smaller by alying T 1, giving x 2 + 5y 2. And this is reduced. We alied ST 1 = ( 0 1 1 1 ). So we find under this change of basis. f(y, x + y) = x 2 + 5y 2 Q2) Check that the following, for discriminant D < 0 are always reduced forms For D 0 (mod 4), the form x 2 D 4 y2, For D 1 (mod 4), the form x 2 + xy + 1 D 4 y2. These are called the rincial forms. For D > 0, these forms are not reduced, but we still call them the rincial forms. (These forms corresond to the rincial ideal class in quadratic number fields. See handout 2.) Solution: This is a direct check of what reduced means: b a c holds for the first since b = 0 = 0 a = 1 c = D/4, since D/4 1. D < 0 so D > 0, and D/4 is an integer. Since b = 0, the edge cases hold automatically. Similarly for the second case b = 1 a = 1, and a = 1 c = (1 D)/4, since D < 0, and (1 D)/4 is an integer. Since b = 1 > 0, the edge cases also hold. Q3) Suose that f(x) = ax 2 + bxy + cy 2 is a ositive-definite binary quadratic form of discriminant D < 0. Suose a < D/4 and a < b a. Show that f is reduced. Solution: The conditions for reduced require b a and a c, with some edge cases. From the hyothesis, we get b a, and if b = a, then b = a > 0. 1

2 PRIMES - PROBLEM SHEET 5 - SOLUTIONS Now we have c = b2 D D/4a > a 2 /a = a, 4a and there is no edge case to check with a = c. So f is reduced. Q4) Verify the following table of class numbers (in the ositive definite case), by listing all reduced forms of the given discriminant. D h(d) D h(d) 3 1 4 1 7 1 8 1 11 1 12 1 15 2 16 1 19 1 20 2 23 3 24 2 27 1 28 1 31 3 32 2 35 2 36 2 39 4 40 2 Write a comuter rogram to extend this to all discriminants 32768 < D < 0. Hint: h( 32767) is divisible by 13. (Runtime of about 30 minutes, is fine) Solution: The reduced forms of discriminant D = 32 are given by the following table a b c Primitive? Reduced? 1 0 8 2 0 4 3 2 3 3 2 3 So there are 2 rimitive reduced forms, confirming the number above. Q5) The entries above for D = 4, 8, 12 corresond to Fermat s x 2 +y 2, x 2 +2y 2 and x 2 + 3y 2 theorems, which we now have owerful techniques to rove. Since h(d) = 1 for D = 3, 7, 11, 16, 19, 27 and 28, we obtain corresonding results for these cases. i) State and rove congruence conditions on when a rime can be reresented by x 2 + xy + y 2, of discriminant 3, x 2 + xy + 2y 2, of discriminant 7, x 2 + xy + 3y 2, of discriminant 11, x 2 + 4y 2, of discriminant 16, x 2 + xy + 5y 2, of discriminant 19, x 2 + xy + 7y 2, of discriminant 27,

PRIMES - PROBLEM SHEET 5 - SOLUTIONS 3 x 2 + 7y 2, of discriminant 28. Solution: We deal only with the case x 2 + xy + 3y 2 as the results are all very similar. From our criterion/corollary, we have that for 2, 11 = x 2 + xy + 3y 2 if and only if ( ) 11 = 1. (Since this is the only form of discriminant 11.) Using quadratic recirocity, we have So ( 11 )( 11 ) ( ) 1 = ( 1) ( 1)/2 (11 1)/2 = ( 1) ( 1)/2 = ( ) 11 = ( ) = 1 11 if and only if (mod 11), and this is if and only if (±1) 2,... (m5) 2 = 1, 3, 4, 5, 9 (mod 11). ii) Show directly that the result = x 2 + 4y 2 where D = 16 is (trivially) equivalent to result for = x 2 + y 2 where D = 4. Solution: The result we obtain is for 2, that = x 2 + 4y 2 iff 1 (mod 4). But also the result that = x 2 + y 2 iff 1 (mod 4). If we can write = x 2 + 4y 2, then certainly = x 2 + (2y) 2. But if we have = x 2 + y 2. Reducing modulo 2 shows that 1 = x 2 + y 2, so one of x and y is even. Can t both be odd else the result is 0 modulo 2! Say y = 2y even, then = x 2 + 4(y ) 2. So the x 2 + 4y 2 result follows directly from the x 2 + y 2 result. iii) Similarly show the result for = x 2 + 7y 2 with D = 28 is (trivially) equivalent to the result for = x 2 + xy + 2y 2 with D = 7. Hint: reduce modulo 2 to show y is even in x 2 + xy + 2y 2, then write x 2 + xy + 2y 2 = (x + y/2) 2 + 7(y/2) 2. Solution: The = x 2 + 7y 2 result says that for 2, 7, we have = x 2 + 7y 2 1, 2, 4 (mod 7), while the = x 2 + xy + y 2 says that for 2, 7, we have = x 2 + xy + y 2 1, 2, 4 (mod 7). If we can write = x 2 +xy+2y 2, then reducing modulo 2 gives 1 = x 2 +xy = x(x + y). If y is odd, then x and x + y have different arities, so one is even, giving 0 modulo 2. Hence y = 2y is even. Now we get But then, if we may write = (x + y ) 2 + 7(y ) 2. = x 2 + 7y 2, = (x y) 2 + (x y)(2y) + 2(2y) 2 = x 2 + x y + 2(y ) 2, where x = x y and y = 2y.

4 PRIMES - PROBLEM SHEET 5 - SOLUTIONS Q6) Suose that the ositive-definite form f(x, y) reresents the value 1. Show that f(x, y) is equivalent to the rincial form (recall this is: either x 2 + ny 2, for discriminant D = 4n, or x 2 + xy + ny 2,for discriminant D = 4k + 1). What about if f(x, y) is an indefinite form? Solution: Since f(x 0, y 0 ) = 1 reresents 1, it must reresent 1 roerly (as d 2 1 = d = 1, where d = gcd(x 0, y 0 )). Hence f(x, y) is equivalent to x 2 + bxy + cy 2. For D 0 (mod 4), we have b 0 (mod 2). By changing x x + ky, we change b b + 2k. Thus, we can choose b = 0. This roves f(x, y) equivalent to x 2 D 4 y2. If D 1 (mod 4), we have b 1 (mod 2). By so we can choose b = 1, which roves f(x, y) is equivalent to x 2 +xy + 1 D 4 y2. This holds for ositive-definite, or indefinite forms. Q7) Suose is a rime number, reresented by two forms f(x, y) and g(x, y) of discriminant D (ositive-definite, or indefinite). Show that f(x, y) and g(x, y) are equivalent (ossibly imroerly equivalent). Hint: use Lemma 4.19, and examine the middle coefficient modulo. Solution: Any reresentation of a rime is roer (otherwise d 2!) Hence the form f is equivalent to x 2 + m 1 xy + c 1 y 2, and g to x 2 + m 2 xy + c 2 y 2. We know that m 2 1 4c 1 = D = m 2 2 4c 2, so that modulo, we have m 2 1 m 2 2 (mod ), i.e. m 1 = ±m 2 (mod ). We can ut m i into the range m i, so we can assume m 1 = ±m 2 with exact equality, not just congruence. If m 1 = m 2, then the forms f and g are roerly equivalent. If m 1 = m 2, then the forms are imroerly equivalent. (Because m 2 1 = m 2 2, so c 1 = c 2 follows.) Q8) By considering reduced forms, of the form ax 2 + cy 2. Show that the class number of discriminant D can be arbitrarily high. Hint: consider D = 4 1 2 k, where i are distinct rimes. Solution: Choose n distinct rimes 1,..., n, and wrie D = 4 1... n. There are 2 n ways to write 1... n = ac, by choosing which factors aear in a. Since the rimes are distinct, a c, so by swaing, we get 2 n 1 ways of writing with a < c. But the form ax 2 +cy 2 is reduced, so we have h(d) 2 n 1 as n. Hence h(d) can be arbitrarily large. Indefinite Q9) Imitate the roof of Theorem 5.5 to show that every indefinite quadratic form of some discriminant D is equivalent to one of the form ax 2 + bxy + cy 2 with b a c. Moreover, show that such a form has ac < 0 and a 1 2 D. Solution: Fix an equivalence class of indefinite forms, and look at the a values. Find a form with minimal a. We must have a c, else we can get smaller a by changing (x, y) (y, x) sending ax 2 + bxy + cy 2 cx 2 bxy + ay 2. Now we can ut b into the range a b a by using the transformation (x, y) (x + ky, y). This does not change a, so we get b a c.

PRIMES - PROBLEM SHEET 5 - SOLUTIONS 5 We now have b 2 = b 2 ac, and b 2 4ac > 0 by definition. Thus 4ac < b 2 < ac, and we must have ac < 0. From here, we have ac = ac, so D = b 2 4ac = b 2 + 4 ac > 0, and 4 ac = D b 2 < D. Then a 2 = a 2 ac, so 4a 2 < D, or equivalently a < 1 2 D. Q10) If ax 2 + bxy + cy 2 is a reduced indefinite binary quadratic form, show that a + c < D, a, b, c < D, and ac < 0. Solution: For i), we have a + c D = D 4 D D + 4a 2 b 2 4 a = ( D 2 a ) 2 b 2 4 a so by the definition of reduced, this is < 0. Then we get ii) automatically. (The condition on b is art of the definition.) For iii) make use of b < D, to get ac = (b 2 D)/4 < 0. Q11) Verify the following table of class numbers (in the indefinite case), by listing all reduced forms of the given discriminant and artitioning them into ρ-orbits. D h + (D) D h + (D) 5 1 8 1 12 2 13 1 17 1 20 1 21 2 24 2 28 2 29 1 32 2 33 2 37 1 40 2 41 1 44 2 45 2 48 2 52 1 53 1 56 2 57 2 60 4 Write a comuter rogram to extend this to all non-square discriminants 0 < D < 32768. Solution: We only give the table for discriminant D = 40, since all cases are very similar. The reduced forms are given by the following a b c -3 2 3-3 4 2-2 4 3-1 6 1 1 6-1 2 4-3 3 2-3 3 4-2,

6 PRIMES - PROBLEM SHEET 5 - SOLUTIONS and Under ρ, we find ( 3, 2, 3) (3, 4, 2) ( 2, 4, 3) (3, 2, 3) ( 3, 4, 2) (2, 4, 3) ( 3, 2, 3) ( 1, 6, 1) (1, 6, 1) ( 1, 6, 1) So there are two equivalence classes, giving h (+) (40) = 2. Q12) The entry for D = 8 corresonds to the result for = x 2 2y 2, as given in Problem Sheet 2. The entry for D = 20 corresonds to our result above for = x 2 5y 2. Since h + (D) = 1 for D = 5, 13, 17, 20, 29, 7, 41, 52, 53, we obtain corresonding results for these cases. i) State and rove congruence conditions on when a rime can be reresented by x 2 + xy y 2 of discriminant D = 5, x 2 + xy 3y 2 of discriminant 13, x 2 + xy 4y 2 of discriminant 17, x 2 + xy 7y 2 of discriminant 29, x 2 + xy 9y 2 of discriminant 37, x 2 + xy 10y 2 of discriminant 41, x 2 13y 2 of discriminant 52, x 2 + xy 13y 2 of discriminant 53. Solution: We deal only with D = 41, since all cases are very similar. For 2, 41, we have = x 2 + xy 10y 2 iff ( ) 41 = 1. By QR ( 41 so ( ) 41 = And this is iff )( 41 ) = ( 1) ( 1)/2 (41 1)/2 = 1, ( ) = 1 (mod 41]). 41 1, 2, 4, 5, 8, 9, 10, 16, 18, 20, 21, 23, 25, 31, 32, 33, 36, 37, 39 (mod 41)40 ii) Derive a result for x 2 17y 2 using the result for x 2 + xy 4y 2. Hint: reduce x 2 + xy 4y 2 modulo 2 to show y is even, and write x 2 + xy 4y 2 = (x + y 2 )2 17( y 2 )2. Solution: This is similar to the next question, see that solution. iii) Derive a result for x 2 41y 2 using the result for x 2 + xy 10y 2. Solution: For 2, 41, I claim that the condition for x 2 41y 2 is the same as for x 2 + xy 10y 2. Since = x 2 + xy 10y 2 modulo 2, gives 1 = x 2 + xy = x(x + y), we sees y is even. (Else x and x + y have the same arity.)

PRIMES - PROBLEM SHEET 5 - SOLUTIONS 7 Then write = (x + y/2) 2 41(y/2) 2. Now given = x 2 41y 2, we can write where x = x y, and y = 2y. = x 2 + x y 10y 2, Q13) Suose that D = 8k+1 is a discriminant, and that h + (D) = 1. By considering the rimes which x 2 + xy 2ky 2 reresents, show that every binary quadratic form of discriminant 4D is equivalent to x 2 2ky 2. Hence conclude h + (4D) = 1. (You may assume that any rimitive integral binary quadratic form attains a rime value - this follows from the Chebotarev density theorem.) Solution: For odd rimes D, the rimes reresented by x 2 + xy 2ky 2 are characterised by ( D ) = 1. But given reducing mod 2 shows that = x 2 + xy 2ky 2, 1 x(x + y). Therefore we must have the y is even, otherwise x is even, or x is odd, and x + y is even. Now we can write = (x + y/2) 2 (8k + 1)(y/2) 2 so that is reresented by x 2 (8k + 1)y 2. Now given = x 2 (8k + 1)y 2, we can write = (x y) 2 + x(2y) 2k(2y) 2, so that is reresented by x 2 + xy 2ky 2. We now say ( ) ( ) 4D D = some BQF of discriminant 4D = 1 = 1 = x 2 (8k+1)y 2. So any BQF of discriminant 4D (which reresents a rime!) must be equivalent (or imroerly equivalent) to x 2 (8k+1)y 2. Since x 2 (8k+1)y 2 is imroerly equivalent to itself via x x, we have actually that such a form must be roerly equivalent to x 2 (8k + 1)y 2. Finally, we need to see that any BQF attains a rime value! But we are allowed to assume this. (It follows from the Chebotarev Density Theorem. Is there another way to see this?)