Analysis of Fast Versions of the Euclid Algorithm Eda Cesaratto, Julien Clément, Benoît Daireaux, Loïck Lhote, Véronique Maume-Deschamps, Brigitte Vallée

Total Page:16

File Type:pdf, Size:1020Kb

Analysis of Fast Versions of the Euclid Algorithm Eda Cesaratto, Julien Clément, Benoît Daireaux, Loïck Lhote, Véronique Maume-Deschamps, Brigitte Vallée Analysis of fast versions of the euclid algorithm Eda Cesaratto, Julien Clément, Benoît Daireaux, Loïck Lhote, Véronique Maume-Deschamps, Brigitte Vallée To cite this version: Eda Cesaratto, Julien Clément, Benoît Daireaux, Loïck Lhote, Véronique Maume-Deschamps, et al.. Analysis of fast versions of the euclid algorithm. 2008. hal-00211424 HAL Id: hal-00211424 https://hal.archives-ouvertes.fr/hal-00211424 Preprint submitted on 21 Jan 2008 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Analysis of fast versions of the Euclid Algorithm Eda Cesaratto ∗ Julien Cl´ement † Benoˆıt Daireaux‡ Lo¨ıck Lhote § V´eronique Maume-Deschamps ¶ Brigitte Vall´ee k To appear in the ANALCO’07 Proceedings Abstract gebra. Many gcd algorithms have been designed since There exist fast variants of the gcd algorithm which are Euclid. Most of them compute a sequence of remainders all based on principles due to Knuth and Sch¨onhage. On by successive divisions, which leads to algorithms with inputs of size n, these algorithms use a Divide and Con- a quadratic bit–complexity (in the worst-case and in the quer approach, perform FFT multiplications and stop average-case). Using Lehmer’s ideas [20] (which replace the recursion at a depth slightly smaller than lg n. A large divisions by large multiplications and small divi- rough estimate of the worst–case complexity of these sions), computations can be sped-up by a constant fac- fast versions provides the bound O(n(log n)2 log log n). tor, but the asymptotic complexity remains quadratic. However, this estimate is based on some heuristics and Major improvements in this area are due to Knuth [19], is not actually proven. Here, we provide a precise prob- who designed the first subquadratic algorithm in 1970, abilistic analysis of some of these fast variants, and we and to Sch¨onhage [24] who subsequently improved it the prove that their average bit–complexity on random in- same year. They use both Lehmer’s ideas and Divide puts of size n is Θ(n(log n)2 log log n), with a precise and Conquer techniques to compute in a recursive way remainder term. We view such a fast algorithm as a se- the quotient sequence (whose total size is O(n)). More- quence of what we call interrupted algorithms, and we over, if a fast multiplication with subquadratic complex- obtain three results about the (plain) Euclid Algorithm ity (FFT, Karatsuba...) is performed, then one obtains which may be of independent interest. We precisely a subquadratic gcd algorithm (in the worst-case). Such describe the evolution of the distribution during the ex- a methodology has been recently used by Stehl´eand ecution of the (plain) Euclid Algorithm; we obtain a Zimmermann [25] to design a Least-Significant-Bit ver- sharp estimate for the probability that all the quotients sion of the Knuth-Sch¨onhage algorithm. According to produced by the (plain) Euclid Algorithm are small experiments due to [5] or [22], these algorithms (with a enough; we also exhibit a strong regularity phenomenon, FFT multiplication) become efficient only for integers of which proves that these interrupted algorithms are lo- size larger than 10000 words, whereas, with the Karat- cally “similar” to the total algorithm. This finally leads suba multiplication, they are efficient for smaller inte- to the precise evaluation of the average bit–complexity gers (around 100 words). A precise description of the of these fast algorithms. This work uses various tools, Knuth-Sch¨onhage algorithm can be found in [29, 22] for and is based on a precise study of generalised transfer instance. operators related to the dynamical system underlying the Euclid Algorithm. 1.1 Previous results. The average-case behaviour of the quadratic gcd algorithms is now well understood. 1 Introduction First results are due to Heilbronn and Dixon in the sev- enties, who studied for the first time the mean number Gcd computation is a widely used routine in compu- of iterations of the Euclid Algorithm, then Brent anal- tations on long integers. It is omnipresent in rational ysed the Binary algorithm [4], and Hensley [15] provided computations, public key cryptography or computer al- the first distributional analysis for the number of steps of the Euclid Algorithm. Since 90, the Caen Group ∗Facultad de Ingeniera, Universidad de Buenos Aires, Ar- [26, 28, 27] has performed an average-case analysis of gentina and GREYC, Universit´ede Caen, France various parameters of a large class of Euclidean algo- † GREYC, Universit´ede Caen, F-14032 Caen, France rithms. More recently, distributional results have also ‡IrisResearch Center, Stavanger, Norway §GREYC, Universit´ede Caen, F-14032 Caen, France been obtained for the Euclid algorithm and some of its ¶IMB, Universit´ede Bourgogne, F-21078 Dijon Cedex, France variants: first Baladi and Vall´ee prove that a whole class kGREYC, Universit´ede Caen, F-14032 Caen, France of so–called additive costs of moderate growth follows bution relative to the Gauss density ϕ, defined as an asymptotic gaussian law [2] (for instance, the num- 1 1 ber of iterations, the number of occurrences of a given (1.1) ϕ(x)= . log2 1+ x digit, etc). This year, Lhote and Vall´ee [21] show that a more general class of parameters also follows an asymp- For rational inputs, one begins with some distribution totic gaussian law. This class contains the length of a on the set of the inputs x := A1/A0 of size n, and remainder at a fraction of the execution, and the bit- we consider the rationals xk := Ak+1/Ak. We focus complexity. To the best of our knowledge, there are on the first index k where the binary size of xk is less yet few results on “efficient” gcd algorithms. In [9], the than (1 δ)n and we denote the corresponding rational − authors perform an average-case analysis of Lehmer’s xk by x δ . What is the distribution of the rational h i algorithm, and exhibit the average speed-up obtained x δ ? The evolution of this distribution is clearly more using these techniques. But, as far as we know, there intricateh i than in the real case, since at the end of the does not exist any probabilistic analysis of subquadratic Algorithm (when δ = 1), the distribution is the Dirac gcd algorithms. This is the goal of this paper to perform measure at x = 0. We obtain here a precise description such a study. of this distribution (see Theorem 2 and Figure 1) which involves another density 1.2 Our results. There are two algorithms to be 12 log(m + x) analyzed, the algorithm and the algorithm. The (1.2) ψ(x) := . HG G π2 (m + x)(m + x + 1) algorithm computes the gcd, and the algorithm m 1 X≥ (forG Half-gcd Algorithm) only simulates theHG “first half” of the algorithm. We first show that these algorithms G Theoretical can be viewed as a sequence of the so–called Interrupted 1.4 Experimental Euclidean algorithms. An Interrupted Euclidean algo- rithm is a subsequence formed by successive iterations of 1.2 the algorithm. On an input (A, B), the plain Euclid al- 1 gorithm builds a sequence of remainders Ai, a sequence of quotients Qi, and a sequence of matrix i [see Sec- 0.8 tion 2.1]. On an input (A, B) of binary sizeMn, the Inter- 0.6 rupted Euclidean algorithm starts at the index Density probability E[δ,δ+γ] k of the execution of the Euclid Algorithm, as soon as 0.4 the remainder Ak has already lost δn bits (with respect to the initial A which has n bits) and stops at index 0.2 k + i as soon as the remainder Ak+i has lost γn supple- 0 mentary bits (with respect to the remainder Ak). The 0 0.2 0.4 0.6 0.8 1 x algorithm is just an algorithm which simulates the interruptedHG algorithm . A quite natural question E[0,1/2] Figure 1: Density distribution of xhδi in the case δ = 1/2. is: How many iterations are necessary to lose these γn This corresponds to the density distribution of the rational bits? Of course, it is natural to expect that this sub- xk := Ak+1/Ak obtained as soon as ℓ(Ak) is smaller than sequence of the Euclidean algorithm is just “regular” (1/2)ℓ(A0). The density distribution is plotted against its and locally similar to the “total” Euclidean Algorithm; theoretical counterparts ψ(x). Here we consider Ωn for in this case, the number of iterations would be close to n = 48 (48 bits), the interval [0, 1] is subdivided into equal γ P (where P is the number of iterations of the “total” subintervals of length 1/50 to estimate the density, and Euclid algorithm). We prove in Theorem 1 that this is 3 537 944 rational are drawn from Ωn according to the initial the case. density distribution ϕ by Monte Carlo simulation. We also need precise results on the distribution of some truncatures of these remainders. This is done For a probabilistic study of these fast variants, a precise in Theorem 3. Then, the choice of parameters in the description of the evolution of the distribution during fast algorithms must take into account this evolution the execution of the plain Euclid Algorithm is of crucial of distribution.
Recommended publications
  • The Group of Classes of Congruent Quadratic Integers with Respect to Any Composite Ideal Modulus Whatever
    THE GROUPOF CLASSESOF CONGRUENTQUADRATIC INTEGERS WITH RESPECTTO A COMPOSITEIDEAL MODULUS* BY ARTHUR RANUM Introduction. If in the ordinary theory of rational numbers we consider a composite integer m as modulus, and if from among the classes of congruent integers with respect to that modulus we select those which are prime to the modulus, they form a well-known multiplicative group, which has been called by Weber (Algebra, vol. 2, 2d edition, p. 60), the most important example of a finite abelian group. In the more general theory of numbers in an algebraic field we may in a corre- sponding manner take as modulus a composite ideal, which includes as a special case a composite principal ideal, that is, an integer in the field, and if we regard all those integers of the field which are congruent to one another with respect to the modulus as forming a class, and if we select those classes whose integers are prime to the modulus, they also will form a finite abelian group f under multiplication. The investigation of the nature of this group is the object of the present paper. I shall confine my attention, however, to a quadratic number-field, and shall determine the structure of the group of classes of congruent quadratic integers with respect to any composite ideal modulus whatever. Several distinct cases arise depending on the nature of the prime ideal factors of the modulus ; for every case I shall find a complete system of independent generators of the group. Exactly as in the simpler theory of rational numbers it will appear that the solution of the problem depends essentially on the case in which the modulus is a prime-power ideal, that is, a power of a prime ideal.
    [Show full text]
  • Small-Span Hermitian Matrices Over Quadratic Integer Rings
    MATHEMATICS OF COMPUTATION Volume 84, Number 291, January 2015, Pages 409–424 S 0025-5718(2014)02836-6 Article electronically published on May 19, 2014 SMALL-SPAN HERMITIAN MATRICES OVER QUADRATIC INTEGER RINGS GARY GREAVES Abstract. A totally-real polynomial in Z[x] with zeros α1 α2 ··· αd has span αd−α1. Building on the classification of all characteristic polynomials of integer symmetric matrices having small span (span less than 4), we obtain a classification of small-span polynomials that are the characteristic polynomial of a Hermitian matrix over some quadratic integer ring. Taking quadratic integer rings as our base, we obtain as characteristic polynomials some low- degree small-span polynomials that are not the characteristic (or minimal) polynomial of any integer symmetric matrix. 1. Introduction and preliminaries 1.1. Introduction. Let f be a totally-real monic polynomial of degree d having integer coefficients with zeros α1 α2 ··· αd.Thespan of f is defined to be αd − α1. In this article, for Hermitian matrices A over quadratic integer rings, we are interested in the characteristic polynomials χA(x):=det(xI − A)andthe minimal polynomials pA(x). We build on the work of McKee [17] who classified all integer symmetric matrices whose characteristic polynomials have span less than 4. Following McKee, we call a totally-real monic integer polynomial small-span if its span is less than 4 and a Hermitian matrix is called small-span if its characteristic polynomial is small-span. A set consisting of an algebraic integer and all of its (Galois) conjugates is called a conjugate set.
    [Show full text]
  • Algebraic Numbers, Algebraic Integers
    Algebraic Numbers, Algebraic Integers October 7, 2012 1 Reading Assignment: 1. Read [I-R]Chapter 13, section 1. 2. Suggested reading: Davenport IV sections 1,2. 2 Homework set due October 11 1. Let p be a prime number. Show that the polynomial f(X) = Xp−1 + Xp−2 + Xp−3 + ::: + 1 is irreducible over Q. Hint: Use Eisenstein's Criterion that you have proved in the Homework set due today; and find a change of variables, making just the right substitution for X to turn f(X) into a polynomial for which you can apply Eisenstein' criterion. 2. Show that any unit not equal to ±1 in the ring of integers of a real quadratic field is of infinite order in the group of units of that ring. 3. [I-R] Page 201, Exercises 4,5,7,10. 4. Solve Problems 1,2 in these notes. 3 Recall: Algebraic integers; rings of algebraic integers Definition 1 An algebraic integer is a root of a monic polynomial with rational integer coefficients. Proposition 1 Let θ 2 C be an algebraic integer. The minimal1 monic polynomial f(X) 2 Q[X] having θ as a root, has integral coefficients; that is, f(X) 2 Z[X] ⊂ Q[X]. 1i.e., minimal degree 1 Proof: This follows from the fact that a product of primitive polynomials is again primitive. Discuss. Define content. Note that this means that there is no ambiguity in the meaning of, say, quadratic algebraic integer. It means, equivalently, a quadratic number that is an algebraic integer, or number that satisfies a quadratic monic polynomial relation with integral coefficients, or: Corollary 1 A quadratic number is a quadratic integer if and only if its trace and norm are integers.
    [Show full text]
  • Idempotent Factorizations of Singular $2\Times 2$ Matrices Over Quadratic
    IDEMPOTENT FACTORIZATIONS OF SINGULAR 2 2 × MATRICES OVER QUADRATIC INTEGER RINGS LAURA COSSU AND PAOLO ZANARDO Abstract. Let D be the ring of integers of a quadratic number field Q[√d]. We study the factorizations of 2 2 matrices over D into idem- × potent factors. When d < 0 there exist singular matrices that do not admit idempotent factorizations, due to results by Cohn (1965) and by the authors (2019). We mainly investigate the case d > 0. We employ Vaserˇste˘ın’s result (1972) that SL2(D) is generated by elementary ma- trices, to prove that any 2 2 matrix with either a null row or a null × column is a product of idempotents. As a consequence, every column- row matrix admits idempotent factorizations. Introduction In 1967 J. A. Erdos [10] proved that every square matrix with entries in a field that is singular (i.e., with zero determinant) admits idempotent factorizations, i.e., it can be written as a product of idempotent matrices. His work originated the problem of characterising integral domains R that satisfy the property IDn: every singular n n matrix with entries in R admits idempotent factorizations. We recall the× papers by Laffey [15] (1983), Hannah and O’Meara [13] (1989), Fountain [12] (1991). The related problem of factorizing invertible matrices into products of elementary factors has been a prominent subject of research over the years (see [3,5,16,17,19,23]). Following Cohn [5], we say that R satisfies property GEn if every invertible n n matrix over R can be written as a product of elementary matrices.
    [Show full text]
  • New York Journal of Mathematics Quadratic Integer Programming And
    New York Journal of Mathematics New York J. Math. 22 (2016) 907{932. Quadratic integer programming and the Slope Conjecture Stavros Garoufalidis and Roland van der Veen Abstract. The Slope Conjecture relates a quantum knot invariant, (the degree of the colored Jones polynomial of a knot) with a classical one (boundary slopes of incompressible surfaces in the knot complement). The degree of the colored Jones polynomial can be computed by a suitable (almost tight) state sum and the solution of a corresponding quadratic integer programming problem. We illustrate this principle for a 2-parameter family of 2-fusion knots. Combined with the results of Dunfield and the first author, this confirms the Slope Conjecture for the 2-fusion knots of one sector. Contents 1. Introduction 908 1.1. The Slope Conjecture 908 1.2. Boundary slopes 909 1.3. Jones slopes, state sums and quadratic integer programming 909 1.4. 2-fusion knots 910 1.5. Our results 911 2. The colored Jones polynomial of 2-fusion knots 913 2.1. A state sum for the colored Jones polynomial 913 2.2. The leading term of the building blocks 916 2.3. The leading term of the summand 917 3. Proof of Theorem 1.1 917 3.1. Case 1: m1; m2 ≥ 1 918 3.2. Case 2: m1 ≤ 0; m2 ≥ 1 919 3.3. Case 3: m1 ≤ 0; m2 ≤ −2 919 Received January 13, 2016. 2010 Mathematics Subject Classification. Primary 57N10. Secondary 57M25. Key words and phrases. knot, link, Jones polynomial, Jones slope, quasi-polynomial, pretzel knots, fusion, fusion number of a knot, polytopes, incompressible surfaces, slope, tropicalization, state sums, tight state sums, almost tight state sums, regular ideal octa- hedron, quadratic integer programming.
    [Show full text]
  • Numbers, Groups and Cryptography Gordan Savin
    Numbers, Groups and Cryptography Gordan Savin Contents Chapter 1. Euclidean Algorithm 5 1. Euclidean Algorithm 5 2. Fundamental Theorem of Arithmetic 9 3. Uniqueness of Factorization 14 4. Efficiency of the Euclidean Algorithm 16 Chapter 2. Groups and Arithmetic 21 1. Groups 21 2. Congruences 25 3. Modular arithmetic 28 4. Theorem of Lagrange 31 5. Chinese Remainder Theorem 34 Chapter 3. Rings and Fields 41 1. Fields and Wilson's Theorem 41 2. Field Characteristic and Frobenius 45 3. Quadratic Numbers 48 Chapter 4. Primes 53 1. Infinitude of primes 53 2. Primes in progression 56 3. Perfect Numbers and Mersenne Primes 59 4. The Lucas Lehmer test 62 Chapter 5. Roots 67 1. Roots 67 2. Property of the Euler Function 70 3. Primitive roots 71 4. Discrete logarithm 75 5. Cyclotomic Polynomials 77 Chapter 6. Quadratic Reciprocity 81 1. Squares modulo p 81 2. Fields of order p2 85 3. When is 2 a square modulo p? 88 4. Quadratic Reciprocity 91 Chapter 7. Applications of Quadratic Reciprocity 95 3 4 CONTENTS 1. Fermat primes 95 2. Quadratic Fields and the Circle Group 98 3. Lucas Lehmer test revisited 100 Chapter 8. Sums of two squares 107 1. Sums of two squares 107 2. Gaussian integers 111 3. Method of descent revisited 116 Chapter 9. Pell's Equations 119 1. Shape numbers and Induction 119 2. Square-Triangular Numbers and Pell Equation 122 3. Dirichlet's approximation 125 4. Pell Equation: classifying solutions 128 5. Continued Fractions 130 Chapter 10. Cryptography 135 1. Diffie-Hellman key exchange 135 2.
    [Show full text]
  • Fast Exponentiation Via Prime Finite Field Isomorphism
    Alexander Rostovtsev, St. Petersburg State Polytechnic University [email protected] Fast exponentiation via prime finite field isomorphism Raising of the fixed element of prime order group to arbitrary degree is the main op- eration specified by digital signature algorithms DSA, ECDSA. Fast exponentiation algorithms are proposed. Algorithms use number system with algebraic integer base 4 ±2 . Prime group order r can be factored r =pp in Euclidean ring [±2] by Pol- lard and Schnorr algorithm. Farther factorization of prime quadratic integer p=rr 4 in the ring [±2] can be done similarly. Finite field r is represented as quotient 4 ring [±r2]/(). Integer exponent k is reduced in corresponding quotient ring by minimization of absolute value of its norm. Algorithms can be used for fast exponen- tiation in arbitrary cyclic group if its order can be factored in corresponding number rings. If window size is 4 bits, this approach allows speeding-up 2.5 times elliptic curve digital signature verification comparatively to known methods with the same window size. Key words: fast exponentiation, cyclic group, algebraic integers, digital signature, elliptic curve. 1. Introduction Let G be cyclic group of prime computable order. Raising of the fixed element a Î G to arbitrary degree is the main operation specified by many public key cryptosystems, such as digital signature algorithms DSA, ECDSA [2]. In crypto- graphic applications prime group order is more then 2100. Group G can be given as subgroup of finite field [6], elliptic curve or Jacobian of hyperelliptic curve over finite field, class group of number field, etc.
    [Show full text]
  • A Computational Exploration of Gaussian and Eisenstein Moats
    A Computational Exploration of Gaussian and Eisenstein Moats By Philip P. West A DISSERTATION SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTERS IN SCIENCE (MATHEMATICS) at the CALIFORNIA STATE UNIVERSITY CHANNEL ISLANDS 20 14 copyright 20 14 Philip P. West ALL RIGHTS RESERVED APPROVED FOR THE MATHEMATICS PROGRAM Brian Sittinger, Advisor Date: 21 December 20 14 Ivona Grzegorzyck Date: 12/2/14 Ronald Rieger Date: 12/8/14 APPROVED FOR THE UNIVERSITY Doctor Gary A. Berg Date: 12/10/14 Non- Exclusive Distribution License In order for California State University Channel Islands (C S U C I) to reproduce, translate and distribute your submission worldwide through the C S U C I Institutional Repository, your agreement to the following terms is necessary. The authors retain any copyright currently on the item as well as the ability to submit the item to publishers or other repositories. By signing and submitting this license, you (the authors or copyright owner) grants to C S U C I the nonexclusive right to reproduce, translate (as defined below), and/ or distribute your submission (including the abstract) worldwide in print and electronic format and in any medium, including but not limited to audio or video. You agree that C S U C I may, without changing the content, translate the submission to any medium or format for the purpose of preservation. You also agree that C S U C I may keep more than one copy of this submission for purposes of security, backup and preservation. You represent that the submission is your original work, and that you have the right to grant the rights contained in this license.
    [Show full text]
  • Optimality of the Width-$ W $ Non-Adjacent Form: General
    OPTIMALITY OF THE WIDTH-w NON-ADJACENT FORM: GENERAL CHARACTERISATION AND THE CASE OF IMAGINARY QUADRATIC BASES CLEMENS HEUBERGER AND DANIEL KRENN Abstract. Efficient scalar multiplication in Abelian groups (which is an im- portant operation in public key cryptography) can be performed using digital expansions. Apart from rational integer bases (double-and-add algorithm), imaginary quadratic integer bases are of interest for elliptic curve cryptogra- phy, because the Frobenius endomorphism fulfils a quadratic equation. One strategy for improving the efficiency is to increase the digit set (at the prize of additional precomputations). A common choice is the width-w non-adjacent form (w-NAF): each block of w consecutive digits contains at most one non- zero digit. Heuristically, this ensures a low weight, i.e. number of non-zero digits, which translates in few costly curve operations. This paper investigates the following question: Is the w-NAF-expansion optimal, where optimality means minimising the weight over all possible expansions with the same digit set? The main characterisation of optimality of w-NAFs can be formulated in the following more general setting: We consider an Abelian group together with an endomorphism (e.g., multiplication by a base element in a ring) and a finite digit set. We show that each group element has an optimal w-NAF- expansion if and only if this is the case for each sum of two expansions of weight 1. This leads both to an algorithmic criterion and to generic answers for various cases. Imaginary quadratic integers of trace at least 3 (in absolute value) have optimal w-NAFs for w 4.
    [Show full text]
  • Answers and Solutions
    Answers and Solutions Chapter 1 1.1(a). The point E can be obtained by folding the square along the bisector of angle BAC, so that AB is folded onto the diagonal with B landing on E. If F is the point where the bisector intersects B C, then B F folds to E F. Thus E F -1 AC and BF = EF. Since L.EFC = 45° = L.ECF, FE = EC. l.1(b). WC! = IBC! - IBFI = IAEI - ICEI = 21AEI - lAC! and IEC! = lAC! - IAEI = lAC! - IBC!. l.3(a). n Pn qn rn 1 1 1 1 2 3 2 3/2 = 1.5 3 7 5 7/5 = 1.4 4 17 12 17/12 = 1.416666 5 41 29 41/29 = 1.413793 1.3(c). Clearly, rn > 1 for each n, so that from (b), rn+1 - rn and rn - rn-I have opposite signs and 1 Irn+l - rnl < 41rn - rn-II· Since r2 > 1 = rl, it follows that rl < r3 < r2. Suppose as an induction hypothesis that rl < r3 < ... < r2m-1 < r2m < ... < r2. Then 0 < r2m - r2m+1 < r2m - r2m-1 and 0 < r2m+2 - r2m+1 < r2m - r2m+J. so that r2m-1 < r2m+1 < r2m+2 < r2m. Let k, 1 be any positive integers. Then, for m > k, I, r2k+1 < r2m-1 < r2m < r21. l.3(d). Leta be the least upper bound (i.e., the smallest number at least as great as all) of the numbers in the set {rl, r3, r5, ... , r2k+l, ... }. Then r2m-1 ::::: a ::::: r2m 139 140 Answers and Solutions .....-_______---,D \ \ \ \ \ \ \ \ \ \ BL..---...L..-----~ F FIGURE 1.3.
    [Show full text]
  • Orders in Quadratic Imaginary Fields of Small Class Number
    ORDERS IN QUADRATIC IMAGINARY FIELDS OF SMALL CLASS NUMBER JANIS KLAISE Abstract. In 2003 M. Watkins [Wat03] solved the Gauss Class Number Prob- lem for class numbers up to 100: given a class number h, what is the complete list of quadratic imaginary fields K with this class number? In this project we extend the problem by including non-maximal orders - subrings O of the ring of integers OK that are also Z-modules of rank 2 admiting a Q-basis of K. These orders are more complicated than OK since they need not be Dedekind domains. The main theoretical part is the class number formula linking the class numbers of O and OK . We give a complete proof of this and use it together with the results of Watkins to find the orders of class number h = 1, 2, 3 by solving the class number formula in a Diophantine fashion. We then describe a different algorithm that was suggested and implemented dur- ing the writing of this project and succesfully finds all orders of class number up to 100. Finally, we motivate the problem by its application to j-invariants in complex multiplication. Contents 1. Introduction 1 2. The Class Number Formula 4 3. Example Calculations. 13 4. An Algorithm 18 5. An Application to Complex Multiplication 20 References 23 1. Introduction Gauss in his Disquisitiones Arithmeticae [Gau86, §303-304] came up with several conjectures about imaginary quadratic fields (in the language of discriminants of integral binary quadratic forms). In particular, he gave lists of discriminants cor- responding to imaginary quadratic fields with given small class number and be- lieved them to be complete without proof.
    [Show full text]
  • MTH6128 Number Theory 2 Algebraic Numbers
    MTH6128 Number Theory Notes 2 Spring 2020 \The only way to learn Mathematics is to do Mathematics." Paul Halmos 2 Algebraic numbers 2.1 Algebraic numbers and algebraic integers Pythagoras and his school discovered that the square root of 2 is not a rational number. (You saw the proof of this in Introduction to Algebra.) However, it is an easy number to describe geometrically: it is the ratio of the diagonal of a square to its side. The number π has a more complicated geometric description: it is the ratio of the circumference of a circle to its diameter, but there is no simple method to construct a straight line which is equal to the circumference of a given circle. (We know now, for example, that such a line cannot be constructed with the traditional geometric instruments of \ruler and compass".) We make a distinction between algebraic numbers (which are roots of polyno- mials with rational coefficients) and transcendental numbers (which are not): Definition Let α be a complex number. Then: • α is an algebraic number if there is a non-zero polynomial f(x) with rati- onal coefficients such that f(α) = 0; • α is a transcendental number if α is not an algebraic number. Moreover, • α is an algebraic integer if there is a non-zero monic polynomial f(x) with integer coefficients such that f(α) = 0. (A polynomial is monic if the coefficient of the highest power of x is equal to 1, n n−1 i.e., it is of the form f(x) = x +an−1x +:::+a1x+a0, with a0; : : : ; an−1 2 Z.) 1 Note that there are two extra conditions in the definition of an algebraic inte- ger.
    [Show full text]