The smallest positive integer that is solution of a proportionally modular Diophantine inequality

Similar documents
Alberto Vigneron Tenorio. International meeting on numerical semigroups with applications 2016 Levico Terme, 4-8/7/2016

NUMERICAL SEMIGROUPS MINI-COURSE CONTENTS

2. THE EUCLIDEAN ALGORITHM More ring essentials

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

4 Powers of an Element; Cyclic Groups

Bounds on the Number of Irreducible Semigroups of Fixed Frobenius Number

EDULABZ INTERNATIONAL NUMBER SYSTEM

Numerical semigroups: suitable sets of pseudo-frobenius numbers

Computing the elasticity of a Krull monoid

The Frobenius number in the set of numerical semigroups with fixed multiplicity and genus

Polynomials. In many problems, it is useful to write polynomials as products. For example, when solving equations: Example:

MATH FINAL EXAM REVIEW HINTS

MATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

On the Abhyankar-Moh inequality

Math 4400 First Midterm Examination September 21, 2012 ANSWER KEY. Please indicate your reasoning and show all work on this exam paper.

CISC-102 Winter 2016 Lecture 11 Greatest Common Divisor

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

COUNTING NUMERICAL SEMIGROUPS BY GENUS AND SOME CASES OF A QUESTION OF WILF

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

a the relation arb is defined if and only if = 2 k, k

MATH 271 Summer 2016 Practice problem solutions Week 1

To hand in: (a) Prove that a group G is abelian (= commutative) if and only if (xy) 2 = x 2 y 2 for all x, y G.

arxiv: v1 [math.ac] 14 Dec 2017

Writing Assignment 2 Student Sample Questions

The Chinese Remainder Theorem

Greatest Common Divisor MATH Greatest Common Divisor. Benjamin V.C. Collins, James A. Swenson MATH 2730

a = qb + r where 0 r < b. Proof. We first prove this result under the additional assumption that b > 0 is a natural number. Let

MATH 145 Algebra, Solutions to Assignment 4

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

ON DELTA SETS AND THEIR REALIZABLE SUBSETS IN KRULL MONOIDS WITH CYCLIC CLASS GROUPS

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?

arxiv: v2 [math.co] 13 Aug 2017

CISC-102 Fall 2017 Week 6

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm

Notes on Systems of Linear Congruences

Divisibility. Chapter Divisors and Residues

1 Overview and revision

Four Basic Sets. Divisors

Rings and modular arithmetic

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

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?

Homework 7 Solutions, Math 55

Chapter 1 A Survey of Divisibility 14

An Algebraic Interpretation of the Multiplicity Sequence of an Algebraic Branch

Part V. Chapter 19. Congruence of integers

The following is an informal description of Euclid s algorithm for finding the greatest common divisor of a pair of numbers:

Number Theory Solutions Packet

( ) 3 = ab 3 a!1. ( ) 3 = aba!1 a ( ) = 4 " 5 3 " 4 = ( )! 2 3 ( ) =! 5 4. Math 546 Problem Set 15

MATH 215 Final. M4. For all a, b in Z, a b = b a.

Revision Problems for Examination 1 in Algebra 1

Chapter 4 Finite Fields

Chapter 5: The Integers

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru

Arithmetic and Algebra

Divisibility. Def: a divides b (denoted a b) if there exists an integer x such that b = ax. If a divides b we say that a is a divisor of b.

Number Theory Basics Z = {..., 2, 1, 0, 1, 2,...} For, b Z, we say that divides b if z = b for some. Notation: b Fact: for all, b, c Z:

THE CATENARY AND TAME DEGREES ON A NUMERICAL MONOID ARE EVENTUALLY PERIODIC

ANSWER KEY & SOLUTIONS

Math Homework # 4

Lecture 7 Number Theory Euiseong Seo

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

Lecture Notes. Advanced Discrete Structures COT S

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

The Euclidean Algorithm and Multiplicative Inverses

MATH 420 FINAL EXAM J. Beachy, 5/7/97


The Chinese Remainder Theorem

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

Chapter 2. Divisibility. 2.1 Common Divisors

Fundamental gaps in numerical semigroups

arxiv: v1 [math.ac] 28 Dec 2007

Outline. Number Theory and Modular Arithmetic. p-1. Definition: Modular equivalence a b [mod n] (a mod n) = (b mod n) n (a-b)

Homework #2 solutions Due: June 15, 2012

Mathematical Olympiad Training Polynomials

Algorithms CMSC Basic algorithms in Number Theory: Euclid s algorithm and multiplicative inverse

Outline. Some Review: Divisors. Common Divisors. Primes and Factors. b divides a (or b is a divisor of a) if a = mb for some m

Outline. AIT 682: Network and Systems Security. GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation Discrete Logarithms

A Readable Introduction to Real Mathematics

NOTES ON INTEGERS. 1. Integers

EUCLID S ALGORITHM AND THE FUNDAMENTAL THEOREM OF ARITHMETIC after N. Vasiliev and V. Gutenmacher (Kvant, 1972)

Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2

Math 2070BC Term 2 Weeks 1 13 Lecture Notes

arxiv: v2 [math.nt] 7 Oct 2017

CSC B36 Additional Notes sample induction and well-ordering proofs. c Nick Cheng

5.1 Monomials. Algebra 2

Course 2316 Sample Paper 1

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

Contribution of Problems

Number Theory and Group Theoryfor Public-Key Cryptography

Chinese Remainder Theorem

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

CMPUT 403: Number Theory

GENERATING IDEALS IN SUBRINGS OF K[[X]] VIA NUMERICAL SEMIGROUPS

On a diophantine equation of Andrej Dujella

Second Proof: Every Positive Integer is a Frobenius Number of Three Generators

3 The fundamentals: Algorithms, the integers, and matrices

Transcription:

The smallest positive integer that is solution of a proportionally modular Diophantine inequality P. Vasco Iberian meeting on numerical semigroups, Porto 2008

J. C. Rosales and P. Vasco, The smallest positive integer that is solution of a proportionally modular Diophantine inequality, Mathematical Inequalities and Applications, to appear.

AIM Given two integers m and n with n 0, we denote by m mod n the remainder of the division of m by n. A proportionally modular Diophantine inequality is an expression of the form ax mod b cx, where a, b and c are positive integers. Our principal aim is To give an algorithm that allows us to calculate the smallest positive integer that is solution of a proportionally modular Diophantine inequality.

Given the proportionally modular Diophantine inequality ax mod b cx, we denote by S(a,b,c) the set of integer solutions of this inequality, S(a,b,c) = {x N ax mod b cx}. We will refer to these type of semigroups as proportionally modular numerical semigroups.

J. C. Rosales, P. A. García-Sánchez, J. I. García-García and J. M. Urbano-Blanco, Proportionally modular Diophantine inequalities, J. Number Theory 103 (2003), 281-294. Proposition 1 1. Let a, b and c be positive integers such that c < a < b and let T be the submonoid of Q [ + 0 generated by b a, ] b a c. Then T N = {x N ax mod b cx}. 2. Let, b 1, and b 2 be positive integers such that b 1 < b 2 and let T be the submonoid of Q [ ] + 0 generated by b 1, b 2. Then T N = {x N b 2 x mod b 1 b 2 ( b 2 b 1 )x}.

J. C. Rosales, P. A. García-Sánchez, J. I. García-García and J. M. Urbano-Blanco, Proportionally modular Diophantine inequalities, J. Number Theory 103 (2003), 281-294. Proposition 1 1. Let a, b and c be positive integers such that c < a < b and let T be the submonoid of Q [ + 0 generated by b a, ] b a c. Then T N = {x N ax mod b cx}. 2. Let, b 1, and b 2 be positive integers such that b 1 < b 2 and let T be the submonoid of Q [ ] + 0 generated by b 1, b 2. Then T N = {x N b 2 x mod b 1 b 2 ( b 2 b 1 )x}. T N is the proportionally [ modular ] numerical semigroup b associated to the interval 1, b 2 and we will denote it by S ([ ]) b 1, b 2.

J. C. Rosales, P. A. García-Sánchez, J. I. García-García and J. M. Urbano-Blanco, Proportionally modular Diophantine inequalities, J. Number Theory 103 (2003), 281-294. Lemm Let α < β be positive rational numbers. Then a positive integer x belongs to S([α,β]) if and only if there exists a positive integer y such that α x y β.

Lemma 3 If S([α,β]) has multiplicity m 1, then there exists a unique positive integer t such that α m t β.

If I is a closed interval of Q + such that S(I) N, then we call the 0 small point of I, and denote it by P (I), the fraction m t, where m is the multiplicity of S(I) and t is the unique positive integer such that m t I.

If I is a closed interval of Q + such that S(I) N, then we call the 0 small point of I, and denote it by P (I), the fraction m t, where m is the multiplicity of S(I) and t is the unique positive integer such that m t I. Lemma 4 Assume that S([α,β]) N and P ([α,β]) = m t. If s x t x. [α,β], then

If I is a closed interval of Q + such that S(I) N, then we call the 0 small point of I, and denote it by P (I), the fraction m t, where m is the multiplicity of S(I) and t is the unique positive integer such that m t I. Lemma 4 Assume that S([α,β]) N and P ([α,β]) = m t. If s x t x. [α,β], then Lemma 5 Let us assume that S([α,β]) N, a N and P ([α,β]) = m t. Then S([a + α,a + β]) N and P ([a + α,a + β]) = m+ta t.

Given a rational number x we denote by x the integer max{z Z z x} and by x the integer min{z Z x z}. The following two results follow easily. Lemma 6 If S([α,β]) N and [α,β] contains an integer, then P ([α,β]) = α 1. Lemma 7 If [α,β] does not contain an integer, then α = β.

Proposition 8 Let, b 1, and b 2 be positive integers such that b 1 < b 2, S ([ b 1, b 2 b 2 mod < P ([ ]) N and [ b1 b 2 mod, b 1, b 2 b 1 mod and S ([ ] contains no integers. Then b 2 mod, b 1 ]) ([ mod = m t, then P b 1, b 2 mod ]) N. Moreover, if ]) = t+ b1 m m.

Proposition 8 Let, b 1, and b 2 be positive integers such that b 1 < b 2, S ([ b 1, b 2 b 2 mod < P ([ ]) N and [ b1 b 2 mod, b 1, b 2 b 1 mod and S ([ ] contains no integers. Then b 2 mod, b 1 ]) ([ mod = m t, then P b 1, b 2 mod ]) N. Moreover, if ]) = t+ b1 m m. Let I be a closed interval of positive rational numbers not containing any integer. We define its reduced interval, and denote it by R (I), in the following way. If I = [ ] b 1, b 2 with a1, b 1, and b 2 positive integers, then R (I) = [ ] a b 2 mod, 1 b 1 mod.

Given a closed interval I of positive rational numbers we define recursively the following sequence of closed intervals: I 1 = I I n+1 = R (I n ) if I n contains no integers, otherwise I n+1 = I n. We will refer to {I n } n N\{0} as the sequence of intervals associated to I. Observe that if I k contains an integer, then I n = I k, for every n k.

The Euclides algorithm for calculating the greatest common divisor of two positive integers. Input: b and a positive integers. Output: the greatest common divisor of b and a. Begin (x,y) := (b,a) While y 0 do (x,y) := (y,x mod y) Return x End.

The Euclides algorithm for calculating the greatest common divisor of two positive integers. Input: b and a positive integers. Output: the greatest common divisor of b and a. Begin (x,y) := (b,a) While y 0 do (x,y) := (y,x mod y) Return x End. If I = [ ] b 1, b 2 with a1, b 1, and b 2 positive integers, then R (I) = [ ] a b 2 mod, 1 b 1 mod.

Lemma 9 Let I be a closed interval and let {I n } n N\{0} be the sequence of intervals associated to I. Then there exists a positive integer k such that I k contains an integer.

Example 10 Let I = [ 33 25]. Let us construct the sequence of intervals associated to I. [ 33 I 1 = 13, 66 ] [ 25, I 2 = 25 16, 13 ] [ 7, I 3 = 7 6, 16 ] [ 9, I 4 = 9 7, 6 ]. 1 13, 66 Observe that I 4 already contains an integer. Therefore I n = I 4 for all n 4.

Example 10 Let I = [ 33 25]. Let us construct the sequence of intervals associated to I. [ 33 I 1 = 13, 66 ] [ 25, I 2 = 25 16, 13 ] [ 7, I 3 = 7 6, 16 ] [ 9, I 4 = 9 7, 6 ]. 1 13, 66 Observe that I 4 already contains an integer. Therefore I n = I 4 for all n 4. (33,13), (13,7), (7,6), (6,1), (1,0) (66,25), (25,16), (16,9), (9,7), (7,2), (2,1), (1,0) If I = [ ] b 1, b 2 with a1, b 1, and b 2 positive integers, then R (I) = [ ] a b 2 mod, 1 b 1 mod.

If I is a closed interval with no integers in it, then as a consequence of Lemma 7, we have that x = y, for all x,y I. This integer is denoted by I. Lemm1 Let I be a closed interval such that S(I) N and let {I n } n N\{0} be the sequence of intervals associated to I. Let l be the smallest positive integer such that I l contains an integer. For k {2,...,l}, P (I k 1 ) = 1 P(I k ) + I k 1.

Algorithm 12 Input: I a closed interval of positive rational numbers such that S(I) N. Output: The multiplicity of the semigroup S(I). 1. Compute the sequence of intervals associated to I until we find the first interval of the sequence that contains an integer. Let us denote such intervals by I 1,I 2,...,I l. 2. If I l = [α,β], then P (I l ) = α 1. 3. Calculate P (I 1 ) by applying successively that P (I n 1 ) = 1 P(I n ) + I n 1. 4. The multiplicity of S(I) is the numerator of P (I 1 ).

Example 13 Let us calculate the multiplicity of the semigroup S ([ 33 13, 25]) 66. We already made the computation the sequence of intervals associated to I = [ 33 13, 25] 66 until we find the first term of the sequence that contains an integer in the Example 10: [ 33 I 1 = 13, 66 ] [ 25, I 2 = 25 16, 13 ] [ 7, I 3 = 7 6, 16 ] [ 9, I 4 = 9 7, 6 ]. 1 By applying Lemma 6, we know that P (I 4 ) = 2 1. Now successively applying Lemm1 we have: P (I 3 ) = 1 2 + 1 = 3 2, P (I 2) = 2 3 + 1 = 5 3, P (I 1) = 3 5 + 2 = 13 5. Therefore, 13 is the multiplicity of S ([ 33 13, 66 25]).

Proposition 1 1. Let a, b and c be positive integers such that c < a < b and let T be the submonoid of Q [ + 0 generated by b a, ] b a c. Then T N = {x N ax mod b cx}. Example 15 We find the smallest positive integer that satisfies the inequality 231x mod 938 3x. To this end, by using Proposition 1, it suffices to calculate the multiplicity of S ([ 938 231, 228]) 938. 1. I 1 = [ 938 231, ] 938 228, I2 = [ 228 26, ] 231 14. 2. As I 2 contains an integer, P (I 2 ) = 9 1. 3. P (I 1 ) = 1 9 + 4 = 37 9. 4. 37 is the multiplicity of S ([ 938 231, 938 228]). Therefore 37 is the smallest positive integer that is solution of the inequality 231x mod 938 3x.

Proposition 19 Let n 1, n 2 and n 3 be positive integers such that gcd{n 1,n 2 } = 1 and let u be a positive integer such that un 2 1 ( mod n 1 ). If m is the multiplicity of the semigroup S(un 2 n 3,n 1 n 2,n 3 ), then mn 3 is the smallest positive multiple of n 3 that belongs to n 1,n 2.

Algorithm 20 Input: n 1, n 2 and n 3 positive integers such that gcd{n 1,n 2 } = 1. Output: ξ = min{k N\{0} kn 3 n 1,n 2 }. 1. Calculate, using the extended Euclides algorithm, a positive integer u such that un 2 1 ( mod n 1 ). 2. Calculate by applying Algorithm 12 the multiplicity m of 3. Return m. S(un 2 n 3,n 1 n 2,n 3 ) = S(un 2 n 3 mod n 1 n 2,n 1 n 2,n 3 ).

Example 21 Let us calculate the smallest positive multiple of 37 that belongs to 68,79. 1. By applying the extended Euclides algorithm we calculate u N such that 79 u 1 ( mod 68). Consider u = 31. 2. Let us calculate the multiplicity of S(31 79 37,68 79,37) = S(90613,5372,37) = S(4661,5372,37). The sequence of intervals associated to I = [ 5372 4661, 4624] 5372 is [ 5372 I 1 = 4661, 5372 ] [ 4624, I 2 = 4624 748, 4661 ], I 3 = 711 [ 711 395, 748 136 ]. As I 3 contains an integer, P (I 3 ) = 2 1. Then P (I 2) = 1 2 + 6 = 13 2 and P (I 1 ) = 2 13 + 1 = 15 13. Therefore the multiplicity of S(4661,5372,37) is 15. 3. Thus 15 37 is the smallest positive multiple of 37 that belongs to 68,79.

The Frobenius number and the number of gaps of a numerical semigroup generated by three positive integers J. C. Rosales and P. A. García-Sánchez, Numerical semigroups with embedding dimension three, Archiv Math (Basel) 83 (2004), 488-496.

J. C. Rosales, M. Bullejos, Proportionally modular Diophantine inequalities and Stern-Brocot tree.