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

Similar documents
Kevin James. MTHSC 412 Section 3.4 Cyclic Groups

10 Problem 1. The following assertions may be true or false, depending on the choice of the integers a, b 0. a "

The security of RSA (part 1) The security of RSA (part 1)

The Chinese Remainder Theorem

Homework #2 solutions Due: June 15, 2012

LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS

M381 Number Theory 2004 Page 1

Number Theory. Everything else. Misha Lavrov. ARML Practice 10/06/2013

A RESULT ON RAMANUJAN-LIKE CONGRUENCE PROPERTIES OF THE RESTRICTED PARTITION FUNCTION p(n, m) ACROSS BOTH VARIABLES

2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.

The Impossibility of Certain Types of Carmichael Numbers

MATH 361: NUMBER THEORY FOURTH LECTURE

A Variation of a Congruence of Subbarao for n = 2 α 5 β, α 0, β 0

Notes on Systems of Linear Congruences

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

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018

Math 319 Problem Set #2 Solution 14 February 2002

Part II. Number Theory. Year

Theory of Numbers Problems

Chapter 8. Introduction to Number Theory

AN EQUATION INVOLVING ARITHMETIC FUNCTIONS AND RIESEL NUMBERS

The primitive root theorem

arxiv: v1 [math.nt] 18 Jul 2012

Applied Cryptography and Computer Security CSE 664 Spring 2018

MATH 152 Problem set 6 solutions

Homework #5 Solutions

Some Facts from Number Theory

Number Theory. CSS322: Security and Cryptography. Sirindhorn International Institute of Technology Thammasat University CSS322. Number Theory.

SOLUTIONS Math 345 Homework 6 10/11/2017. Exercise 23. (a) Solve the following congruences: (i) x (mod 12) Answer. We have

Cyclic groups Z Z Theorem Proof

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?

Proof by Contradiction

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

Wilson s Theorem and Fermat s Little Theorem

SOME CONGRUENCES ASSOCIATED WITH THE EQUATION X α = X β IN CERTAIN FINITE SEMIGROUPS

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

Euler s, Fermat s and Wilson s Theorems

ECEN 5022 Cryptography

Math.3336: Discrete Mathematics. Mathematical Induction

Notes on Primitive Roots Dan Klain

Number Theory A focused introduction

1 Structure of Finite Fields

Primality Proofs. Geoffrey Exoo Department of Mathematics and Computer Science Indiana State University Terre Haute, IN

Number Theory. Final Exam from Spring Solutions

Quadratic Congruences, the Quadratic Formula, and Euler s Criterion

A NOTE ON EXPONENTIAL DIVISORS AND RELATED ARITHMETIC FUNCTIONS

THE MILLER RABIN TEST

Chapter 5. Modular arithmetic. 5.1 The modular ring

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,

Departmento de Matemáticas, Universidad de Oviedo, Oviedo, Spain

Ma/CS 6a Class 4: Primality Testing

Simultaneous Linear, and Non-linear Congruences

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

7. Prime Numbers Part VI of PJE

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

Any real-valued function on the integers f:n R (or complex-valued function f:n C) is called an arithmetic function.

On Anti-Elite Prime Numbers

COMS W4995 Introduction to Cryptography September 29, Lecture 8: Number Theory

Discrete Mathematics with Applications MATH236

Baltic Way 2008 Gdańsk, November 8, 2008

Solution 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 = ,

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Number Theory and Algebra: A Brief Introduction

Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya

1 Overview and revision

NONABELIAN GROUPS WITH PERFECT ORDER SUBSETS

On Partition Functions and Divisor Sums

Equidivisible consecutive integers

a mod a 2 mod

ORDERS OF ELEMENTS IN A GROUP

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

Arithmetic Properties for a Certain Family of Knot Diagrams

AN ALGEBRAIC PROOF OF RSA ENCRYPTION AND DECRYPTION

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

Try the assignment f(1) = 2; f(2) = 1; f(3) = 4; f(4) = 3;.

E-SYMMETRIC NUMBERS (PUBLISHED: COLLOQ. MATH., 103(2005), NO. 1, )

Introduction to Induction (LAMC, 10/14/07)

Name: MAT 444 Test 4 Instructor: Helene Barcelo April 19, 2004

Number Theory and Group Theoryfor Public-Key Cryptography

The Chinese Remainder Theorem

[Part 2] Asymmetric-Key Encipherment. Chapter 9. Mathematics of Cryptography. Objectives. Contents. Objectives

Chapter 5: The Integers

EXAMPLES OF MORDELL S EQUATION

n = p 1 p 2 p r = q 1 q 2 q m, then r = m (i.e. the number of primes in any prime decomposition

Public-key Cryptography: Theory and Practice

Algebraic integers of small discriminant

a mod a 2 mod

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?

k, then n = p2α 1 1 pα k

Solutions to Practice Final

An Arithmetic Function Arising from the Dedekind ψ Function

Objective Type Questions

1. Algebra 1.7. Prime numbers

Relations. Relations. Definition. Let A and B be sets.

A new characterization of symmetric groups for some n

CPSC 467: Cryptography and Computer Security

On the polynomial x(x + 1)(x + 2)(x + 3)

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

Transcription:

#A6 INTEGERS 10 (010), 313-317 ON CONGRUENCE CONDITIONS FOR PRIMALITY Sherry Gong Departments of Mathematics and Physics, Harvard University sgong@fas.harvard.edu Scott Duke Kominers 1 Department of Economics, Harvard University, and Harvard Business School kominers@fas.harvard.edu, skominers@gmail.com Received: 5//09, Revised: /8/10, Accepted: 3/7/10, Published: 7/16/10 Abstract For any k 0, all primes n satisfy the congruence nσ k (n) mod ϕ(n). We show that this congruence in fact characterizes the primes, in the sense that it is satisfied by only finitely many composite n. This characterization generalizes the results of Lescot and Subbarao for the cases k = 0 and k = 1. For 0 k 14, we enumerate the composite n satisfying the congruence. We also prove that any composite n which satisfies the congruence for some k satisfies it for infinitely many k. 1. Introduction Lescot [1] and Subbarao [] showed that, for k {0, 1}, the congruence nσ k (n) mod ϕ(n), (1) in some sense characterizes the set P of primes. Specifically, they respectively showed the k = 0 and k = 1 cases of the following theorem. Theorem 1. For k {0, 1} and n N, the congruence (1) holds if and only if n P {1} S k, where S 0 = {4, 6, 14} and S 1 = {4, 6, }. Here, σ k and ϕ respectively denote the divisor and totient functions, defined by σ k (n) = d n d k = p (αi+1)k p k, ϕ(n) = {d N : 1 d < n and (d, n) = 1} = for k 0 and N n = p α1 1 pαr r (with the p i P distinct). 1 Corresponding author. p αi 1 i (p ),

INTEGERS: 10 (010) 314 It is clear that if n P, then σ k (n) = n k + 1 and ϕ(n) = n 1. In this case, we have nσ k (n) n(n k + 1) mod (n 1), as p 1 mod (p 1). We therefore see that, for any k 0, all n P satisfy (1). In this note, we present the following result generalizing the reverse direction of Theorem 1. Theorem. For any k 0, let S k be the set of composite n N satisfying (1). Then, (i) S k P, (ii) S k is finite, and (iii) the maximal element of S k is at most k+3 + 6. We prove Theorem in Section. Then, in Section 3, we enumerate the sets S k for 0 k 14. There, we also prove that any n N which appears in S k for some k 0 appears in infinitely many of the sets {S k } k =0.. Proof of Theorem We suppose that n S k, i.e., that n is composite and satisfies (1). Upon writing n = α p α1 1 pαr r with the p i P distinct and odd, we have ϕ(n) = α 1 p αi 1 i (p ). () For any i (1 i r) such that α i > 1, we see from the expression () that p i ϕ(n). Since clearly p i n, the congruence (1) then gives that p i an impossibility. Thus, we must have α i = 1. An analogous argument shows that α {1, }. Now, as p is even for each i (1 i r), we see from () that r ϕ(n). Furthermore, the expression σ k (n) = (α+1)k 1 = (α+1)k 1 p (αi+1)k p k p k p k = (α+1)k 1 (p k i + 1) (3)

INTEGERS: 10 (010) 315 yields that r σ k (n) since p k i + 1. We then obtain from the congruence (1) that r, whence we see that r 1. Since n is composite, we are left with only two possibilities: n = p (with p P) or n = 4p (with p P). The second case is impossible, as when n = 4p we have (1) and 4 ϕ(n), together implying 4 ; the fact that S k P follows. In the first case, if p =, then n = 4 k+3 +6. If p is odd, then we have nσ k (n) = p( k +1)(p k +1) and ϕ(n) = p 1. Because p 1 mod (p 1), we see that nσ k (n) p( k + 1)(p k + 1) 4( k + 1) mod (p 1). (4) Combining (1) and (4), we see that (p 1) k+ +. (5) As n = p and (5) implies that p k+ + 3, we have the stated bound on the size of n S k ; the finitude of S k follows. 3. The Sets S k Table 1 presents the exceptional sets S k for 0 k 14. It is clear that 4, 6 S k for each k 0, since ϕ(4) = ϕ(6) =, and 4σ k (4) and 6σ k (6) are even for all k. Beyond this observation, however, the behavior of the sets S k appears to be quite erratic. Nonetheless, we obtain the following partial characterization result for the S k. Corollary 3. If n N is in S k for some k 0, then it is in infinitely many of the sets {S k } k =0. Proof. It is easily seen in the proof of Theorem that n S k if and only if n = p for p P satisfying (p 1) ( k+ + ), or equivalently, p 1 ( k+1 + 1). But this means that k+1 1 mod p 1, hence k+ 1 mod p 1. It follows that we have (j+1)(k+1) 1 = (k+)j+k k mod p 1

INTEGERS: 10 (010) 316 k S k 0 {4,6,14} 1 {4,6,} {4,6,14,38} 3 {4,6} 4 {4,6,14,46,134} 5 {4,6,,6} 6 {4,6,14} 7 {4,6} 8 {4,6,14,38} 9 {4,6,,166} 10 {4,6,14,734} 11 {4,6} 1 {4,6,14} 13 {4,6,,118,454} 14 {4,6,14,38,46,134,398,3974,14566} Table 1: The exceptional sets S k (0 k 14) for any j N. Then, for any k {(j + 1)(k + 1) 1} j=1, we have (p 1) ( k + + ), hence n S k. We have therefore produced infinitely many k such that n S k. References [1] P. Lescot, A characterisation of prime numbers, The Mathematical Gazette 80 (1996), no. 488, 400 401.

INTEGERS: 10 (010) 317 [] M. V. Subbarao, On two congruences for primality, Pacific Journal of Mathematics 5 (1974), 61 68.