METHODS FOR FINDING FACTORS OF LARGE INTEGERS*
|
|
- Elizabeth Tate
- 5 years ago
- Views:
Transcription
1 542 H. s. VANDiVER [Nov.-Dec, ] <$ 4^Jsin 2 -^ = 2 < 2'( cosc^) = 2 (m mn), and r x has the value But this reckoning does not seem to lead to any particularly simple geometric interpretation for r. It may turn out, in some circumstances at least, that r t is the more significant measure after all. THE UNIVERSITY OF MINNESOTA METHODS FOR FINDING FACTORS OF LARGE INTEGERS* BY H. S. VANDIVER. Introduction. We shall examine, in this paper, the problem of finding factors of integers beyond the range of Lehmer's factor tables, by methods shorter than that of dividing the integer by all the primes less than its square root. Three methods will be proposed here. The first two depend on the representation of the integer as a definite quadratic form, and the third on the representation as an indefinite quadratic form. As I hope to devote another paper to the development of the last two methods, only outlines and a few examples will be given in connection with them. The theory of quadratic forms has been applied in several different ways to the problem, t In particular, Seelhoff * gave an expeditious method with the use of tables, which, however, is limited in application, * Presented to the Society, September 7, 923, under the title A method of finding factors of integers of the form 8 n +. The author was enabled to carry out this investigation through a grant from the Heckscher Foundation for the Advancement of Eesearch. f Dickson, History of the Theory of Numbers, vol., pp % AMERICAN JOURNAL, vol. 7, p. 264; vol. 8, p, 26.
2 924.] FACTORS OF LARGE INTEGERS 543 since if the integer is composite, it does not always enable us to determine the factors. The first method explained in the present paper applies only to integers of the form 8w+ and 2^+ which are the product of two distinct primes. Although the process will always yield the factors in a finite number of steps, it is impracticable on account of its length if the integer is as large as 0 7. Unlike other methods, however, the particular forms used are always the same. Hence they lend themselves conveniently to the construction of tables with a view of lessening the amount of computation involved. The theory of indefinite forms has been applied by Tchebycheff * to our problem, but the method is quite different from the one given here which involves indefinite forms. 2. First Method of Factorization. Suppose that we have an integer m of the form 8 n + which is the product of two distinct prime factors. It is immediately seen that each factor has the same residue modulo 8, otherwise the product would not be of the form 8n + l. If both are of the form 8n + l or both of the form 8w + 5 then m maybe presented in more than one way in the form x 2 + y 2, x and y prime to each other. Similarly if both are of the form 8w + 3 then m may be represented in more than one way in the form x 2J r 2y 2, x and y prime to each other. In the case where both are of the form 8n + 7 it will now be shown that m may be represented in at least two different ways in the form 2x 2 y 2, where x and y are each <Vm and prime to each other. In a paper which appeared in this BULLETIN (vol. 22 (95), pp. 6-66) I proved that if p is a prime and a is a positive integer prime to p, then there is at least one and not more than two sets (x, y) such that ay = ± # (modjp) when x and y _are positive integers prime to each other and Q<x<cVp, 0<y<]fp. * LIOUVILLE, (), vol. 6, p. 257.
3 544 H. s. VANDIVER [Nov.-Dec, On page 64 of the same article, I remarked that the existence of at least one set (x, y) satisfying the conditions () ay = Azx (modm) where m is composite followed also from the reasoning used. If two sets (x x y t ) and (x 2 y 2 ) are regarded as the same if and only if x x y 2 = x 2 y x then for m any integer there are not more than two sets, a fact which was pointed out to me by Dr. C. F. Gummer. If J kxi = 2/ (modm), kx 2 = y% (modm), where #i, \yx\, \x 2 \ and \y 2 \ are each < Vp, then from the first congruence kx x x 2 = x 2 y x (modm); and from the second y 2 x± x 2 y ± = 0 (modm). This gives, on account of the range of values for the x's and?/'s, y 2 Xi x 2 yi = ± m or y 2 x x x 2 y t = 0, and the last relation can exist only if we regard the sets (x ±, y x ) and (a*, y%) as the same. If the first relation holds and therefore the two sets exist, then a third set different from them cannot exist. To show this we note in (2) that we may take both x x and x 2 positive, and if this is done then it follows, using the relation y 2 x x x 2 y x = ±m, that y t and y 2 have opposite signs. Hence we may write kx x = y x (modm), kx s = 2/3 (modm), where x x and x s are positive and y x and y B have the same sign. It follows as before that ysxt xsyi^-- ±m, and this is impossible since the expression on the left is, in absolute value, less than m.
4 924.] FACTORS OF LARGE INTEGERS 545 Now consider the solution of (3) u 2 2 = 0 (modm), where m is the product of two distinct prime factors each of the form 8n-{-7. There are four incongruent roots of the congruence which we will designate by a, a, b, b, where a = E ±_ b. According to the theorem first proved we may write av = w (modm), iwi = wi (modm), where v, w, v ±, iv ± are each less than Y m. Squaring and using (3) we have (, J 2v 2 iv 2 = 0 (modm), 2v 2 wl = 0 (modm), or, 2v ivi = 2 iw (modm), and since m is odd, (5) (VW-L viw)(vwi~\-viiv) = 0 (modm). Also from (4) we have (6) \ 2 /r^r m ' [ zvi wi = m. We shall now show that in (5) one of the factors on the left is divisible by a factor of m but not by m. For if w0i + #iw = O (modm), then, since v, w, v i9 w x are all prime to m, we have, from (4), since m is not divisible by a square, = (modm), W Wi or a = b (modm), contrary to hypothesis; and if vwi ViW = 0 (modm), then a = b (modm), which is also contrary to hypothesis.
5 546 H. s. VANDivER [Nov.-Dec, Consequently, by taking the smallest positive factor in (5), and finding the greatest common divisor of it and m, we obtain a factor of m. THEOREM. If a number m of the form 8^ + is the product of tivo distinct primes then it is expressible in at least two different ways by one of the forms x 2 -\-y 2, x 2 -\-2y 2, and 2y 2 x 2, where x and y are each positive and <Km. It is also possible to find tivo such representations which yield, by a direct process, a factor of m. This theorem gives the following scheme for finding a factor of an integer of the form 8n-\-l. (.) Divide the integer by all primes less than its cube root. If it is divisible by a prime within this limit which is not of the form 8w+l, the process cannot be carried further. Otherwise w T e may proceed as follows. (2.) Extract the square root of the possibly new number m. If it is a perfect square, all the factors of m are known, as it cannot have more than two distinct prime factors other than unity. If m is not a perfect square we proceed to the third step. (3.) Find by Gauss' method of exclusion all representations of m in the form x 2 + y 2. If there is but one representation, then m is prime. If there is more than one, then the factors of m may be found from the several representations. If there are no representations then proceed to the next step. (4.) Find by the method of exclusion all the representations of m in the form 2y 2 x 2, where x and y are each < Vm. It cannot have a unique representation, as it follows from this that m is prime, and this would have been detected in step 3. If there is more than one representation then the factors of m may be found from them. If there are no representations then we use the fifth step. (5.) Find by the method of exclusion all the representations of m in the form x 2 -\-2y 2. The factors of m are obtained from the several representations.
6 924.] FACTORS OF LARGE INTEGERS Example. Let us show how to factor = N. Divide by all the primes < 82, since [VN] = 8. It is found that N is not divisible by any of these primes. Also 2Vis not a square. Hence it is prime, or is the product of two distinct primes. We seek first all the values x, y, such that x 2 + y 2 = N. Either x or y is odd* and each is <730. Suppose x is odd. Also N=2 (mod 3). This gives x = + (mod 3), since if x = 0 (mod 3) we find y 2 = 2 (mod 3), which is impossible. Hence since x is odd, we have x = ± (mod 6). Now N= (mod 5); and, in a similar way, we find x = 0, + (mod 5). Therefore x =, 5,,9, 25, 29 (mod 30). We have N= 5 (mod 7), and x = ±, ±2 (mod 7). Modulo 20, x has the possible residues, 5, 9, 29, 4, 55, 6, 65, 7, 79, 89, 2, 25, 3, 39, 45, 49, 55, 69, 8, 9, 205, 209. Similarly x has the possible residueso, ±, ±2, ±5 (modll); and we then set down the least possible residues of x modulo 20, which are less than 730. We find 68 numbers. Using the modulus 6, we may exclude numbers of the form 3, 5, and 3, modulo 6. Similarly we may exclude numbers of the form, 4, 6,, 4, 9, 2, 24, modulo 25, and 3, 4, 5, 0,, 2, modulo 3. This leaves 2 possible values for x which we may test directly, and we find none that will give a representation of N in the required form. We now proceed to step 4 and find all representations of the form _ 9 9, T where x and / are each < VN. In this relation 56 < y < 730. Also y = (mod 2). Possible values of y satisfy y = 0, ± (mod 5), y = 0, + (mod 7). Modulo 70, y has therefore the possible residues, 5, 2, 29, 35, 49, 55, and 69. We find similarly y = 0, ±3, ±4 (mod 9). We then write down the integers between 56 and 730 having the above properties and find 59, 525, 545, 56, 58, 589, 609, 65, 645, 65, 679, 699, 75. * The work could have been made shorter here by taking x even and noting that x = 0 (mod 4). 35*
7 548 H. s. VANDIVER [Nov.-Dec, Now y cannot be congruent to 0, 4, 5, 6 or 7 (mod ), and we may exclude integers of this type from the above set, leaving 59, 525, 58, 65, 65, 679. Actual trial of all these gives only two representations, = =,N, and = The greatest common divisor of N and is 823. Hence N= , each of which is a prime. A similar method may be applied to integers of the form 2n+. If -A^is of this form and the product of two distinct primes, then each has the same residue, modulo 2. If both are of the form 2w + l, or 2^ + 5, then Nis expressible as the sum of two squares. If each is of the form 2w + 7 then N = x 2 + 3?/ 2. If each is of the form 2n + then it may be_shown that 2N = 3y 2 x 2, where x and y are each < VN. For in case the congruence a 2 3 = 0 (mod N) is solvable and if a is one of its roots then rna = k (mod N) where m and k are each < VN, and therefore 3m 2 k 2 = 0 (mod N) and 3m 2 k 2 = N or 2JV". But the first case is impossible, since N= (mod 3). We then have all the material necessary to carry through a method for factoring integers of the form 2n-\-l analogous to that described for the case 8w+l. 4. Second Method of Factorization. The second method of factorization is briefly as follows. Find by known methods a negative integer a which is a quadratic residue of n, the integer to be factored (n not a perfect power). From a known result in the theory of quadratic forms it follows that, corresponding to every root u of the congruence u 2 = a (modn) there is a set of. integers x, y and k such that () x 2J r ay 2 = kn, k< 2 Y a/3, x and y prime to each other.* From () * This theorem was used hy H. J. S. Smith, WOEKS, vol., p. 48 in the solution of the quadratic congruence.
8 924.] FACTORS OF LARGE INTEGERS 549 we have ( a/h) = where Jc t is any divisor of Tc, and (W«i) = where a x is any divisor of a. We select the fc's satisfying these conditions, and also &< 2 Va/3 and we find the possible forms a%+ay* = Jc 8 h, s =, 2,..., i. Find by Gauss' method of exclusion or other schemes all actual representations of this type ; then all factors of n may be found from them, by known methods. It is best to select a, if possible, so that it contains several small primes as factors since this will diminish the number of possible values of Jc. 5. Example. n = In order to find values of a as described above, expand Vn as a continued fraction. We have the corresponding values given in the following table. Denominator of comp. quotient 040 = = 4 2, = = = Terms in cont. fraction Hence 5-3 is a residue of n, 9-2 is an E (residue), 5-9 is an B, 5 is an JB, 0 is an JS, whence 2 and 3, 9 and 5 are residues. Also 79 is an JS. Hence a = is a residue. Hence x 2 -\-ay 2 = Jen, where h < 8. From the relations p* nql=azd r where p r /q r is a convergent and d r a denominator of comp.
9 550 H. s. VANDIVER [Nov.-Dec, quotient in development of Vn we have (n/3) = (w/79) = {nib) =. Hence also (ft/5) = (ft/3) = (ft/79) =. This gives ft = 0,, 4 (mod.5) and ft = 0,, 3, 4, 9,0,2 (mod 3). We set down the integers We note also that fte^ 0, 3, 4, 5 (mod 8); using this with ft ^ 2 or 3 (mod 5) we have remaining We have \ = / \ == _ \ 3 / \ 7 Hence ft cannot be a multiple of 3 or 7. Moreover, it is evident that ft is not divisible by 5 2. This leaves From x 2 + ay* = 0% we have 5 x y 2 2w whence (3-79/5) = which is incorrect; this excludes 0. Similarly 26 is excluded, also 65. We have (74/79) = = (94/79) and these are then excluded leaving, 55, 79 and 95 as possible values of ft. Let us now examine x 2 + ay 2 n. Here y ranges from to 7 inclusive, and it must be even, which gives us = n.
10 924.] FACTORS OF LARGE INTEGERS 55 For k = 55, we have hx y 2 = lln. Gauss' method of exclusion we have y = ± 2 (mod 5), y = l (mod 2), whence y E E 0 (mod 3), y=t=±2(mod7), = lln and the two representations give n = Using 6. Example 2. w = (an 8-flgure number selected at random, except that it is not divisible by small integers). Denominator of complete quotient 2743 = = = = 5709 J 2 93 = 386 Term of cont. fraction Hence we may take a = = 806, () x 2 + ay 2 = nk, k<2 VöM or k< 04. Also (w/3) = {nil) = (n/93) = and (ft/3) = (ft/7) = (fc/93) = l. ^ = 0 or (mod 3), ft ^0,, 2, 4 (mod 7); hence, modulo 2, the residues of ft are, 4 ; 7, 9, 5, 6, 8, 2, so the values of ft may be written ( Also ft ^ 0, 4, 5, 7, (mod 8). Using these conditions together with the methods employed in the last case gives ft=, 25,42,43,46, 67.
11 552 H - s. VANDivER [Nov.-Dec, Hence the factors of n may be found by using these values of ft in (2). For the same value of n, n = , we may take a = 3-2. This gives ft =, 3, 6, 43, 49, 53, 56. Letn = Herew = ; Let us now examine x y 2 = kn. We find ft =, 25, 23 or 38. Let n = , the numerator of the 2th Bernoulli number; then n = , Jen = x y 2, whence, using previous methods, ft=l, 6, 3, 39 or Case of Periodic Continued Fractions. In applying the schemes outlined in the second method we may find at the beginning that, after a few operations, we have developed a period of the continued fraction for Vn. Suppose* that the period has 2r terms, say /*l? ^2 i 7 ftr ii v> f*r > ftr 2?? Ply then d r, the denominator of the complete quotient corresponding to & is a divisor of 2n. Since b is not the last quotient in a period then ( lydr^l, and therefore ( l) r d r =, d=2, or some factor of n not unity. Also, if the period has an odd number of terms then x 2 ny 2 = has solutions. It then follows that either a factor of n has been found, or else n is expressible in one of the forms x2j ry 2? x 2 -\-2y 2 or 2x 2 y 2, x and y each <V r p. In cases where the factor is not derived as a divisor of d r, however, it is more expeditious to expand the square root of some multiple of n as a continued fraction to find suitable values for a. * Mârcker, ORELLE, vol. 20 (840), pp c?
12 924.] FACTORS OF LARGE INTEGERS Example. Let us factor n = A period in the development of Vn is,, 2,,, 2056, and d s = 409, whence n = Third Method of Factorization. The third method depends on representing the number as an indefinite quadratic form. In a paper already cited I proved that there exists at least one set of positive integers (x, y) such that ay^^zx (modm) where a is any integer prime to the integer m, x and y each < Vm. Hence if there exist roots of the quadratic congruence p 2 = a (mod n) then corresponding to each root ^? we have jt set {x, y) such that fay = dt x (mod ri), x and y < Vn, and we have ay 2 x 2 = 0 (mod n) or ay 2 x 2 = kn where 0< k< a. 0. Example. Let us consider n = The development of Vn as a continued fraction (given above) shows that 2 is a quadratic residue of n, and therefore 2rr 2 y 2 = kn where 0<&<2, also x and y<vn. The continued fraction development gives (nil) =, (n/3) =, hence (&/7) =, (fc/3) =. Using (k/s) = we have as possible values of k We have k = =, 2, 4 (mod 7) and k E = 0, 2, 6 (mod 8), which leaves 3, 5, 2 and 7 as possible values. Note that V(k+l)n/2 >x> VknJ2Ï. Since writing what precedes, I have examined Kraïtchek's Théorie des Nombres (Paris, 922). This book contains tables that are admirably adapted for use in connection with any of the three methods described in this paper. Kraïtchek tabulates the incongruent values of x in x 2 -{-Dy 2 = N (mod^), where Q assumes various small values. CORNELL UNIVERSITY
2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?
Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative
More information2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?
Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative
More informationSolving the general quadratic congruence. y 2 Δ (mod p),
Quadratic Congruences Solving the general quadratic congruence ax 2 +bx + c 0 (mod p) for an odd prime p (with (a, p) = 1) is equivalent to solving the simpler congruence y 2 Δ (mod p), where Δ = b 2 4ac
More informationM381 Number Theory 2004 Page 1
M81 Number Theory 2004 Page 1 [[ Comments are written like this. Please send me (dave@wildd.freeserve.co.uk) details of any errors you find or suggestions for improvements. ]] Question 1 20 = 2 * 10 +
More informationPROBLEMS ON CONGRUENCES AND DIVISIBILITY
PROBLEMS ON CONGRUENCES AND DIVISIBILITY 1. Do there exist 1,000,000 consecutive integers each of which contains a repeated prime factor? 2. A positive integer n is powerful if for every prime p dividing
More informationMATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.
MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences. Congruences Let n be a postive integer. The integers a and b are called congruent modulo n if they have the same
More informationThe Diophantine equation x n = Dy 2 + 1
ACTA ARITHMETICA 106.1 (2003) The Diophantine equation x n Dy 2 + 1 by J. H. E. Cohn (London) 1. Introduction. In [4] the complete set of positive integer solutions to the equation of the title is described
More informationNotes on Systems of Linear Congruences
MATH 324 Summer 2012 Elementary Number Theory Notes on Systems of Linear Congruences In this note we will discuss systems of linear congruences where the moduli are all different. Definition. Given the
More informationCS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II
CS 5319 Advanced Discrete Structure Lecture 9: Introduction to Number Theory II Divisibility Outline Greatest Common Divisor Fundamental Theorem of Arithmetic Modular Arithmetic Euler Phi Function RSA
More informationEXAMPLES OF MORDELL S EQUATION
EXAMPLES OF MORDELL S EQUATION KEITH CONRAD 1. Introduction The equation y 2 = x 3 +k, for k Z, is called Mordell s equation 1 on account of Mordell s long interest in it throughout his life. A natural
More informationPolynomials and Factoring
7.6 Polynomials and Factoring Basic Terminology A term, or monomial, is defined to be a number, a variable, or a product of numbers and variables. A polynomial is a term or a finite sum or difference of
More informationNumber Theory. Final Exam from Spring Solutions
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,
More informationMATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1
MATH 4400 SOLUTIONS TO SOME EXERCISES 1.1.3. If a b and b c show that a c. 1. Chapter 1 Solution: a b means that b = na and b c that c = mb. Substituting b = na gives c = (mn)a, that is, a c. 1.2.1. Find
More informationIntroduction to Number Theory
INTRODUCTION Definition: Natural Numbers, Integers Natural numbers: N={0,1,, }. Integers: Z={0,±1,±, }. Definition: Divisor If a Z can be writeen as a=bc where b, c Z, then we say a is divisible by b or,
More informationChapter 3 Basic Number Theory
Chapter 3 Basic Number Theory What is Number Theory? Well... What is Number Theory? Well... Number Theory The study of the natural numbers (Z + ), especially the relationship between different sorts of
More informationMATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions
MATH 11/CSCI 11, Discrete Structures I Winter 007 Toby Kenney Homework Sheet 5 Hints & Model Solutions Sheet 4 5 Define the repeat of a positive integer as the number obtained by writing it twice in a
More informationCourse MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography
Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2000 2013 Contents 9 Introduction to Number Theory 63 9.1 Subgroups
More informationThe 70th William Lowell Putnam Mathematical Competition Saturday, December 5, 2009
The 7th William Lowell Putnam Mathematical Competition Saturday, December 5, 9 A1 Let f be a real-valued function on the plane such that for every square ABCD in the plane, f(a) + f(b) + f(c) + f(d) =.
More informationFIBONACCIOUS FACTORS ROBERT B. ELY, III 1. INTRODUCTION
FIBOACCIOUS FACTORS ROBERT B. ELY, III. ITRODUCTIO In e a r l i e r issues of the Quarterly there have been shown and proven answers to the following questions about the basic s e r i e s (,,,, - - - ).
More informationNecessary and Sufficient Conditions for the Central Norm to Equal 2 h in the Simple Continued Fraction Expansion of 2 h c for Any Odd Non-Square c > 1
Necessary and Sufficient Conditions for the Central Norm to Equal 2 h in the Simple Continued Fraction Expansion of 2 h c for Any Odd Non-Square c > 1 R.A. Mollin Abstract We look at the simple continued
More informationLECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS
LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS 1. The Chinese Remainder Theorem We now seek to analyse the solubility of congruences by reinterpreting their solutions modulo a composite
More informationk, then n = p2α 1 1 pα k
Powers of Integers An integer n is a perfect square if n = m for some integer m. Taking into account the prime factorization, if m = p α 1 1 pα k k, then n = pα 1 1 p α k k. That is, n is a perfect square
More information12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.
Math 3, Fall 010 Assignment 3 Solutions Exercise 1. Find all the integral solutions of the following linear diophantine equations. Be sure to justify your answers. (i) 3x + y = 7. (ii) 1x + 18y = 50. (iii)
More informationMath 109 HW 9 Solutions
Math 109 HW 9 Solutions Problems IV 18. Solve the linear diophantine equation 6m + 10n + 15p = 1 Solution: Let y = 10n + 15p. Since (10, 15) is 5, we must have that y = 5x for some integer x, and (as we
More informationCourse 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography
Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2006 Contents 9 Introduction to Number Theory and Cryptography 1 9.1 Subgroups
More information2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.
CHAPTER 2 INTRODUCTION TO NUMBER THEORY ANSWERS TO QUESTIONS 2.1 A nonzero b is a divisor of a if a = mb for some m, where a, b, and m are integers. That is, b is a divisor of a if there is no remainder
More informationNumber Theory Solutions Packet
Number Theory Solutions Pacet 1 There exist two distinct positive integers, both of which are divisors of 10 10, with sum equal to 157 What are they? Solution Suppose 157 = x + y for x and y divisors of
More informationChapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations
Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 9.1 Chapter 9 Objectives
More informationElementary Number Theory Review. Franz Luef
Elementary Number Theory Review Principle of Induction Principle of Induction Suppose we have a sequence of mathematical statements P(1), P(2),... such that (a) P(1) is true. (b) If P(k) is true, then
More informationADVANCED PROBLEMS AND SOLUTIONS
Edited by Raymond E 0 Whitney Please send all communications concerning to RAYMOND E. WHITNEY, MATHEMATICS DEPARTMENT, LOCK HAVEN UNIVERSITY, LOCK HAVEN, PA 17745. This department especially welcomes problems
More informationMath 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2
Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2 April 11, 2016 Chapter 10 Section 1: Addition and Subtraction of Polynomials A monomial is
More informationNumbers and their divisors
Chapter 1 Numbers and their divisors 1.1 Some number theoretic functions Theorem 1.1 (Fundamental Theorem of Arithmetic). Every positive integer > 1 is uniquely the product of distinct prime powers: n
More informationMTH 346: The Chinese Remainder Theorem
MTH 346: The Chinese Remainder Theorem March 3, 2014 1 Introduction In this lab we are studying the Chinese Remainder Theorem. We are going to study how to solve two congruences, find what conditions are
More informationPart II. Number Theory. Year
Part II Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2017 Paper 3, Section I 1G 70 Explain what is meant by an Euler pseudoprime and a strong pseudoprime. Show that 65 is an Euler
More informationFadwa S. Abu Muriefah. ON THE DIOPHANTINE EQUATION x fc = y n
DEMONSTRATIO MATHEMATICA Vol. XXXIX No 2 2006 Fadwa S. Abu Muriefah ON THE DIOPHANTINE EQUATION x 2 + 5 2fc = y n Abstract. In this paper we prove that the title equation where k > 0 and n > 3, may have
More informationRelations. 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.
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. If (a, b) R, we write a R b. 1 Binary Relation Example:
More informationEXAMPLES OF MORDELL S EQUATION
EXAMPLES OF MORDELL S EQUATION KEITH CONRAD 1. Introduction The equation y 2 = x 3 +k, for k Z, is called Mordell s equation 1 on account of Mordell s long interest in it throughout his life. A natural
More informationALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers
ALGEBRA CHRISTIAN REMLING 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers by Z = {..., 2, 1, 0, 1,...}. Given a, b Z, we write a b if b = ac for some
More informationFactoring Algorithms Pollard s p 1 Method. This method discovers a prime factor p of an integer n whenever p 1 has only small prime factors.
Factoring Algorithms Pollard s p 1 Method This method discovers a prime factor p of an integer n whenever p 1 has only small prime factors. Input: n (to factor) and a limit B Output: a proper factor of
More information#A5 INTEGERS 17 (2017) THE 2-ADIC ORDER OF SOME GENERALIZED FIBONACCI NUMBERS
#A5 INTEGERS 7 (207) THE 2-ADIC ORDER OF SOME GENERALIZED FIBONACCI NUMBERS Tamás Lengyel Mathematics Department, Occidental College, Los Angeles, California lengyel@oxy.edu Diego Marques Departamento
More informationHistory of Mathematics
History of Mathematics Paul Yiu Department of Mathematics Florida Atlantic University Summer 2011 6A: Fermat: Beginning of modern number theory (2) Fermat s little theorem Given a prime p, and any geometric
More informationSolution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = ,
Solution Sheet 2 1. (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = 3. 2. (i) gcd (97, 157) = 1 = 34 97 21 157, (ii) gcd (527, 697) = 17 = 4 527 3 697, (iii) gcd (2323, 1679) =
More informationMathematics for Cryptography
Mathematics for Cryptography Douglas R. Stinson David R. Cheriton School of Computer Science University of Waterloo Waterloo, Ontario, N2L 3G1, Canada March 15, 2016 1 Groups and Modular Arithmetic 1.1
More informationFACTORIZATION AND THE PRIMES
I FACTORIZATION AND THE PRIMES 1. The laws of arithmetic The object of the higher arithmetic is to discover and to establish general propositions concerning the natural numbers 1, 2, 3,... of ordinary
More informationWilson s Theorem and Fermat s Little Theorem
Wilson s Theorem and Fermat s Little Theorem Wilson stheorem THEOREM 1 (Wilson s Theorem): (p 1)! 1 (mod p) if and only if p is prime. EXAMPLE: We have (2 1)!+1 = 2 (3 1)!+1 = 3 (4 1)!+1 = 7 (5 1)!+1 =
More informationTHESIS. Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University
The Hasse-Minkowski Theorem in Two and Three Variables THESIS Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University By
More informationIntroduction to Number Theory
Introduction to Number Theory Paul Yiu Department of Mathematics Florida Atlantic University Spring 017 March 7, 017 Contents 10 Pythagorean and Heron triangles 57 10.1 Construction of Pythagorean triangles....................
More informationSummary Slides for MATH 342 June 25, 2018
Summary Slides for MATH 342 June 25, 2018 Summary slides based on Elementary Number Theory and its applications by Kenneth Rosen and The Theory of Numbers by Ivan Niven, Herbert Zuckerman, and Hugh Montgomery.
More informationON A PROBLEM OF PILLAI AND ITS GENERALIZATIONS
ON A PROBLEM OF PILLAI AND ITS GENERALIZATIONS L. HAJDU 1 AND N. SARADHA Abstract. We study some generalizations of a problem of Pillai. We investigate the existence of an integer M such that for m M,
More informationTHE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES
THE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES Abstract. This article reports the occurrence of binary quadratic forms in primitive Pythagorean triangles
More informationNUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:
NUMBER SYSTEMS Number theory is the study of the integers. We denote the set of integers by Z: Z = {..., 3, 2, 1, 0, 1, 2, 3,... }. The integers have two operations defined on them, addition and multiplication,
More informationOn a special case of the Diophantine equation ax 2 + bx + c = dy n
Sciencia Acta Xaveriana Vol. 2 No. 1 An International Science Journal pp. 59 71 ISSN. 0976-1152 March 2011 On a special case of the Diophantine equation ax 2 + bx + c = dy n Lionel Bapoungué Université
More informationExplicit solution of a class of quartic Thue equations
ACTA ARITHMETICA LXIV.3 (1993) Explicit solution of a class of quartic Thue equations by Nikos Tzanakis (Iraklion) 1. Introduction. In this paper we deal with the efficient solution of a certain interesting
More informationSelected Chapters from Number Theory and Algebra
Selected Chapters from Number Theory and Algebra A project under construction Franz Rothe Department of Mathematics University of North Carolina at Charlotte Charlotte, NC 83 frothe@uncc.edu December 8,
More informationNumber Theory. Henry Liu, 6 July 2007
Number Theory Henry Liu, 6 July 007 1. Introduction In one sentence, number theory is the area of mathematics which studies the properties of integers. Some of the most studied subareas are the theories
More informationSolutions Manual for Homework Sets Math 401. Dr Vignon S. Oussa
1 Solutions Manual for Homework Sets Math 401 Dr Vignon S. Oussa Solutions Homework Set 0 Math 401 Fall 2015 1. (Direct Proof) Assume that x and y are odd integers. Then there exist integers u and v such
More informationGaussian integers. 1 = a 2 + b 2 = c 2 + d 2.
Gaussian integers 1 Units in Z[i] An element x = a + bi Z[i], a, b Z is a unit if there exists y = c + di Z[i] such that xy = 1. This implies 1 = x 2 y 2 = (a 2 + b 2 )(c 2 + d 2 ) But a 2, b 2, c 2, d
More informationTheory of Numbers Problems
Theory of Numbers Problems Antonios-Alexandros Robotis Robotis October 2018 1 First Set 1. Find values of x and y so that 71x 50y = 1. 2. Prove that if n is odd, then n 2 1 is divisible by 8. 3. Define
More informationMATH 361: NUMBER THEORY FOURTH LECTURE
MATH 361: NUMBER THEORY FOURTH LECTURE 1. Introduction Everybody knows that three hours after 10:00, the time is 1:00. That is, everybody is familiar with modular arithmetic, the usual arithmetic of the
More informationPUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.
PUTNAM TRAINING NUMBER THEORY (Last updated: December 11, 2017) Remark. This is a list of exercises on Number Theory. Miguel A. Lerma Exercises 1. Show that the sum of two consecutive primes is never twice
More information3.2 Solving linear congruences. v3
3.2 Solving linear congruences. v3 Solving equations of the form ax b (mod m), where x is an unknown integer. Example (i) Find an integer x for which 56x 1 mod 93. Solution We have already solved this
More informationINTEGERS REPRESENTED BY POSITIVE TERNARY QUADRATIC FORMS* 1. Introduction. Dirichletf proved by the method of 2 the following two theorems:
i 9 2 7 ] INTEGERS AS TERNARY QUADRATIC FORMS 63 INTEGERS REPRESENTED BY POSITIVE TERNARY QUADRATIC FORMS* BY L. E. DICKSON 1. Introduction. Dirichletf proved by the method of 2 the following two theorems:
More information1. (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.
000 Chapter 1 Arithmetic in 1.1 The Division Algorithm Revisited 1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = 3. 2. (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11. 3. (a) q = 6, r =
More informationQ 1 Find the square root of 729. 6. Squares and Square Roots Q 2 Fill in the blank using the given pattern. 7 2 = 49 67 2 = 4489 667 2 = 444889 6667 2 = Q 3 Without adding find the sum of 1 + 3 + 5 + 7
More informationModular Arithmetic and Elementary Algebra
18.310 lecture notes September 2, 2013 Modular Arithmetic and Elementary Algebra Lecturer: Michel Goemans These notes cover basic notions in algebra which will be needed for discussing several topics of
More informationHomework 7 solutions M328K by Mark Lindberg/Marie-Amelie Lawn
Homework 7 solutions M328K by Mark Lindberg/Marie-Amelie Lawn Problem 1: 4.4 # 2:x 3 + 8x 2 x 1 0 (mod 1331). a) x 3 + 8x 2 x 1 0 (mod 11). This does not break down, so trial and error gives: x = 0 : f(0)
More informationxp = 9- ZP, yp + z y (mod p), (2) SUMMARY OF RESULTS AND PROOFS CONCERNING FERMA T'S DZPARTMZNT OF PURi MATHZMATICS, UNIVZRSITY of TExAs
VOL. 12, 1926 MA THEMA TICS: H. S. VANDI VER 767 gether in a subcontinuum of M. A point set M is strongly connected im kleinen if for every point P of M and for every positive number e there exists a positive
More informationFACTORS OF GENERALIZED FERMAT NUMBERS
mathematics of computation volume 64, number 20 january, pages -40 FACTORS OF GENERALIZED FERMAT NUMBERS HARVEY DUBNER AND WILFRID KELLER Abstract. Generalized Fermât numbers have the form Fb
More informationSOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,
SOLUTIONS TO PROBLEM SET 1 Section 1.3 Exercise 4. We see that 1 1 2 = 1 2, 1 1 2 + 1 2 3 = 2 3, 1 1 2 + 1 2 3 + 1 3 4 = 3 4, and is reasonable to conjecture n k=1 We will prove this formula by induction.
More informationCourse 2316 Sample Paper 1
Course 2316 Sample Paper 1 Timothy Murphy April 19, 2015 Attempt 5 questions. All carry the same mark. 1. State and prove the Fundamental Theorem of Arithmetic (for N). Prove that there are an infinity
More informationMaths Book Part 1. By Abhishek Jain
Maths Book Part 1 By Abhishek Jain Topics: 1. Number System 2. HCF and LCM 3. Ratio & proportion 4. Average 5. Percentage 6. Profit & loss 7. Time, Speed & Distance 8. Time & Work Number System Understanding
More informationPartial Sums of Powers of Prime Factors
1 3 47 6 3 11 Journal of Integer Sequences, Vol. 10 (007), Article 07.1.6 Partial Sums of Powers of Prime Factors Jean-Marie De Koninck Département de Mathématiques et de Statistique Université Laval Québec
More informationApplied Cryptography and Computer Security CSE 664 Spring 2018
Applied Cryptography and Computer Security Lecture 12: Introduction to Number Theory II Department of Computer Science and Engineering University at Buffalo 1 Lecture Outline This time we ll finish the
More information22. The Quadratic Sieve and Elliptic Curves. 22.a The Quadratic Sieve
22. The Quadratic Sieve and Elliptic Curves 22.a The Quadratic Sieve Sieve methods for finding primes or for finding factors of numbers are methods by which you take a set P of prime numbers one by one,
More information1893] A DOUBLY-rXFINITE SYSTEM OF SIMPLE GROUPS.?3
1893] A DOUBLY-rXFINITE SYSTEM OF SIMPLE GROUPS.?3 A DOUBLY-INFINITE SYSTEM OP SIMPLE GROUPS. {Abstract of a Paper* presented to the Congress of Mathematics at Cfncago, August 35, 1803.) BY PROF. B. HASTINGS
More informationFermat s Little Theorem. Fermat s little theorem is a statement about primes that nearly characterizes them.
Fermat s Little Theorem Fermat s little theorem is a statement about primes that nearly characterizes them. Theorem: Let p be prime and a be an integer that is not a multiple of p. Then a p 1 1 (mod p).
More informationOn The Weights of Binary Irreducible Cyclic Codes
On The Weights of Binary Irreducible Cyclic Codes Yves Aubry and Philippe Langevin Université du Sud Toulon-Var, Laboratoire GRIM F-83270 La Garde, France, {langevin,yaubry}@univ-tln.fr, WWW home page:
More information#A11 INTEGERS 12 (2012) FIBONACCI VARIATIONS OF A CONJECTURE OF POLIGNAC
#A11 INTEGERS 12 (2012) FIBONACCI VARIATIONS OF A CONJECTURE OF POLIGNAC Lenny Jones Department of Mathematics, Shippensburg University, Shippensburg, Pennsylvania lkjone@ship.edu Received: 9/17/10, Revised:
More informationExecutive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics:
Executive Assessment Math Review Although the following provides a review of some of the mathematical concepts of arithmetic and algebra, it is not intended to be a textbook. You should use this chapter
More informationMath 314 Course Notes: Brief description
Brief description These are notes for Math 34, an introductory course in elementary number theory Students are advised to go through all sections in detail and attempt all problems These notes will be
More information11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic
11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic Bezout s Lemma Let's look at the values of 4x + 6y when x and y are integers. If x is -6 and y is 4 we
More informationA First Look at the Complex Modulus
A First Look at the Complex Modulus After expanding the field of arithmetic by introducing complex numbers, and also defining their properties, Gauss introduces the complex modulus. We have treated the
More informationChapter 3: Factors, Roots, and Powers
Chapter 3: Factors, Roots, and Powers Section 3.1 Chapter 3: Factors, Roots, and Powers Section 3.1: Factors and Multiples of Whole Numbers Terminology: Prime Numbers: Any natural number that has exactly
More information1. (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.
000 Chapter 1 Arithmetic in 1.1 The Division Algorithm Revisited 1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = 3. 2. (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11. 3. (a) q = 6, r =
More informationDiscrete Structures Lecture Primes and Greatest Common Divisor
DEFINITION 1 EXAMPLE 1.1 EXAMPLE 1.2 An integer p greater than 1 is called prime if the only positive factors of p are 1 and p. A positive integer that is greater than 1 and is not prime is called composite.
More informationTHEOREMS ON QUADRA TIC PARTITIONS. 5. An2-polyhedra. Let 7rr(K) = 0 for r = 1,..., n - 1, where n > 2.
60 MATHEMATICS: A. L. WHITEMAN PROC. N. A. S. 5. An2-polyhedra. Let 7rr(K) = 0 for r = 1,..., n - 1, where n > 2. In this case we may identify Fn+1 with'0 Hn(2) and bn+2 determines a homomorphism, (2)
More informationOn Anti-Elite Prime Numbers
1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 10 (2007), Article 07.9.4 On Anti-Elite Prime Numbers Tom Müller Institut für Cusanus-Forschung an der Universität und der Theologischen Fakultät Trier
More informationMathematics 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.
1. (4.46) Let A and B be sets. Prove that A B = A B if and only if A = B. 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. Proof of (1): Suppose
More informationMersenne and Fermat Numbers
NUMBER THEORY CHARLES LEYTEM Mersenne and Fermat Numbers CONTENTS 1. The Little Fermat theorem 2 2. Mersenne numbers 2 3. Fermat numbers 4 4. An IMO roblem 5 1 2 CHARLES LEYTEM 1. THE LITTLE FERMAT THEOREM
More information4 PRIMITIVE ROOTS Order and Primitive Roots The Index Existence of primitive roots for prime modulus...
PREFACE These notes have been prepared by Dr Mike Canfell (with minor changes and extensions by Dr Gerd Schmalz) for use by the external students in the unit PMTH 338 Number Theory. This booklet covers
More informationDISTRIBUTION OF FIBONACCI AND LUCAS NUMBERS MODULO 3 k
DISTRIBUTION OF FIBONACCI AND LUCAS NUMBERS MODULO 3 k RALF BUNDSCHUH AND PETER BUNDSCHUH Dedicated to Peter Shiue on the occasion of his 70th birthday Abstract. Let F 0 = 0,F 1 = 1, and F n = F n 1 +F
More informationChapter 7. Number Theory. 7.1 Prime Numbers
Chapter 7 Number Theory 7.1 Prime Numbers Any two integers can be multiplied together to produce a new integer. For example, we can multiply the numbers four and five together to produce twenty. In this
More information1 Overview and revision
MTH6128 Number Theory Notes 1 Spring 2018 1 Overview and revision In this section we will meet some of the concerns of Number Theory, and have a brief revision of some of the relevant material from Introduction
More informationMath 319 Problem Set #2 Solution 14 February 2002
Math 39 Problem Set # Solution 4 February 00. (.3, problem 8) Let n be a positive integer, and let r be the integer obtained by removing the last digit from n and then subtracting two times the digit ust
More informationA Heuristic Asymptotic Formula Concerning the Distribution of Prime Numbers
TECHNICAL NOTES AND SHORT PAPERS A Heuristic Asymptotic Formula Concerning the Distribution of Prime Numbers By Paul T. Bateman and Roger A. Horn Suppose fx, h,, fk are polynomials in one variable with
More informationREAL NUMBERS. Any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b.
REAL NUMBERS Introduction Euclid s Division Algorithm Any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b. Fundamental
More information1. multiplication is commutative and associative;
Chapter 4 The Arithmetic of Z In this chapter, we start by introducing the concept of congruences; these are used in our proof (going back to Gauss 1 ) that every integer has a unique prime factorization.
More informationTHE LIND-LEHMER CONSTANT FOR 3-GROUPS. Stian Clem 1 Cornell University, Ithaca, New York
#A40 INTEGERS 18 2018) THE LIND-LEHMER CONSTANT FOR 3-GROUPS Stian Clem 1 Cornell University, Ithaca, New York sac369@cornell.edu Christopher Pinner Department of Mathematics, Kansas State University,
More informationSome Own Problems In Number Theory
Some Own Problems In Number Theory Mathmdmb April 16, 2011 Here are some problems proposed by me, and the problems or their solutions have not been approved by someone else. So if any fault occurs, I shall
More informationPacific Journal of Mathematics
Pacific Journal of Mathematics ON THE DIOPHANTINE EQUATION xn 1 x 1 = y Yann Bugeaud, Maurice Mignotte, and Yves Roy Volume 193 No. 2 April 2000 PACIFIC JOURNAL OF MATHEMATICS Vol. 193, No. 2, 2000 ON
More information