a mod a 2 mod

Similar documents
a mod a 2 mod

Solving the general quadratic congruence. y 2 Δ (mod p),

Notes on Primitive Roots Dan Klain

SOLUTIONS 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,

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

Examples: The (left or right) cosets of the subgroup H = 11 in U(30) = {1, 7, 11, 13, 17, 19, 23, 29} are

Euler s, Fermat s and Wilson s Theorems

Math 324, Fall 2011 Assignment 7 Solutions. 1 (ab) γ = a γ b γ mod n.

DISTRIBUTION OF FIBONACCI AND LUCAS NUMBERS MODULO 3 k

Selected Chapters from Number Theory and Algebra

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.

The primitive root theorem

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

School of Mathematics

The Chinese Remainder Theorem

Number Theory Solutions Packet

Proposed by Jean-Marie De Koninck, Université Laval, Québec, Canada. (a) Let φ denote the Euler φ function, and let γ(n) = p n

Sums of Squares. Bianca Homberg and Minna Liu

Solutions for Practice Problems for the Math 403 Midterm

Notes on Systems of Linear Congruences

ARITHMETIC PROGRESSIONS OF SQUARES, CUBES AND n-th POWERS

Discrete Logarithms. Let s begin by recalling the definitions and a theorem. Let m be a given modulus. Then the finite set

ON A PROBLEM OF PILLAI AND ITS GENERALIZATIONS

Number Theory. Final Exam from Spring Solutions

Covering Subsets of the Integers and a Result on Digits of Fibonacci Numbers

Part II. Number Theory. Year

Number Theory. Henry Liu, 6 July 2007

Perfect Power Riesel Numbers

32 Divisibility Theory in Integral Domains

MATH 537 Class Notes

IRREDUCIBILITY TESTS IN F p [T ]

Discrete Math, Second Problem Set (June 24)

Quadratic reciprocity and the Jacobi symbol Stephen McAdam Department of Mathematics University of Texas at Austin

p = This is small enough that its primality is easily verified by trial division. A candidate prime above 1000 p of the form p U + 1 is

On The Weights of Binary Irreducible Cyclic Codes

LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS

THESIS. Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald)

Nowhere 0 mod p dominating sets in multigraphs

C.7. Numerical series. Pag. 147 Proof of the converging criteria for series. Theorem 5.29 (Comparison test) Let a k and b k be positive-term series

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

Groups in Cryptography. Çetin Kaya Koç Winter / 13

Theory of Numbers Problems

Zsigmondy s Theorem. Lola Thompson. August 11, Dartmouth College. Lola Thompson (Dartmouth College) Zsigmondy s Theorem August 11, / 1

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Number Theory Proof Portfolio

The Impossibility of Certain Types of Carmichael Numbers

The running time of Euclid s algorithm

Andrew Granville To Andrzej Schinzel on his 75th birthday, with thanks for the many inspiring papers

CALCULATING EXACT CYCLE LENGTHS IN THE GENERALIZED FIBONACCI SEQUENCE MODULO p

The Membership Problem for a, b : bab 2 = ab

DISTRIBUTION OF THE FIBONACCI NUMBERS MOD 2. Eliot T. Jacobson Ohio University, Athens, OH (Submitted September 1990)

POLYGONAL-SIERPIŃSKI-RIESEL SEQUENCES WITH TERMS HAVING AT LEAST TWO DISTINCT PRIME DIVISORS

Algebraic number theory Revision exercises

Galois fields/1. (M3) There is an element 1 (not equal to 0) such that a 1 = a for all a.

THE JACOBI SYMBOL AND A METHOD OF EISENSTEIN FOR CALCULATING IT

Chinese Remainder Theorem

Hilbert s theorem 90, Dirichlet s unit theorem and Diophantine equations

The group (Z/nZ) February 17, In these notes we figure out the structure of the unit group (Z/nZ) where n > 1 is an integer.

1 Structure of Finite Fields

PRIMITIVE PRIME FACTORS IN SECOND-ORDER LINEAR RECURRENCE SEQUENCES


Converse to Lagrange s Theorem Groups

Complete Induction and the Well- Ordering Principle

Classification of Finite Fields

Math 110 HW 3 solutions

Equidivisible consecutive integers

We want to show P (n) is true for all integers

NOTES ON FINITE FIELDS

Fermat numbers and integers of the form a k + a l + p α

Number Theory Homework.

A Primer on Sizes of Polynomials. and an Important Application

4 a b 1 1 c 1 d 3 e 2 f g 6 h i j k 7 l m n o 3 p q 5 r 2 s 4 t 3 3 u v 2

FACTORIZATION OF IDEALS

MATH 3240Q Introduction to Number Theory Homework 7

p-adic fields Chapter 7

Generell Topologi. Richard Williamson. May 28, 2013

ALGEBRA I (LECTURE NOTES 2017/2018) LECTURE 9 - CYCLIC GROUPS AND EULER S FUNCTION

Homework 3, solutions

2019 Spring MATH2060A Mathematical Analysis II 1

Math 109 HW 9 Solutions

PREPARATION NOTES FOR NUMBER THEORY PRACTICE WED. OCT. 3,2012

. In particular if a b then N(

. As the binomial coefficients are integers we have that. 2 n(n 1).

Calculus in Gauss Space

Math 121 Homework 2 Solutions

1. Partial Fraction Expansion All the polynomials in this note are assumed to be complex polynomials.

Favorite Topics from Complex Arithmetic, Analysis and Related Algebra

Local Fields. Chapter Absolute Values and Discrete Valuations Definitions and Comments

Honors Algebra 4, MATH 371 Winter 2010 Assignment 3 Due Friday, February 5 at 08:35

PMA225 Practice Exam questions and solutions Victor P. Snaith

Applied Cryptography and Computer Security CSE 664 Spring 2018

THE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES

#A26 INTEGERS 10 (2010), ON CONGRUENCE CONDITIONS FOR PRIMALITY

Outline. We will cover (over the next few weeks) Induction Strong Induction Constructive Induction Structural Induction

PRACTICE PROBLEMS: SET 1

Theorem 5.3. Let E/F, E = F (u), be a simple field extension. Then u is algebraic if and only if E/F is finite. In this case, [E : F ] = deg f u.

ON A TWO-DIMENSIONAL SEARCH PROBLEM. Emil Kolev, Ivan Landgev

Contents. 4 Arithmetic and Unique Factorization in Integral Domains. 4.1 Euclidean Domains and Principal Ideal Domains

Primitive Digraphs with Smallest Large Exponent

Transcription:

Primitive Roots (I) Example: Consider U 32. For any element a U 32, ord 32 a ϕ(32) = 16. But (16 ± a) 2 (±a) 2 (mod32), so a mod32 1 3 5 7 15 13 11 9 17 19 21 23 31 29 27 25 a 2 mod 32 1 9 25 17 This shows that 15, 17, 31 have order 2; that 7, 9, 23, and 25 have order 4; and that the other eight elements of U 32 (excluding 1) have order 8. In particular, no element has order 16, so there is no primitive root mod 32. In fact, what we observed in this last example extends to moduli which are powers of 2 greater than 4. Proposition There is no primitive root mod 2 e for any e 3. Proof By induction on e, the base case here being e = 3. We verify the base case by noting that each of 1, 3, 5, 7 satisfy x 2 1 (mod8) while any primitive root mod 8 must have order ϕ(8) = 4.

Assume then that for some e 3, there is no primitive root mod 2 e. Then every odd number must have order mod 2 e which is less than ϕ(2 e ) = 2 e 1 ; that is, if a is any odd number, then a 2 e 2 1 (mod 2 e ). Then 2 e (a 2e 2 1), but since a is odd, we also have 2 (a 2e 2 +1). So 2 e+1 (a 2e 2 1)(a 2 e 2 +1) = a 2 e 1 1, whence a 2 e 1 1 (mod2 e+1 ), showing that every odd number must have order mod 2 e+1 which is less than ϕ(2 e+1 ) = 2 e. This establishes the induction step and completes the proof. // This result leads to an obvious question: for which moduli do there exist primitive roots? It turns out that the nonexistence of primitive roots is rather common: Proposition If m can be expressed as the product of two relatively prime numbers greater than 2, then there is no primitive root mod m. Proof Write m = st where s,t > 2 and (s,t) = 1. Then both ϕ(s) and ϕ(t) are even, so for any a relatively prime to m, we have both

a ϕ(m)/2 (a ϕ( s) ) ϕ(t )/ 2 1 (mod s) and a ϕ(m)/2 (a ϕ(t ) ) ϕ(s )/ 2 1 (modt) so that by the CRT, a ϕ(m)/2 1 (modm). This means that there is no element of U m of order ϕ(m), so there is no primitive root mod m. // The characterization of those moduli for which there is a primitive root was first determined by Gauss. The argument we present here is based on an application of Lagrange s Theorem and a concept first studied by R. D. Carmichael, an American number theorist, in the 1920s, the minimal universal exponent: λ(m) = smallest positive integer for which a λ(m) 1(mod m) holds for all a U m For instance, we saw earlier that λ(32) = 8. Also, if there is a primitive root mod m then λ(m) = ϕ(m). Notice that the definition of λ(m) does not necessarily imply that if λ(m) = ϕ(m), then there must be a primitive root mod m, but it is true nonetheless, as we now set out to show. First, a

Lemma Suppose a,b U m have orders k and l, respectively mod m. Then there must be an element in U m of order [k,l] mod m. Proof If write the prime factorizations of k and l in the form where d i,e i 0, then k = p 1 d 1 d 2 p r d r, l = p 1 e 1 e 2 p r e r (k,l) = p 1 δ 1 δ 2 p r δ r, [k,l] = p 1 ε 1 ε 2 p r ε r where δ i = min(d i,e i ) and ε i = max(d i,e i ). Let s be the product of those prime power factors of k for which d i = δ i, and let u be the product of the remaining prime power factors (those for which d i = ε i ). Similarly, let v be the product of those prime power factors of l for which e i = ε i, and let t be the product of the remaining prime power factors (those for which e i = δ i ). Then k = su, l = tv, and (s,u) = (t,v) = 1 as well as (s,t) = (u,v) = 1. Moreover, st = (k,l) and uv = [k,l]. Now put c = a s b t ; we claim that c is the desired element satisfying ord m c = [k,l].

Given an integer z, define w to be the standard residue of z (mod l). Then, if z is chosen so that c z 1 (modm), then b tw c z b tw a sz b tz+tw a sz (mod m) so that ord m a sz = ord m b tw. By the Order Theorem then, this can be successiveky rewritten as ord m a (sz,ord m a) = ord m b (tw,ord m b), or k (sz,k) = l (tw,l), or su (sz,su) = tv (tw,tv), or u (z,u) = v (w,v). But then u (w,v) = v (z,u), whence u v (z,u). Since (u,v) = 1, we deduce that u (z,u). But this forces u = (z,u) and we conclude that u z. In particular, the argument in the last paragraph can be used to show that u ord m c. An entirely similar argument implies that v ord m c. But again, (u,v) = 1, so uv ord m c. On the other hand, c uv (a s b t ) uv (a su ) v (b tv ) u (a k ) v (b l ) u 1 (modm) whence ord m c uv. Therefore, ord m c = uv = [k,l]. //

Let us illustrate the procedure outlined in the proof of the lemma by means of an example: Example: 21 5 1 (mod100), so ord 100 21 = 5. Also, 43 2 49 (mod100) and 43 4 1 (mod100), so ord 100 43 = 4. As a = 21, b = 43, we have k = 5, l = 4. But (k,l) = 1, so s = 1, u = 5, and t = 1, v = 4, and c = 21 1 43 1 3 (mod100). Thus, ord 100 3 = [5,4] = 20. Proposition λ(m) = max ord m a. In particular, a U m there exists an element in U m of order λ(m) mod m. Proof Let a U m be such that k = ord m a is the maximum possible order of all elements of U m. By definition of λ(m), we must then have k λ(m). Also, if b is another element in U m and l = ord m b does not divide k, then [k,l] > k. But by the lemma we can find a c U m so that ord m c = [k,l], which violates the maximality of the order of a. Thus, the order of every element in U m must divide k. This means that x k 1 (modm) for all x U m whence λ(m) k. Thus λ(m) = k = ord m a. //