Arxiv:1408.0235V7 [Math.NT] 21 Oct 2016 Quadratic Residues and Non
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Quadratic Reciprocity and Computing Modular Square Roots.Pdf
12 Quadratic reciprocity and computing modular square roots In §2.8, we initiated an investigation of quadratic residues. This chapter continues this investigation. Recall that an integer a is called a quadratic residue modulo a positive integer n if gcd(a, n) = 1 and a ≡ b2 (mod n) for some integer b. First, we derive the famous law of quadratic reciprocity. This law, while his- torically important for reasons of pure mathematical interest, also has important computational applications, including a fast algorithm for testing if an integer is a quadratic residue modulo a prime. Second, we investigate the problem of computing modular square roots: given a quadratic residue a modulo n, compute an integer b such that a ≡ b2 (mod n). As we will see, there are efficient probabilistic algorithms for this problem when n is prime, and more generally, when the factorization of n into primes is known. 12.1 The Legendre symbol For an odd prime p and an integer a with gcd(a, p) = 1, the Legendre symbol (a j p) is defined to be 1 if a is a quadratic residue modulo p, and −1 otherwise. For completeness, one defines (a j p) = 0 if p j a. The following theorem summarizes the essential properties of the Legendre symbol. Theorem 12.1. Let p be an odd prime, and let a, b 2 Z. Then we have: (i) (a j p) ≡ a(p−1)=2 (mod p); in particular, (−1 j p) = (−1)(p−1)=2; (ii) (a j p)(b j p) = (ab j p); (iii) a ≡ b (mod p) implies (a j p) = (b j p); 2 (iv) (2 j p) = (−1)(p −1)=8; p−1 q−1 (v) if q is an odd prime, then (p j q) = (−1) 2 2 (q j p). -
Number Theoretic Symbols in K-Theory and Motivic Homotopy Theory
Number Theoretic Symbols in K-theory and Motivic Homotopy Theory Håkon Kolderup Master’s Thesis, Spring 2016 Abstract We start out by reviewing the theory of symbols over number fields, emphasizing how this notion relates to classical reciprocity lawsp and algebraic pK-theory. Then we compute the second algebraic K-group of the fields pQ( −1) and Q( −3) based on Tate’s technique for K2(Q), and relate the result for Q( −1) to the law of biquadratic reciprocity. We then move into the realm of motivic homotopy theory, aiming to explain how symbols in number theory and relations in K-theory and Witt theory can be described as certain operations in stable motivic homotopy theory. We discuss Hu and Kriz’ proof of the fact that the Steinberg relation holds in the ring π∗α1 of stable motivic homotopy groups of the sphere spectrum 1. Based on this result, Morel identified the ring π∗α1 as MW the Milnor-Witt K-theory K∗ (F ) of the ground field F . Our last aim is to compute this ring in a few basic examples. i Contents Introduction iii 1 Results from Algebraic Number Theory 1 1.1 Reciprocity laws . 1 1.2 Preliminary results on quadratic fields . 4 1.3 The Gaussian integers . 6 1.3.1 Local structure . 8 1.4 The Eisenstein integers . 9 1.5 Class field theory . 11 1.5.1 On the higher unit groups . 12 1.5.2 Frobenius . 13 1.5.3 Local and global class field theory . 14 1.6 Symbols over number fields . -
Chapter 9 Quadratic Residues
Chapter 9 Quadratic Residues 9.1 Introduction Definition 9.1. We say that a 2 Z is a quadratic residue mod n if there exists b 2 Z such that a ≡ b2 mod n: If there is no such b we say that a is a quadratic non-residue mod n. Example: Suppose n = 10. We can determine the quadratic residues mod n by computing b2 mod n for 0 ≤ b < n. In fact, since (−b)2 ≡ b2 mod n; we need only consider 0 ≤ b ≤ [n=2]. Thus the quadratic residues mod 10 are 0; 1; 4; 9; 6; 5; while 3; 7; 8 are quadratic non-residues mod 10. Proposition 9.1. If a; b are quadratic residues mod n then so is ab. Proof. Suppose a ≡ r2; b ≡ s2 mod p: Then ab ≡ (rs)2 mod p: 9.2 Prime moduli Proposition 9.2. Suppose p is an odd prime. Then the quadratic residues coprime to p form a subgroup of (Z=p)× of index 2. Proof. Let Q denote the set of quadratic residues in (Z=p)×. If θ :(Z=p)× ! (Z=p)× denotes the homomorphism under which r 7! r2 mod p 9–1 then ker θ = {±1g; im θ = Q: By the first isomorphism theorem of group theory, × jkerθj · j im θj = j(Z=p) j: Thus Q is a subgroup of index 2: p − 1 jQj = : 2 Corollary 9.1. Suppose p is an odd prime; and suppose a; b are coprime to p. Then 1. 1=a is a quadratic residue if and only if a is a quadratic residue. -
Numbertheory with Sagemath
NumberTheory with SageMath Following exercises are from Fundamentals of Number Theory written by Willam J. Leveque. Chapter 1 p. 5 prime pi(x): the number of prime numbers that are less than or equal to x. (same as π(x) in textbook.) sage: prime_pi(10) 4 sage: prime_pi(10^3) 168 sage: prime_pi(10^10) 455052511 Also, you can see π(x) lim = 1 x!1 x= log(x) with following code. sage: fori in range(4, 13): ....: print"%.3f" % (prime_pi(10^i) * log(10^i) / 10^i) ....: 1.132 1.104 1.084 1.071 1.061 1.054 1.048 1.043 1.039 p. 7 divisors(n): the divisors of n. number of divisors(n): the number of divisors of n (= τ(n)). sage: divisors(12) [1, 2, 3, 4, 6, 12] sage: number_of_divisors(12) 6 1 For example, you may construct a table of values of τ(n) for 1 ≤ n ≤ 5 as follows: sage: fori in range(1, 6): ....: print"t(%d):%d" % (i, number_of_divisors(i)) ....: t (1) : 1 t (2) : 2 t (3) : 2 t (4) : 3 t (5) : 2 p. 19 Division theorem: If a is positive and b is any integer, there is exactly one pair of integers q and r such that the conditions b = aq + r (0 ≤ r < a) holds. In SageMath, you can get quotient and remainder of division by `a // b' and `a % b'. sage: -7 // 3 -3 sage: -7 % 3 2 sage: -7 == 3 * (-7 // 3) + (-7 % 3) True p. 21 factor(n): prime decomposition for integer n. -
Primes in Quadratic Fields 2010
T J Dekker Primes in quadratic fields 2010 Primes in quadratic fields Theodorus J. Dekker *) (2003, revised 2008, 2009) Abstract This paper presents algorithms for calculating the quadratic character and the norms of prime ideals in the ring of integers of any quadratic field. The norms of prime ideals are obtained by means of a sieve algorithm using the quadratic character for the field considered. A quadratic field, and its ring of integers, can be represented naturally in a plane. Using such a representation, the prime numbers - which generate the principal prime ideals in the ring - are displayed in a given bounded region of the plane. Keywords Quadratic field, quadratic character, sieve algorithm, prime ideals, prime numbers. Mathematics Subject Classification 11R04, 11R11, 11Y40. 1. Introduction This paper presents an algorithm to calculate the quadratic character for any quadratic field, and an algorithm to calculate the norms of prime ideals in its ring of integers up to a given maximum. The latter algorithm is used to produce pictures displaying prime numbers in a given bounded region of the ring. A quadratic field, and its ring of integers, can be displayed in a plane in a natural way. The presented algorithms produce a complete picture of its prime numbers within a given region. If the ring of integers does not have the unique-factorization property, then the picture produced displays only the prime numbers, but not those irreducible numbers in the ring which are not primes. Moreover, the prime structure of the non-principal ideals is not displayed except in some pictures for rings of class number 2 or 3. -
Number Theory Summary
YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE CPSC 467: Cryptography and Computer Security Handout #11 Professor M. J. Fischer November 13, 2017 Number Theory Summary Integers Let Z denote the integers and Z+ the positive integers. Division For a 2 Z and n 2 Z+, there exist unique integers q; r such that a = nq + r and 0 ≤ r < n. We denote the quotient q by ba=nc and the remainder r by a mod n. We say n divides a (written nja) if a mod n = 0. If nja, n is called a divisor of a. If also 1 < n < jaj, n is said to be a proper divisor of a. Greatest common divisor The greatest common divisor (gcd) of integers a; b (written gcd(a; b) or simply (a; b)) is the greatest integer d such that d j a and d j b. If gcd(a; b) = 1, then a and b are said to be relatively prime. Euclidean algorithm Computes gcd(a; b). Based on two facts: gcd(0; b) = b; gcd(a; b) = gcd(b; a − qb) for any q 2 Z. For rapid convergence, take q = ba=bc, in which case a − qb = a mod b. Congruence For a; b 2 Z and n 2 Z+, we write a ≡ b (mod n) iff n j (b − a). Note a ≡ b (mod n) iff (a mod n) = (b mod n). + ∗ Modular arithmetic Fix n 2 Z . Let Zn = f0; 1; : : : ; n − 1g and let Zn = fa 2 Zn j gcd(a; n) = 1g. For integers a; b, define a⊕b = (a+b) mod n and a⊗b = ab mod n. -
Appendices A. Quadratic Reciprocity Via Gauss Sums
1 Appendices We collect some results that might be covered in a first course in algebraic number theory. A. Quadratic Reciprocity Via Gauss Sums A1. Introduction In this appendix, p is an odd prime unless otherwise specified. A quadratic equation 2 modulo p looks like ax + bx + c =0inFp. Multiplying by 4a, we have 2 2ax + b ≡ b2 − 4ac mod p Thus in studying quadratic equations mod p, it suffices to consider equations of the form x2 ≡ a mod p. If p|a we have the uninteresting equation x2 ≡ 0, hence x ≡ 0, mod p. Thus assume that p does not divide a. A2. Definition The Legendre symbol a χ(a)= p is given by 1ifa(p−1)/2 ≡ 1modp χ(a)= −1ifa(p−1)/2 ≡−1modp. If b = a(p−1)/2 then b2 = ap−1 ≡ 1modp,sob ≡±1modp and χ is well-defined. Thus χ(a) ≡ a(p−1)/2 mod p. A3. Theorem a The Legendre symbol ( p ) is 1 if and only if a is a quadratic residue (from now on abbre- viated QR) mod p. Proof.Ifa ≡ x2 mod p then a(p−1)/2 ≡ xp−1 ≡ 1modp. (Note that if p divides x then p divides a, a contradiction.) Conversely, suppose a(p−1)/2 ≡ 1modp.Ifg is a primitive root mod p, then a ≡ gr mod p for some r. Therefore a(p−1)/2 ≡ gr(p−1)/2 ≡ 1modp, so p − 1 divides r(p − 1)/2, hence r/2 is an integer. But then (gr/2)2 = gr ≡ a mod p, and a isaQRmodp. -
Lecture 10: Quadratic Residues
Lecture 10: Quadratic residues Rajat Mittal IIT Kanpur n Solving polynomial equations, anx + ··· + a1x + a0 = 0 , has been of interest from a long time in mathematics. For equations up to degree 4, we have an explicit formula for the solutions. It has also been shown that no such explicit formula can exist for degree higher than 4. What about polynomial equations modulo p? Exercise 1. When does the equation ax + b = 0 mod p has a solution? This lecture will focus on solving quadratic equations modulo a prime number p. In other words, we are 2 interested in solving a2x +a1x+a0 = 0 mod p. First thing to notice, we can assume that every coefficient ai can only range between 0 to p − 1. In the assignment, you will show that we only need to consider equations 2 of the form x + a1x + a0 = 0. 2 Exercise 2. When will x + a1x + a0 = 0 mod 2 not have a solution? So, for further discussion, we are only interested in solving quadratic equations modulo p, where p is an odd prime. For odd primes, inverse of 2 always exists. 2 −1 2 −2 2 x + a1x + a0 = 0 mod p , (x + 2 a1) = 2 a1 − a0 mod p: −1 −2 2 Taking y = x + 2 a1 and b = 2 a1 − a0, 2 2 Exercise 3. solving quadratic equation x + a1x + a0 = 0 mod p is same as solving y = b mod p. The small amount of work we did above simplifies the original problem. We only need to solve, when a number (b) has a square root modulo p, to solve quadratic equations modulo p. -
Nonvanishing of Hecke L-Functions and Bloch-Kato P
NONVANISHING OF HECKE L{FUNCTIONS AND BLOCH-KATO p-SELMER GROUPS ARIANNA IANNUZZI, BYOUNG DU KIM, RIAD MASRI, ALEXANDER MATHERS, MARIA ROSS, AND WEI-LUN TSAI Abstract. The canonical Hecke characters in the sense of Rohrlich form a set of algebraic Hecke characters with important arithmetic properties. In this paper, we prove that for an asymptotic density of 100% of imaginary quadratic fields K within certain general families, the number of canonical Hecke characters of K whose L{function has a nonvanishing central value is jdisc(K)jδ for some absolute constant δ > 0. We then prove an analogous density result for the number of canonical Hecke characters of K whose associated Bloch-Kato p-Selmer group is finite. Among other things, our proofs rely on recent work of Ellenberg, Pierce, and Wood on bounds for torsion in class groups, and a careful study of the main conjecture of Iwasawa theory for imaginary quadratic fields. 1. Introduction and statement of results p Let K = Q( −D) be an imaginary quadratic field of discriminant −D with D > 3 and D ≡ 3 mod 4. Let OK be the ring of integers and letp "(n) = (−D=n) = (n=D) be the Kronecker symbol. × We view " as a quadratic character of (OK = −DOK ) via the isomorphism p ∼ Z=DZ = OK = −DOK : p A canonical Hecke character of K is a Hecke character k of conductor −DOK satisfying p 2k−1 + k(αOK ) = "(α)α for (αOK ; −DOK ) = 1; k 2 Z (1.1) (see [R2]). The number of such characters equals the class number h(−D) of K. -
Consecutive Quadratic Residues and Quadratic Nonresidue Modulo P
Consecutive Quadratic Residues And Quadratic Nonresidue Modulo p N. A. Carella Abstract: Let p be a large prime, and let k log p. A new proof of the existence of ≪ any pattern of k consecutive quadratic residues and quadratic nonresidues is introduced in this note. Further, an application to the least quadratic nonresidues np modulo p shows that n (log p)(log log p). p ≪ 1 Introduction Given a prime p 2, a nonzero element u F is called a quadratic residue, equiva- ≥ ∈ p lently, a square modulo p whenever the quadratic congruence x2 u 0mod p is solvable. − ≡ Otherwise, it called a quadratic nonresidue. A finite field Fp contains (p + 1)/2 squares = u2 mod p : 0 u < p/2 , including zero. The quadratic residues are uniformly R { ≤ } distributed over the interval [1,p 1]. Likewise, the quadratic nonresidues are uniformly − distributed over the same interval. Let k 1 be a small integer. This note is concerned with the longest runs of consecutive ≥ quadratic residues and consecutive quadratic nonresidues (or any pattern) u, u + 1, u + 2, . , u + k 1, (1) − in the finite field F , and large subsets F . Let N(k,p) be a tally of the number of p A ⊂ p sequences 1. Theorem 1.1. Let p 2 be a large prime, and let k = O (log p) be an integer. Then, the ≥ finite field Fp contains k consecutive quadratic residues (or quadratic nonresidues or any pattern). Furthermore, the number of k tuples has the asymptotic formulas p 1 k 1 (i) N(k,p)= 1 1+ O , if k 1. -
QUADRATIC RECIPROCITY Abstract. the Goals of This Project Are to Have
QUADRATIC RECIPROCITY JORDAN SCHETTLER Abstract. The goals of this project are to have the reader(s) gain an appreciation for the usefulness of Legendre symbols and ultimately recreate Eisenstein's slick proof of Gauss's Theorema Aureum of quadratic reciprocity. 1. Quadratic Residues and Legendre Symbols Definition 0.1. Let m; n 2 Z with (m; n) = 1 (recall: the gcd (m; n) is the nonnegative generator of the ideal mZ + nZ). Then m is called a quadratic residue mod n if m ≡ x2 (mod n) for some x 2 Z, and m is called a quadratic nonresidue mod n otherwise. Prove the following remark by considering the kernel and image of the map x 7! x2 on the group of units (Z=nZ)× = fm + nZ :(m; n) = 1g. Remark 1. For 2 < n 2 N the set fm+nZ : m is a quadratic residue mod ng is a subgroup of the group of units of order ≤ '(n)=2 where '(n) = #(Z=nZ)× is the Euler totient function. If n = p is an odd prime, then the order of this group is equal to '(p)=2 = (p − 1)=2, so the equivalence classes of all quadratic nonresidues form a coset of this group. Definition 1.1. Let p be an odd prime and let n 2 Z. The Legendre symbol (n=p) is defined as 8 1 if n is a quadratic residue mod p n < = −1 if n is a quadratic nonresidue mod p p : 0 if pjn: The law of quadratic reciprocity (the main theorem in this project) gives a precise relation- ship between the \reciprocal" Legendre symbols (p=q) and (q=p) where p; q are distinct odd primes. -
Quadratic Reciprocity Laws*
JOURNAL OF NUMBER THEORY 4, 78-97 (1972) Quadratic Reciprocity Laws* WINFRIED SCHARLAU Mathematical Institute, University of Miinster, 44 Miinster, Germany Communicated by H. Zassenhaus Received May 26, 1970 Quadratic reciprocity laws for the rationals and rational function fields are proved. An elementary proof for Hilbert’s reciprocity law is given. Hilbert’s reciprocity law is extended to certain algebraic function fields. This paper is concerned with reciprocity laws for quadratic forms over algebraic number fields and algebraic function fields in one variable. This is a very classical subject. The oldest and best known example of a theorem of this kind is, of course, the Gauss reciprocity law which, in Hilbert’s formulation, says the following: If (a, b) is a quaternion algebra over the field of rational numbers Q, then the number of prime spots of Q, where (a, b) does not split, is finite and even. This can be regarded as a theorem about quadratic forms because the quaternion algebras (a, b) correspond l-l to the quadratic forms (1, --a, -b, ub), and (a, b) is split if and only if (1, --a, -b, ub) is isotropic. This formulation of the Gauss reciprocity law suggests immediately generalizations in two different directions: (1) Replace the quaternion forms (1, --a, -b, ub) by arbitrary quadratic forms. (2) Replace Q by an algebraic number field or an algebraic function field in one variable (possibly with arbitrary constant field). While some results are known concerning (l), it seems that the situation has never been investigated thoroughly, not even for the case of the rational numbers.