SIZE OF THE SET OF RESIDUES OF INTEGER POWERS OF FIXED EXPONENT

Size: px
Start display at page:

Download "SIZE OF THE SET OF RESIDUES OF INTEGER POWERS OF FIXED EXPONENT"

Transcription

1 SIZE OF THE SET OF RESIDUES OF INTEGER POWERS OF FIXED EXPONENT RICHARD J. MATHAR Abstract. The ositive integers corime to some integer m generate the abelian grou (Z/nZ) of multilication modulo m. Admitting only integers of the form n k of a common fixed exonent k defines a subgrou of this. We consider the order of this subgrou which is divisor of Euler s multilicative totient function ϕ(m). If the generating integers n do not need to be corime to m, semigrous of the integers of the format n k (mod m) are defined in an equivalent manner by multilication modulo m. We show that the orders of these semigrous are multilicative functions of m for fixed exonent k, and derive linear recurrences and (conjectural) closed forms for the orders of these multilicative functions if m is a rime ower. 1. Grou of Multilication Modulo m 1.1. Set of Totients. The number of integers corime to some ositive integer m is counted by Euler s totient ϕ(m) [9, A000010]: Definition 1. (Euler s totient) (1) ϕ(m) = #n : (n, m) = 1, 1 n m}, Definition 2. (.,.) denotes the greatest common divisor of the two arguments. Theorem 1. [1, thm. 2.5] ϕ is a multilicative function of its argument Multilicative Grou with Totients. For some fixed modulus m, the elements of this set of totients n i with (n i, m) = 1 define an abelian grou (Z/mZ) of multilication modulo m with the roduct rule (2) (n i mod m)(n j mod m) = (n i n j ) mod m. 1 is the unit element. The order of an element n i of this grou is denoted by ord m (n i ). From Euler s theorem of number theory [1, Thm. 5.17] (or the theory of grous of finite order ϕ(m)) it follows that the order is a divisor of ϕ(m) [8, 3.2.2]. Examle 1. The multilication table of the grou of multilication modulo m = 10 is Table 1 with ord 10 (1) = 1, ord 10 (3) = ord 10 (7) = 4, ord 10 (9) = 2. Examle 2. The multilication table of the grou of multilication modulo m = 20 is Table 2 with ord 20 (1) = 1, ord 20 (3) = ord 20 (7) = ord 20 (13) = ord 20 (17) = 4, ord 20 (9) = ord 20 (11) = ord 20 (19) = 2. Date: November 10, Mathematics Subject Classification. Primary 05C30; Secondary 05C20, 05C75. Key words and hrases. Grah Enumeration, Combinatorics. 1

2 2 RICHARD J. MATHAR Table 1. Grou of multilication modulo 10 (Cayley table) Table 2. Grou of multilication modulo 20 (Cayley table). i\k n 1 n 2 1 mod m n 3 1 mod m n 4 1 mod m... 2 n 2 n 2 2 mod m n 3 2 mod m n 4 2 mod m... 3 n 3 n 2 3 mod m n 3 3 mod m n 4 3 mod m ϕ(m) n ϕ(m) n 2 ϕ(m) mod m n 3 ϕ(m) mod m... Table 3. Structure of the table of residues of k th owers in the multilicative grou modulo m Table 4. Table 3 for the modulus m = Number of residues of n k i (mod m). The owers of the elements n i of the grou of multilication modulo m, n k i (mod m), can be arranged as in Table 3. The table has ϕ(m) rows labeled uniquely by the elements n i, and columns labeled by the owers k 1. Examle 3. The table of the k-owers of the elements of the multilicative grou modulo m = 5 is shown in Table 4. The table of the k-owers of the elements of the multilicative grou modulo m = 10 is shown in Table 5. Remark 1. As a result of the abelian structure, the sequences of integers in two rows of Table 3 which are inverses of each other (in the grou) are given by inverting

3 SIZE OF THE SET OF RESIDUES OF n k mod m Table 5. Table 3 for the modulus m = 10. the left-right order or reading. This is equivalent to transversing the cycle grah of the grou in the two oosite directions Grou of residues of n k mod m. Theorem 2. The residues n k i (mod m), the set of numbers in the k-th column of Table 3, are a subgrou (Z/n k Z) of the multilicative grou modulo m: (3) (Z/n k Z) (Z/nZ) Proof. For two elements n k i (mod m) and n k j (mod m) in the same column k of the table, the roduct (defined with the multilication in the grou) is (n k i mod m)(n k j mod m) = (n i n j ) k mod m according to (2). Because n i n j is also an element in the grou of multilication modulo m, the (n i n j ) k mod m is also somewhere in the k-th column (closure roerty [1, Thm. 6.4 ]). Furthermore the unit element of the grou is in all columns of the table because 1 k mod m = 1 mod m. The finite set of numbers in some fixed k-th column of Table 3 defines: Definition 3. N m (k) is the number of distinct residues of the k-th owers of the elements in the multilicative grou modulo m, the order of (Z/n k Z). (4) N m (k) = #n k mod m : (n, m) = 1 n Z} = (Z/n k Z). A row in Table 3 is eriodic with eriod length ord m (n i ). The least common multile (l.c.m.) of these orders of the rows, [ord m (n 1 ), ord m (n 2 ),..., ord m (n ϕ(m) )], gives the eriod length of the entire table, and is known as Carmichael s λ-function [2, 6][9, A002322][5, Defn 2.20]. In consequence, N m (k) is a eriodic function of k with a eriod length given by λ(m). Examle 4. In Table 5 the number of distinct elements in column k are N 10 (1) = 4, N 10 (2) = 2, N 10 (3) = 4, N 10 (4) = 1, and eriodic with N 10 (k + 4) = N 10 (k) thereafter. λ(10) = 4. Because the order of the subgrou in the k-th column of the table has been defined as N m (k), and because subgrou orders divide grou orders by Lagrange s Theorem: (5) N m (1) = ϕ(m); N m (k) ϕ(m). If the exonent k is comosite with a roer divisor d k, 1 < d < k, one can interrut the comutation of the set of residues by comuting first the residues n d mod m, and then comuting their k/d-th owers modulo m. Because in the latter ste the number of residues cannot increase beyond the N m (k/d), we have: (6) N m (k) N m (d), d k. Even stronger, the residues n k mod m are a subgrou of the residues of n d mod m: The two subgrous of Z/mZ share the unit element. Each k-th ower can be written

4 4 RICHARD J. MATHAR k\m OEIS A A A A A A A A Table 6. To corner of the table of N m (k), orders of the subgrous of the k-th owers of the elements of the multilicative grou modulo m, and their sequence numbers in the Online Encycloedia of Integer Sequences [9]. as a d-th ower, so n n k/d is a homomorhism between the two subgrous. Again by Lagrange s theorem Theorem 3. (7) N m (k) N m (d), d k. So far this characterizes the residue sets for fixed modulus m and variable exonents k Multilicative grou order of m. For fixed k and variable m, scanning Table 6 along rows, we find: Theorem 4. For fixed exonent k the orders N m (k) are multilicative functions of m. Proof. We need to show that for corime (m 1, m 2 ) the size (order of the set of elements) of column k of two tables of the format of table 3 fulfills N m1 (k)n m2 (k) = N m1m 2 (k). We do this by settling the numbers corime to m 1 along rows and the numbers corime to m 2 along columns of a two-dimensional N m1 (k) N m2 (k) maing array, and by showing that there is a 1-to-1 ma of the roducts m 1 m 2 to airs of m 1 and m 2, which means, each m 1 m 2 can be laced at exactly one entry of the array according to that ma. If that association m 1 m 2 m 1, m 2 is indeed unique, the number of distinct elements in the grou of order N m1m 2 (k) is obviously the roduct of the grou orders N m1 (k) and N m2 (k), because in a rectangular array the number of entries is the roduct of the number of rows by the number of columns. The forward and backward mas are: (1) Given an element n k 1 mod m 1 and an element n k 2 mod m 2 with (n 1, m 1 ) = 1 and (n 2, m 2 ) = 1, fixing rows and columns in the maing table, the n 1 and n 2 are not necessarily unique in the multilicative grous modulo

5 SIZE OF THE SET OF RESIDUES OF n k mod m 5 m 1 and modulo m 2. (See for examle Table 5 where the 9 aears twice in column k = 2.) Select one reresentative air n 1 and n 2 and derive the unique solution x of the generalized Chinese Remainder Theorem for corime (m 1, m 2 ) = 1 [4, 7]: x n 1 (mod m 1 ); x n 2 (mod m 2 ). Note that x = n 1 + αm 1 and x = n 2 + βm 2 imly that x k (n 1 + αm 1 ) k n k 1 (mod m 1 ) and x k (n 2 +βm 2 ) k n k 2 (mod m 2 ) by binomial exansion: although n 1 and n 2 may not be unique reresentatives, the algorithm finds a unique x which has a unique ower x k with the fitting exonent to be ut as n 12 = x k (mod m 1 m 2 ) into the maing table. (2) Each element n k 12 in the residue set of k-owers modulo m 1 m 2 is maed uniquely onto a air of residues modulo m 1 and modulo m 2 as follows: because n 12 is corime to m 1 m 2 by definition, it is individually corime to m 1 and to m 2, so n k 12 aears in the row of n k 12 mod m 1 and in the column of n k 12 mod m 2. Finally note that the assembly of the elements in the table with the Chinese Remainder Theorem followed by the disassociation into row and column indices leads to the same row and columns that we started with. In summary, the maing table is full and all its entries are unique. Theorem 4 reduces the comutation of N m (k) to the cases where m = e are owers of rimes, and to finding the integer ratios imlied by Theorem 3. For the quartic and octic characters Finch derived the orders of the kernel of the grous [3]. Dividing the grou order ϕ( e ) = ( 1) e 1 through these orders yields Theorem 5. (8) N 2 e(4) = (9) N e(4) = Theorem 6. 1 (10) N 2 e(8) = (11) N e(8) = 1, e 3; 2 e 4, e 4. 2 e 1, 3 (mod 4), e 1; 1 4 e 1, 1 (mod 4), e , e 5; 2 e 5, e 5. 2 e 1, 3, 7} (mod 8), e 1; 1 4 e 1, 5 (mod 8), e 1; 1 8 e 1, 1 (mod 8), e 1. Based on a numerical search for linear recurrences and ordinary generating functions e 0 N e(k)xe we arrive at the following analysis for small k: Conjecture 1. For k = 5 1, e < 1; (12) N 5 e(5) = 4, e = 1; 4 5 e 2, e > 1.

6 6 RICHARD J. MATHAR n\k mod m 0 3 mod m 0 4 mod m mod m 1 3 mod m 1 4 mod m mod m 2 3 mod m 2 4 mod m mod m 3 3 mod m 3 4 mod m m 1 m 1 (m 1) 2 mod m (m 1) 3 mod m (m 1) 4 mod m... Table 7. Structure of the table of residues of k th owers of the integers < m for some fixed m. Conjecture 2. If k = 6 (13) N 2 e(6) = 1, e 3; 2 e 3, e 3. (14) N 3 e(6) = 1, e 2; 3 e 2, e 2. Conjecture 3. If k = 7 1, e < 1; (15) N 7 e(7) = 6, e = 1; 6 7 e 2, e 2. Conjecture 4. If k = 9 1, e = 0; (16) N 3 e(9) = 2, 1 e 3; 2 3 e 3, e 3. If the bases are corime to the exonents: Conjecture 5. If (, k) = 1, (17) N e(k) = 1 k e 1, 1 (mod k) 1 ( 1,k) e 1, 1 (mod k). 2. Number of k-th owers modulo m 2.1. Sets of k-th owers modulo m. The revious section considered owers of bases corime to m. In this section we consider the sets of owers of any numbers modulo m, totients or non-totients. A table of the k th owers modulo m is defined by inserting lines to Table 3 handling all 0 n < m leading to Table 7. Examle 5. The extension of Table 5 by rows including numbers (n, m) 1 is shown in Table 8. The grou roerty of Section 1.3 is lost, which means for examle that the unit element of multilication modulo m, the 1, may be missing in some of the rows of Table 7. These elements do not have inverses. The m m table for multilications modulo m creates only a semigrou. For the same reason that led to Equ. (6) we have:

7 SIZE OF THE SET OF RESIDUES OF n k mod m Table 8. Examle of Table 7 for modulus m = 10. Theorem 7. (18) R m (k) R m (d), d k Periodicity with resect to the exonent. There still is a eriodicity of n k mod m along each row of Table 7 which generalizes the grou orders of Section 1.3. Let x be the eriod length associated with n. Here is a constructive roof of its existence. First there are cases where n m. (19) n k+x n k (mod m) n k (n x 1) 0 (mod m) Let d be the greatest divisor of m which is divisible through all rime factors of n. By removing all owers of rimes for all rimes which m and n have in common, d = n, m ν(m) and (n, m/d) = 1. For examle d = 9 if m = 9 and n = 6. Definition 4. ν a (m) denotes the greatest exonent such that the ower of a divides m: a νa(m) m. The eriod length x is found by dividing the revious equation through d: n j (20) d nk j (n x 1) 0 (mod m d ). The exonent j is the smallest exonent such that n j /d is integer. To be valid for general exonents k we require (21) n x 1 0 (mod m d ) nx 1 (mod m d ). n and m/d are corime. x = ord m/d (n) is well defined, and equals the order of n in the multilicative grou modulo m/d. If m/d = 1, set x = 1. At that ste, the exonent k must be sufficiently large to suort this integer division, k j 0, which means, the eriodicity may ste in after some set of transient k. Examle 6. Column m = 16 in Table 9 starts with 3 transient terms and is λ(16) = 4-eriodic: 16, 4, 10, 2, 9, 3, 9. The reduction for cases (n, m) > 1 has removed rime owers from m; these x are divisors of those derived from the cases (n, m) = 1 (because the Carmichael function is essentially equal to ϕ and this is multilicative). Eventually the least common multile of these x is again Carmichael s λ-function, so inclusion of the n

8 8 RICHARD J. MATHAR k\m OEIS A A A A A A A A A A A Table 9. To corner of the table of R m (k), size of the set of the k-th owers of integers modulo m. that are not corime to m does not change the eriodicity of the number of residues as a function of k Cardinality of the Set of k-th Power Residues. Similar to Definition 3, droing the requirement of co-rimality, we count how many different integers aear in a column of Table 7: Definition 5. R m (k) is the number of distinct residues of the k-th owers of the integers modulo m. (22) R m (k) = #n k mod m : n Z}. The array of the R m (k) is illustrated in Table 9 for small m and k. The eriodicity of the residues evaluated in Section 2.2 for the individual n induces that, for fixed m, R m (k) is a eriodic function of k with a eriod length defined by the l.c.m. of the eriod lengths x for the individual n. Remark 2. As long as the n k are smaller than the modulus, all of them are counted by R m (k), so we have the simle bounds (23) k m 1 R m (k) m. The following theorem was claimed in the Online Encyloedia of Integer Sequences [9] for all sequences cited in Table 9 without roof; the observation deemed to be interesting enough to write u this manuscrit: Theorem 8. For fixed exonent k, the cardinality R m (k) of the set of residues is a multilicative function of m. The roof is essentially the same as the roof for Theorem 4. Since R m (k) is multilicative, the evaluation is reduced to derive R m (k) for rime owers m = e.

9 SIZE OF THE SET OF RESIDUES OF n k mod m 9 k\e Table 10. The number of weak comositions of k into e arts, ( k+e 1 e 1 ), a tilted version of Pascal s triangle [9, A007318] Inheritance Structure in Prime Power Bases. We can rehrase the roblem of folding the n k into the interval [0, e ) as reresenting n k for 0 n m in the basis : e (24) n = α j,n, j, 0 < α k j,n k, <. j=0 The ower has the multinomial exansion (25) n k = α j,nk, j j 0 = k 0 +k k e 1 =k k j 0 k k! k 0!k 1!k 2! k e 1! αk0 k 0,n k, (α k 1,n k,) k1 (α k2,n k, 2 ) k2 (α ke 1,n k, e 1 ) ke 1. Each term of the sum on the right hand side has a structure defined by a weak comosition (comosition into non-negative arts) of k into e arts, k e 1 j=0 k j. The number of weak comositions of k in e arts defines Table 10. Examle 7. For k = 3 and e = 4 the structure of the right hand side contains 20 weak comositions of 3; 16 of them are:

10 10 RICHARD J. MATHAR (26) \j Reducing n k modulo e means that only terms where e 1 jk j < e j=0 (the first moment of the row sums of the structure is less than e) contribute. Examle 8. If the constraint (26) is imosed to Examle 7, only the following 7 of the 20 structures remain: \j j jk j This reduces the number of contributing structures to those in Table 11. The ordinary generating function of row k in this table is x (27) (1 x) 2 k j=1 (1 xj ). So row k is obtained from row k 1 by convolution with an aerated sequence with generating function 1 (28) 1 x k = x ik. i 0 A combinatorial interretation of that convolution is: a weak comosition for (k, e) is constructed by (i) adding a 1 to the left-most art of a weak comosition for (k 1, e), or (ii) by adding a 1 to the left-most art of a weak comosition of (k 1, e k), and inserting a leading zero and k 1 trailing zeros, (iii) by adding

11 SIZE OF THE SET OF RESIDUES OF n k mod m 11 k\e OEIS A A A A A A A A A A A Table 11. To corner of the number of weak comositions of k into e arts under the restriction (26) [9, A092905]. a 1 to the left-most art of a weak comosition of (k 1, e 2k) and adding this with 2k zeros (2 leading, 2k 2 trailing), and so on Conjectured Terms for Prime Power Moduli. By numerical exerimentation with large set of different rimes and exonents e we arrive at the following set of conjectures. Conjecture 6. R e(k) obeys a linear recurrence with constant coefficients: (29) R e(k) = R e 1(k) + R e k(k) R e k 1(k), e k 1. Conjecture 7. If the modulus e and the exonent k are corime, so (, k) = 1, (30) R e(k) = 1 ( 1,k) e+k 1 k, (, k) = 1, e 0 1 This leaves the cases where (, k) > 1. If = k we summarize exerience based on 7 by: Conjecture 8. For = k, ( 1) e+k 2 (31) R e() = 1, e 1 (mod ), k =, e 0 + ( 1)e+k 2 1, e 1 (mod ) Conjectural equations for comosite k 12, (, k) > 1, are gathered in Equations (32) (40). e e 0 (mod 4) (32) R 2 e(4) = 2 + e e 1, 2, 3} (mod 4), k = 4, = 2, e 0 (33) e+k 3, e + 3 0, 1, 2, 3} (mod 6) R 2 e(6) = 2 + e+k 3, e + 3 4, 5} (mod 6), k = 6, = 2.

12 12 RICHARD J. MATHAR (34) e+k 2, e + 4 0, 1, 2, 3, 4} (mod 6) R 3 e(6) = 2 + e+k 2, e (mod 6), k = 6, = 3. e+3, e + 3 0, 1, 2, 3} (mod 8) (35) R 2 e(8) = 2 + e+3, e + 3 4, 5, 6, 7} (mod 8), k = 8, = 2. (36) 2 e+6, e + 6 0, 1, 2,..., 6} (mod 9) R 3 e(9) = 3 + 2e+6, e + 6 7, 8} (mod 9), k = 9, = 3. (37) e+7, e + 7 0, 1, 2, 3,..., 7} (mod 10) R 2 e(10) = 2 + e+7, e + 7 8, 9} (mod 10), k = 10, = 2. (38) 2 e+8, e + 8 0, 1, 2,..., 8} (mod 10) R 5 e(10) = 3 + 2e+8, e (mod 10), k = 10, = 5. (39) e+8, e + 8 0, 1, 2,..., 8} (mod 12) R 2 e(12) = 2 + e+8, e + 8 9, 10, 11} (mod 12), k = 12, = 2. (40) e+10, e , 1, 2,..., 10} (mod 12) R 3 e(12) = 2 + e+10, e (mod 12), k = 12, = 3. In all these cases the factor in the numerator of the floor-functions aears to be, the same as in (30). References 1 ( 1,k) 1. Tom M. Aostol, Introduction to analytic number theory, Undergraduate Texts in Mathematics, Sringer, MR R. D. Carmichael, On comosite numbers which satisfy the fermat congrues a 1 1mod, Am. Math. Monthly 19 (1912), no. 2, Steven Finch, Quartic and octic characters modulo n, arxiv: (2016). 4. Aviezri S. Fraenkel, New roof of the general chinese remainder theorem, Proc. Amer. Math. Soc. 14 (1963), no. 5, MR Michal Křížek, Florian Luca, and Lawrence Somer, 17 lectures on fermat numbers, CMS Books in Mathematics, vol. 9th, Sringer, New York, MR Romeo Meštrović, Generalizations of carmichael numbers i, arxiv: [math.nt] (2013). 7. Oystein Ore, The general chinese remainder theorem, Am. Math. Monthly 59 (1952), no. 6, MR József Sándor and B. Crstici, Handbook of number theory ii, Kluwer, MR Neil J. A. Sloane, The On-Line Encycloedia Of Integer Sequences, Notices Am. Math. Soc. 50 (2003), no. 8, , htt://oeis.org/. MR URL: htt:// Max-Planck Institute of Astronomy, Königstuhl 17, Heidelberg, Germany

Solutions to Exam 1. Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively prime positive integers.

Solutions to Exam 1. Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively prime positive integers. Solutions to Exam 1 Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively rime ositive integers. Prove that m φ(n) + n φ(m) 1 (mod mn). c) Find the remainder of 1 008

More information

MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005

MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005 MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005 Deartment of Mathematical and Statistical Sciences University of Alberta Question 1. Find integers

More information

Exam 1 7 = = 49 2 ( ) = = 7 ( ) =

Exam 1 7 = = 49 2 ( ) = = 7 ( ) = Exam 1 Problem 1. a) Define gcd(a, b). Using Euclid s algorithm comute gcd(889, 168). Then find x, y Z such that gcd(889, 168) = x 889 + y 168 (check your answer!). b) Let a be an integer. Prove that gcd(3a

More information

Math 124 Homework 5 Solutions

Math 124 Homework 5 Solutions Math 12 Homework 5 Solutions by Luke Gustafson Fall 2003 1. 163 1 2 (mod 2 gives = 2 the smallest rime. 2a. First, consider = 2. We know 2 is not a uadratic residue if and only if 3, 5 (mod 8. By Dirichlet

More information

Introduction to Number Theory 2. c Eli Biham - November 5, Introduction to Number Theory 2 (12)

Introduction to Number Theory 2. c Eli Biham - November 5, Introduction to Number Theory 2 (12) Introduction to Number Theory c Eli Biham - November 5, 006 345 Introduction to Number Theory (1) Quadratic Residues Definition: The numbers 0, 1,,...,(n 1) mod n, are called uadratic residues modulo n.

More information

Is 1 a Square Modulo p? Is 2?

Is 1 a Square Modulo p? Is 2? Chater 21 Is 1 a Square Modulo? Is 2? In the revious chater we took various rimes and looked at the a s that were quadratic residues and the a s that were nonresidues. For examle, we made a table of squares

More information

SQUARING THE MAGIC SQUARES OF ORDER 4

SQUARING THE MAGIC SQUARES OF ORDER 4 Journal of lgebra Number Theory: dvances and lications Volume 7 Number Pages -6 SQURING THE MGIC SQURES OF ORDER STEFNO BRBERO UMBERTO CERRUTI and NDIR MURRU Deartment of Mathematics University of Turin

More information

SOLUTIONS TO PROBLEM SET 5. Section 9.1

SOLUTIONS TO PROBLEM SET 5. Section 9.1 SOLUTIONS TO PROBLEM SET 5 Section 9.1 Exercise 2. Recall that for (a, m) = 1 we have ord m a divides φ(m). a) We have φ(11) = 10 thus ord 11 3 {1, 2, 5, 10}. We check 3 1 3 (mod 11), 3 2 9 (mod 11), 3

More information

On the Fibonacci Sequence. By: Syrous Marivani LSUA. Mathematics Department. Alexandria, LA 71302

On the Fibonacci Sequence. By: Syrous Marivani LSUA. Mathematics Department. Alexandria, LA 71302 On the Fibonacci Sequence By: Syrous Marivani LSUA Mathematics Deartment Alexandria, LA 70 The so-called Fibonacci sequence {(n)} n 0 given by: (n) = (n ) + (n ), () where (0) = 0, and () =. The ollowing

More information

Quadratic Residues. Legendre symbols provide a computational tool for determining whether a quadratic congruence has a solution. = a (p 1)/2 (mod p).

Quadratic Residues. Legendre symbols provide a computational tool for determining whether a quadratic congruence has a solution. = a (p 1)/2 (mod p). Quadratic Residues 4--015 a is a quadratic residue mod m if x = a (mod m). Otherwise, a is a quadratic nonresidue. Quadratic Recirocity relates the solvability of the congruence x = (mod q) to the solvability

More information

MT 430 Intro to Number Theory MIDTERM 2 PRACTICE

MT 430 Intro to Number Theory MIDTERM 2 PRACTICE MT 40 Intro to Number Theory MIDTERM 2 PRACTICE Material covered Midterm 2 is comrehensive but will focus on the material of all the lectures from February 9 u to Aril 4 Please review the following toics

More information

Constructions of Coverings of the Integers: Exploring an Erdős Problem

Constructions of Coverings of the Integers: Exploring an Erdős Problem Constructions of Coverings of the Integers: Exploring an Erdős Problem Kelly Bickel, Michael Firrisa, Juan Ortiz, and Kristen Pueschel August 20, 2008 Abstract In this paper, we study necessary conditions

More information

MAT Modular arithmetic and number theory. Modular arithmetic

MAT Modular arithmetic and number theory. Modular arithmetic Modular arithmetic 1 Modular arithmetic may seem like a new and strange concept at first The aim of these notes is to describe it in several different ways, in the hope that you will find at least one

More information

MTH 3527 Number Theory Quiz 10 (Some problems that might be on the quiz and some solutions.) 1. Euler φ-function. Desribe all integers n such that:

MTH 3527 Number Theory Quiz 10 (Some problems that might be on the quiz and some solutions.) 1. Euler φ-function. Desribe all integers n such that: MTH 7 Number Theory Quiz 10 (Some roblems that might be on the quiz and some solutions.) 1. Euler φ-function. Desribe all integers n such that: (a) φ(n) = Solution: n = 4,, 6 since φ( ) = ( 1) =, φ() =

More information

Introduction to Modular Arithmetic

Introduction to Modular Arithmetic 1 Integers modulo n 1.1 Preliminaries Introduction to Modular Arithmetic Definition 1.1.1 (Equivalence relation). Let R be a relation on the set A. Recall that a relation R is a subset of the cartesian

More information

Solutions to Problem Set 6 - Fall 2008 Due Tuesday, Oct. 21 at 1:00

Solutions to Problem Set 6 - Fall 2008 Due Tuesday, Oct. 21 at 1:00 18.781 Solutions to Problem Set 6 - Fall 008 Due Tuesday, Oct. 1 at 1:00 1. (Niven.8.7) If p 3 is prime, how many solutions are there to x p 1 1 (mod p)? How many solutions are there to x p 1 (mod p)?

More information

by Michael Filaseta University of South Carolina

by Michael Filaseta University of South Carolina by Michael Filaseta University of South Carolina Background: A covering of the integers is a system of congruences x a j (mod m j, j =, 2,..., r, with a j and m j integral and with m j, such that every

More information

30 HWASIN PARK, JOONGSOO PARK AND DAEYEOUL KIM Lemma 1.1. Let =2 k q +1, k 2 Z +. Then the set of rimitive roots modulo is the set of quadratic non-re

30 HWASIN PARK, JOONGSOO PARK AND DAEYEOUL KIM Lemma 1.1. Let =2 k q +1, k 2 Z +. Then the set of rimitive roots modulo is the set of quadratic non-re J. KSIAM Vol.4, No.1, 29-38, 2000 A CRITERION ON PRIMITIVE ROOTS MODULO Hwasin Park, Joongsoo Park and Daeyeoul Kim Abstract. In this aer, we consider a criterion on rimitive roots modulo where is the

More information

MATH 118 PROBLEM SET 6

MATH 118 PROBLEM SET 6 MATH 118 PROBLEM SET 6 WASEEM LUTFI, GABRIEL MATSON, AND AMY PIRCHER Section 1 #16: Show tht if is qudrtic residue modulo m, nd b 1 (mod m, then b is lso qudrtic residue Then rove tht the roduct of the

More information

Solutions for the Practice Final

Solutions for the Practice Final Solutions for the Practice Final 1. Ian and Nai play the game of todo, where at each stage one of them flips a coin and then rolls a die. The person who played gets as many points as the number rolled

More information

Solutions for the Practice Questions

Solutions for the Practice Questions Solutions for the Practice Questions Question 1. Find all solutions to the congruence 13x 12 (mod 35). Also, answer the following questions about the solutions to the above congruence. Are there solutions

More information

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 6 (2006), #A31 A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP Shinji Tanimoto Department of Mathematics, Kochi Joshi University

More information

LECTURE 3: CONGRUENCES. 1. Basic properties of congruences We begin by introducing some definitions and elementary properties.

LECTURE 3: CONGRUENCES. 1. Basic properties of congruences We begin by introducing some definitions and elementary properties. LECTURE 3: CONGRUENCES 1. Basic properties of congruences We begin by introducing some definitions and elementary properties. Definition 1.1. Suppose that a, b Z and m N. We say that a is congruent to

More information

LUCAS-SIERPIŃSKI AND LUCAS-RIESEL NUMBERS

LUCAS-SIERPIŃSKI AND LUCAS-RIESEL NUMBERS LUCAS-SIERPIŃSKI AND LUCAS-RIESEL NUMBERS DANIEL BACZKOWSKI, OLAOLU FASORANTI, AND CARRIE E. FINCH Abstract. In this paper, we show that there are infinitely many Sierpiński numbers in the sequence of

More information

NUMBER THEORY AMIN WITNO

NUMBER THEORY AMIN WITNO NUMBER THEORY AMIN WITNO.. w w w. w i t n o. c o m Number Theory Outlines and Problem Sets Amin Witno Preface These notes are mere outlines for the course Math 313 given at Philadelphia

More information

b) Find all positive integers smaller than 200 which leave remainder 1, 3, 4 upon division by 3, 5, 7 respectively.

b) Find all positive integers smaller than 200 which leave remainder 1, 3, 4 upon division by 3, 5, 7 respectively. Solutions to Exam 1 Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively prime positive integers. Prove that m φ(n) + n φ(m) 1 (mod mn). Solution: a) Fermat s Little

More information

Zhanjiang , People s Republic of China

Zhanjiang , People s Republic of China Math. Comp. 78(2009), no. 267, 1853 1866. COVERS OF THE INTEGERS WITH ODD MODULI AND THEIR APPLICATIONS TO THE FORMS x m 2 n AND x 2 F 3n /2 Ke-Jian Wu 1 and Zhi-Wei Sun 2, 1 Department of Mathematics,

More information

Enumeration of Two Particular Sets of Minimal Permutations

Enumeration of Two Particular Sets of Minimal Permutations 3 47 6 3 Journal of Integer Sequences, Vol. 8 (05), Article 5.0. Enumeration of Two Particular Sets of Minimal Permutations Stefano Bilotta, Elisabetta Grazzini, and Elisa Pergola Dipartimento di Matematica

More information

p 1 MAX(a,b) + MIN(a,b) = a+b n m means that m is a an integer multiple of n. Greatest Common Divisor: We say that n divides m.

p 1 MAX(a,b) + MIN(a,b) = a+b n m means that m is a an integer multiple of n. Greatest Common Divisor: We say that n divides m. Great Theoretical Ideas In Computer Science Steven Rudich CS - Spring Lecture Feb, Carnegie Mellon University Modular Arithmetic and the RSA Cryptosystem p- p MAX(a,b) + MIN(a,b) = a+b n m means that m

More information

Collection of rules, techniques and theorems for solving polynomial congruences 11 April 2012 at 22:02

Collection of rules, techniques and theorems for solving polynomial congruences 11 April 2012 at 22:02 Collection of rules, techniques and theorems for solving polynomial congruences 11 April 2012 at 22:02 Public Polynomial congruences come up constantly, even when one is dealing with much deeper problems

More information

Modular arithmetic Math 2320

Modular arithmetic Math 2320 Modular arithmetic Math 220 Fix an integer m 2, called the modulus. For any other integer a, we can use the division algorithm to write a = qm + r. The reduction of a modulo m is the remainder r resulting

More information

ON THE EQUATION a x x (mod b) Jam Germain

ON THE EQUATION a x x (mod b) Jam Germain ON THE EQUATION a (mod b) Jam Germain Abstract. Recently Jimenez and Yebra [3] constructed, for any given a and b, solutions to the title equation. Moreover they showed how these can be lifted to higher

More information

Math 127: Equivalence Relations

Math 127: Equivalence Relations Math 127: Equivalence Relations Mary Radcliffe 1 Equivalence Relations Relations can take many forms in mathematics. In these notes, we focus especially on equivalence relations, but there are many other

More information

An elementary study of Goldbach Conjecture

An elementary study of Goldbach Conjecture An elementary study of Goldbach Conjecture Denise Chemla 26/5/2012 Goldbach Conjecture (7 th, june 1742) states that every even natural integer greater than 4 is the sum of two odd prime numbers. If we

More information

#A3 INTEGERS 17 (2017) A NEW CONSTRAINT ON PERFECT CUBOIDS. Thomas A. Plick

#A3 INTEGERS 17 (2017) A NEW CONSTRAINT ON PERFECT CUBOIDS. Thomas A. Plick #A3 INTEGERS 17 (2017) A NEW CONSTRAINT ON PERFECT CUBOIDS Thomas A. Plick tomplick@gmail.com Received: 10/5/14, Revised: 9/17/16, Accepted: 1/23/17, Published: 2/13/17 Abstract We show that out of the

More information

Practice Midterm 2 Solutions

Practice Midterm 2 Solutions Practice Midterm 2 Solutions May 30, 2013 (1) We want to show that for any odd integer a coprime to 7, a 3 is congruent to 1 or 1 mod 7. In fact, we don t need the assumption that a is odd. By Fermat s

More information

arxiv: v3 [math.co] 4 Dec 2018 MICHAEL CORY

arxiv: v3 [math.co] 4 Dec 2018 MICHAEL CORY CYCLIC PERMUTATIONS AVOIDING PAIRS OF PATTERNS OF LENGTH THREE arxiv:1805.05196v3 [math.co] 4 Dec 2018 MIKLÓS BÓNA MICHAEL CORY Abstract. We enumerate cyclic permutations avoiding two patterns of length

More information

6. Find an inverse of a modulo m for each of these pairs of relatively prime integers using the method

6. Find an inverse of a modulo m for each of these pairs of relatively prime integers using the method Exercises Exercises 1. Show that 15 is an inverse of 7 modulo 26. 2. Show that 937 is an inverse of 13 modulo 2436. 3. By inspection (as discussed prior to Example 1), find an inverse of 4 modulo 9. 4.

More information

Conjectures and Results on Super Congruences

Conjectures and Results on Super Congruences Conjectures and Results on Suer Congruences Zhi-Wei Sun Nanjing University Nanjing 210093, P. R. China zwsun@nju.edu.cn htt://math.nju.edu.cn/ zwsun Feb. 8, 2010 Part A. Previous Wor by Others What are

More information

MATHEMATICS ON THE CHESSBOARD

MATHEMATICS ON THE CHESSBOARD MATHEMATICS ON THE CHESSBOARD Problem 1. Consider a 8 8 chessboard and remove two diametrically opposite corner unit squares. Is it possible to cover (without overlapping) the remaining 62 unit squares

More information

Week 1. 1 What Is Combinatorics?

Week 1. 1 What Is Combinatorics? 1 What Is Combinatorics? Week 1 The question that what is combinatorics is similar to the question that what is mathematics. If we say that mathematics is about the study of numbers and figures, then combinatorics

More information

Number Theory. Konkreetne Matemaatika

Number Theory. Konkreetne Matemaatika ITT9131 Number Theory Konkreetne Matemaatika Chapter Four Divisibility Primes Prime examples Factorial Factors Relative primality `MOD': the Congruence Relation Independent Residues Additional Applications

More information

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g.,

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., Binary exponentiation An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., What are the last two digits of the number 2 284? In the absence

More information

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2 Quadratic Reciprocity To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we need to be able to evaluate q for any prime q. The first (and most delicate) case

More information

Solutions for the 2nd Practice Midterm

Solutions for the 2nd Practice Midterm Solutions for the 2nd Practice Midterm 1. (a) Use the Euclidean Algorithm to find the greatest common divisor of 44 and 17. The Euclidean Algorithm yields: 44 = 2 17 + 10 17 = 1 10 + 7 10 = 1 7 + 3 7 =

More information

arxiv: v1 [math.gm] 29 Mar 2015

arxiv: v1 [math.gm] 29 Mar 2015 arxiv:1504.001v1 [math.gm] 9 Mar 015 New results on the stopping time behaviour of the Collatz 3x + 1 function Mike Winkler March 7, 015 Abstract Let σ n = 1 + n log 3. For the Collatz 3x + 1 function

More information

Math 412: Number Theory Lecture 6: congruence system and

Math 412: Number Theory Lecture 6: congruence system and Math 412: Number Theory Lecture 6: congruence system and classes Gexin Yu gyu@wm.edu College of William and Mary Chinese Remainder Theorem Chinese Remainder Theorem: let m 1, m 2,..., m k be pairwise coprimes.

More information

Introduction. and Z r1 Z rn. This lecture aims to provide techniques. CRT during the decription process in RSA is explained.

Introduction. and Z r1 Z rn. This lecture aims to provide techniques. CRT during the decription process in RSA is explained. THE CHINESE REMAINDER THEOREM INTRODUCED IN A GENERAL KONTEXT Introduction The rst Chinese problem in indeterminate analysis is encountered in a book written by the Chinese mathematician Sun Tzi. The problem

More information

Mark Kozek. December 7, 2010

Mark Kozek. December 7, 2010 : in : Whittier College December 7, 2010 About. : in Hungarian mathematician, 1913-1996. Interested in combinatorics, graph theory, number theory, classical analysis, approximation theory, set theory,

More information

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees. 7 Symmetries 7 Permutations A permutation of a set is a reordering of its elements Another way to look at it is as a function Φ that takes as its argument a set of natural numbers of the form {, 2,, n}

More information

Goldbach conjecture (1742, june, the 7 th )

Goldbach conjecture (1742, june, the 7 th ) Goldbach conjecture (1742, june, the 7 th ) We note P the prime numbers set. P = {p 1 = 2, p 2 = 3, p 3 = 5, p 4 = 7, p 5 = 11,...} remark : 1 P Statement : Each even number greater than 2 is the sum of

More information

Variations on a Theme of Sierpiński

Variations on a Theme of Sierpiński 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 10 (2007), Article 07.4.4 Variations on a Theme of Sierpiński Lenny Jones Department of Mathematics Shippensburg University Shippensburg, Pennsylvania

More information

Goldbach Conjecture (7 th june 1742)

Goldbach Conjecture (7 th june 1742) Goldbach Conjecture (7 th june 1742) We note P the odd prime numbers set. P = {p 1 = 3, p 2 = 5, p 3 = 7, p 4 = 11,...} n 2N\{0, 2, 4}, p P, p n/2, q P, q n/2, n = p + q We call n s Goldbach decomposition

More information

RESIDUE NUMBER SYSTEM. (introduction to hardware aspects) Dr. Danila Gorodecky

RESIDUE NUMBER SYSTEM. (introduction to hardware aspects) Dr. Danila Gorodecky RESIDUE NUMBER SYSTEM (introduction to hardware asects) Dr. Danila Gorodecky danila.gorodecky@gmail.com Terminology Residue number system (RNS) (refers to Chinese remainder theorem) Residue numeral system

More information

Modular Arithmetic. Kieran Cooney - February 18, 2016

Modular Arithmetic. Kieran Cooney - February 18, 2016 Modular Arithmetic Kieran Cooney - kieran.cooney@hotmail.com February 18, 2016 Sums and products in modular arithmetic Almost all of elementary number theory follows from one very basic theorem: Theorem.

More information

PRIMES IN SHIFTED SUMS OF LUCAS SEQUENCES. Lenny Jones Department of Mathematics, Shippensburg University, Shippensburg, Pennsylvania

PRIMES IN SHIFTED SUMS OF LUCAS SEQUENCES. Lenny Jones Department of Mathematics, Shippensburg University, Shippensburg, Pennsylvania #A52 INTEGERS 17 (2017) PRIMES IN SHIFTED SUMS OF LUCAS SEQUENCES Lenny Jones Department of Mathematics, Shippensburg University, Shippensburg, Pennsylvania lkjone@ship.edu Lawrence Somer Department of

More information

arxiv: v2 [math.gm] 31 Dec 2017

arxiv: v2 [math.gm] 31 Dec 2017 New results on the stopping time behaviour of the Collatz 3x + 1 function arxiv:1504.001v [math.gm] 31 Dec 017 Mike Winkler Fakultät für Mathematik Ruhr-Universität Bochum, Germany mike.winkler@ruhr-uni-bochum.de

More information

University of British Columbia. Math 312, Midterm, 6th of June 2017

University of British Columbia. Math 312, Midterm, 6th of June 2017 University of British Columbia Math 312, Midterm, 6th of June 2017 Name (please be legible) Signature Student number Duration: 90 minutes INSTRUCTIONS This test has 7 problems for a total of 100 points.

More information

x 8 (mod 15) x 8 3 (mod 5) eli 2 2y 6 (mod 10) y 3 (mod 5) 6x 9 (mod 11) y 3 (mod 11) So y = 3z + 3u + 3w (mod 990) z = (990/9) (990/9) 1

x 8 (mod 15) x 8 3 (mod 5) eli 2 2y 6 (mod 10) y 3 (mod 5) 6x 9 (mod 11) y 3 (mod 11) So y = 3z + 3u + 3w (mod 990) z = (990/9) (990/9) 1 Exercise help set 6/2011 Number Theory 1. x 2 0 (mod 2) x 2 (mod 6) x 2 (mod 3) a) x 5 (mod 7) x 5 (mod 7) x 8 (mod 15) x 8 3 (mod 5) (x 8 2 (mod 3)) So x 0y + 2z + 5w + 8u (mod 210). y is not needed.

More information

MATH 13150: Freshman Seminar Unit 15

MATH 13150: Freshman Seminar Unit 15 MATH 1310: Freshman Seminar Unit 1 1. Powers in mod m arithmetic In this chapter, we ll learn an analogous result to Fermat s theorem. Fermat s theorem told us that if p is prime and p does not divide

More information

ON MODULI FOR WHICH THE FIBONACCI SEQUENCE CONTAINS A COMPLETE SYSTEM OF RESIDUES S. A. BURR Belt Telephone Laboratories, Inc., Whippany, New Jersey

ON MODULI FOR WHICH THE FIBONACCI SEQUENCE CONTAINS A COMPLETE SYSTEM OF RESIDUES S. A. BURR Belt Telephone Laboratories, Inc., Whippany, New Jersey ON MODULI FOR WHICH THE FIBONACCI SEQUENCE CONTAINS A COMPLETE SYSTEM OF RESIDUES S. A. BURR Belt Telephone Laboratories, Inc., Whippany, New Jersey Shah [1] and Bruckner [2] have considered the problem

More information

Discrete Math Class 4 ( )

Discrete Math Class 4 ( ) Discrete Math 37110 - Class 4 (2016-10-06) 41 Division vs congruences Instructor: László Babai Notes taken by Jacob Burroughs Revised by instructor DO 41 If m ab and gcd(a, m) = 1, then m b DO 42 If gcd(a,

More information

Math 255 Spring 2017 Solving x 2 a (mod n)

Math 255 Spring 2017 Solving x 2 a (mod n) Math 255 Spring 2017 Solving x 2 a (mod n) Contents 1 Lifting 1 2 Solving x 2 a (mod p k ) for p odd 3 3 Solving x 2 a (mod 2 k ) 5 4 Solving x 2 a (mod n) for general n 9 1 Lifting Definition 1.1. Let

More information

Primitive Roots. Chapter Orders and Primitive Roots

Primitive Roots. Chapter Orders and Primitive Roots Chapter 5 Primitive Roots The name primitive root applies to a number a whose powers can be used to represent a reduced residue system modulo n. Primitive roots are therefore generators in that sense,

More information

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 24 February 2012

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 24 February 2012 CMPSCI 250: Introduction to Computation Lecture #14: The Chinese Remainder Theorem David Mix Barrington 24 February 2012 The Chinese Remainder Theorem Infinitely Many Primes Reviewing Inverses and the

More information

Generating trees and pattern avoidance in alternating permutations

Generating trees and pattern avoidance in alternating permutations Generating trees and pattern avoidance in alternating permutations Joel Brewster Lewis Massachusetts Institute of Technology jblewis@math.mit.edu Submitted: Aug 6, 2011; Accepted: Jan 10, 2012; Published:

More information

Wilson s Theorem and Fermat s Theorem

Wilson s Theorem and Fermat s Theorem Wilson s Theorem and Fermat s Theorem 7-27-2006 Wilson s theorem says that p is prime if and only if (p 1)! = 1 (mod p). Fermat s theorem says that if p is prime and p a, then a p 1 = 1 (mod p). Wilson

More information

LECTURE 7: POLYNOMIAL CONGRUENCES TO PRIME POWER MODULI

LECTURE 7: POLYNOMIAL CONGRUENCES TO PRIME POWER MODULI LECTURE 7: POLYNOMIAL CONGRUENCES TO PRIME POWER MODULI 1. Hensel Lemma for nonsingular solutions Although there is no analogue of Lagrange s Theorem for prime power moduli, there is an algorithm for determining

More information

Staircase Rook Polynomials and Cayley s Game of Mousetrap

Staircase Rook Polynomials and Cayley s Game of Mousetrap Staircase Rook Polynomials and Cayley s Game of Mousetrap Michael Z. Spivey Department of Mathematics and Computer Science University of Puget Sound Tacoma, Washington 98416-1043 USA mspivey@ups.edu Phone:

More information

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 4 October 2013

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 4 October 2013 CMPSCI 250: Introduction to Computation Lecture #14: The Chinese Remainder Theorem David Mix Barrington 4 October 2013 The Chinese Remainder Theorem Infinitely Many Primes Reviewing Inverses and the Inverse

More information

Some Fine Combinatorics

Some Fine Combinatorics Some Fine Combinatorics David P. Little Department of Mathematics Penn State University University Park, PA 16802 Email: dlittle@math.psu.edu August 3, 2009 Dedicated to George Andrews on the occasion

More information

THE NUMBER OF PERMUTATIONS WHICH FORM ARITHMETIC PROGRESSIONS MODULO m

THE NUMBER OF PERMUTATIONS WHICH FORM ARITHMETIC PROGRESSIONS MODULO m ANALELE ŞTIINŢIFICE ALE UNIVERSITĂŢII AL.I. CUZA DIN IAŞI (S.N.) MATEMATICĂ, Tomul LXI, 2015, f.2 THE NUMBER OF PERMUTATIONS WHICH FORM ARITHMETIC PROGRESSIONS MODULO m BY FLORIAN LUCA and AUGUSTINE O.

More information

The covering congruences of Paul Erdős. Carl Pomerance Dartmouth College

The covering congruences of Paul Erdős. Carl Pomerance Dartmouth College The covering congruences of Paul Erdős Carl Pomerance Dartmouth College Conjecture (Erdős, 1950): For each number B, one can cover Z with finitely many congruences to distinct moduli all > B. Erdős (1995):

More information

Shuffling with ordered cards

Shuffling with ordered cards Shuffling with ordered cards Steve Butler (joint work with Ron Graham) Department of Mathematics University of California Los Angeles www.math.ucla.edu/~butler Combinatorics, Groups, Algorithms and Complexity

More information

SOLUTIONS FOR PROBLEM SET 4

SOLUTIONS FOR PROBLEM SET 4 SOLUTIONS FOR PROBLEM SET 4 A. A certain integer a gives a remainder of 1 when divided by 2. What can you say about the remainder that a gives when divided by 8? SOLUTION. Let r be the remainder that a

More information

CHAPTER 2. Modular Arithmetic

CHAPTER 2. Modular Arithmetic CHAPTER 2 Modular Arithmetic In studying the integers we have seen that is useful to write a = qb + r. Often we can solve problems by considering only the remainder, r. This throws away some of the information,

More information

NON-OVERLAPPING PERMUTATION PATTERNS. To Doron Zeilberger, for his Sixtieth Birthday

NON-OVERLAPPING PERMUTATION PATTERNS. To Doron Zeilberger, for his Sixtieth Birthday NON-OVERLAPPING PERMUTATION PATTERNS MIKLÓS BÓNA Abstract. We show a way to compute, to a high level of precision, the probability that a randomly selected permutation of length n is nonoverlapping. As

More information

18.204: CHIP FIRING GAMES

18.204: CHIP FIRING GAMES 18.204: CHIP FIRING GAMES ANNE KELLEY Abstract. Chip firing is a one-player game where piles start with an initial number of chips and any pile with at least two chips can send one chip to the piles on

More information

Combinatorics in the group of parity alternating permutations

Combinatorics in the group of parity alternating permutations Combinatorics in the group of parity alternating permutations Shinji Tanimoto (tanimoto@cc.kochi-wu.ac.jp) arxiv:081.1839v1 [math.co] 10 Dec 008 Department of Mathematics, Kochi Joshi University, Kochi

More information

Public-Key Cryptosystem Based on Composite Degree Residuosity Classes. Paillier Cryptosystem. Harmeet Singh

Public-Key Cryptosystem Based on Composite Degree Residuosity Classes. Paillier Cryptosystem. Harmeet Singh Public-Key Cryptosystem Based on Composite Degree Residuosity Classes aka Paillier Cryptosystem Harmeet Singh Harmeet Singh Winter 2018 1 / 26 Background s Background Foundation of public-key encryption

More information

Applications of Fermat s Little Theorem and Congruences

Applications of Fermat s Little Theorem and Congruences Applications of Fermat s Little Theorem and Congruences Definition: Let m be a positive integer. Then integers a and b are congruent modulo m, denoted by a b mod m, if m (a b). Example: 3 1 mod 2, 6 4

More information

Some t-homogeneous sets of permutations

Some t-homogeneous sets of permutations Some t-homogeneous sets of permutations Jürgen Bierbrauer Department of Mathematical Sciences Michigan Technological University Houghton, MI 49931 (USA) Stephen Black IBM Heidelberg (Germany) Yves Edel

More information

Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating by hand.

Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating by hand. Midterm #2: practice MATH 311 Intro to Number Theory midterm: Thursday, Oct 20 Please print your name: Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating

More information

On Variations of Nim and Chomp

On Variations of Nim and Chomp arxiv:1705.06774v1 [math.co] 18 May 2017 On Variations of Nim and Chomp June Ahn Benjamin Chen Richard Chen Ezra Erives Jeremy Fleming Michael Gerovitch Tejas Gopalakrishna Tanya Khovanova Neil Malur Nastia

More information

Assignment 2. Due: Monday Oct. 15, :59pm

Assignment 2. Due: Monday Oct. 15, :59pm Introduction To Discrete Math Due: Monday Oct. 15, 2012. 11:59pm Assignment 2 Instructor: Mohamed Omar Math 6a For all problems on assignments, you are allowed to use the textbook, class notes, and other

More information

Fermat s little theorem. RSA.

Fermat s little theorem. RSA. .. Computing large numbers modulo n (a) In modulo arithmetic, you can always reduce a large number to its remainder a a rem n (mod n). (b) Addition, subtraction, and multiplication preserve congruence:

More information

Modular Arithmetic. claserken. July 2016

Modular Arithmetic. claserken. July 2016 Modular Arithmetic claserken July 2016 Contents 1 Introduction 2 2 Modular Arithmetic 2 2.1 Modular Arithmetic Terminology.................. 2 2.2 Properties of Modular Arithmetic.................. 2 2.3

More information

Non-overlapping permutation patterns

Non-overlapping permutation patterns PU. M. A. Vol. 22 (2011), No.2, pp. 99 105 Non-overlapping permutation patterns Miklós Bóna Department of Mathematics University of Florida 358 Little Hall, PO Box 118105 Gainesville, FL 326118105 (USA)

More information

On uniquely k-determined permutations

On uniquely k-determined permutations On uniquely k-determined permutations Sergey Avgustinovich and Sergey Kitaev 16th March 2007 Abstract Motivated by a new point of view to study occurrences of consecutive patterns in permutations, we introduce

More information

Solutions to Exercises Chapter 6: Latin squares and SDRs

Solutions to Exercises Chapter 6: Latin squares and SDRs Solutions to Exercises Chapter 6: Latin squares and SDRs 1 Show that the number of n n Latin squares is 1, 2, 12, 576 for n = 1, 2, 3, 4 respectively. (b) Prove that, up to permutations of the rows, columns,

More information

Graphs of Tilings. Patrick Callahan, University of California Office of the President, Oakland, CA

Graphs of Tilings. Patrick Callahan, University of California Office of the President, Oakland, CA Graphs of Tilings Patrick Callahan, University of California Office of the President, Oakland, CA Phyllis Chinn, Department of Mathematics Humboldt State University, Arcata, CA Silvia Heubach, Department

More information

Discrete Square Root. Çetin Kaya Koç Winter / 11

Discrete Square Root. Çetin Kaya Koç  Winter / 11 Discrete Square Root Çetin Kaya Koç koc@cs.ucsb.edu Çetin Kaya Koç http://koclab.cs.ucsb.edu Winter 2017 1 / 11 Discrete Square Root Problem The discrete square root problem is defined as the computation

More information

European Journal of Combinatorics. Staircase rook polynomials and Cayley s game of Mousetrap

European Journal of Combinatorics. Staircase rook polynomials and Cayley s game of Mousetrap European Journal of Combinatorics 30 (2009) 532 539 Contents lists available at ScienceDirect European Journal of Combinatorics journal homepage: www.elsevier.com/locate/ejc Staircase rook polynomials

More information

The number of mates of latin squares of sizes 7 and 8

The number of mates of latin squares of sizes 7 and 8 The number of mates of latin squares of sizes 7 and 8 Megan Bryant James Figler Roger Garcia Carl Mummert Yudishthisir Singh Working draft not for distribution December 17, 2012 Abstract We study the number

More information

Eric Duchêne (Univ. Claude Bernard Lyon 1) Michel Rigo (University of Liège)

Eric Duchêne (Univ. Claude Bernard Lyon 1) Michel Rigo (University of Liège) INVARIANT GAMES Eric Duchêne (Univ. Claude Bernard Lyon 1) Michel Rigo (University of Liège) http://www.discmath.ulg.ac.be/ Words 2009, Univ. of Salerno, 14th September 2009 COMBINATORIAL GAME THEORY FOR

More information

2. Nine points are distributed around a circle in such a way that when all ( )

2. Nine points are distributed around a circle in such a way that when all ( ) 1. How many circles in the plane contain at least three of the points (0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 1), (2, 2)? Solution: There are ( ) 9 3 = 8 three element subsets, all

More information

ON SPLITTING UP PILES OF STONES

ON SPLITTING UP PILES OF STONES ON SPLITTING UP PILES OF STONES GREGORY IGUSA Abstract. In this paper, I describe the rules of a game, and give a complete description of when the game can be won, and when it cannot be won. The first

More information

A theorem on the cores of partitions

A theorem on the cores of partitions A theorem on the cores of partitions Jørn B. Olsson Department of Mathematical Sciences, University of Copenhagen Universitetsparken 5,DK-2100 Copenhagen Ø, Denmark August 9, 2008 Abstract: If s and t

More information

Dyck paths, standard Young tableaux, and pattern avoiding permutations

Dyck paths, standard Young tableaux, and pattern avoiding permutations PU. M. A. Vol. 21 (2010), No.2, pp. 265 284 Dyck paths, standard Young tableaux, and pattern avoiding permutations Hilmar Haukur Gudmundsson The Mathematics Institute Reykjavik University Iceland e-mail:

More information

Implementation / Programming: Random Number Generation

Implementation / Programming: Random Number Generation Introduction to Modeling and Simulation Implementation / Programming: Random Number Generation OSMAN BALCI Professor Department of Computer Science Virginia Polytechnic Institute and State University (Virginia

More information