UNBOUNDED DISCREPANCY IN FROBENIUS NUMBERS

Similar documents
Integer knapsacks and the Frobenius problem. Lenny Fukshansky Claremont McKenna College

LEGENDRE S THEOREM, LEGRANGE S DESCENT

Digit Reversal Without Apology

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

Number Theory. Zachary Friggstad. Programming Club Meeting

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

FIBONACCI NUMBERS AND DECIMATION OF BINARY SEQUENCES

On sets of integers whose shifted products are powers

UNDERSTANDING RULER AND COMPASS CONSTRUCTIONS WITH FIELD THEORY

Euler s, Fermat s and Wilson s Theorems

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

New lower bounds for hypergraph Ramsey numbers

Number Theory Solutions Packet

A Readable Introduction to Real Mathematics

NONABELIAN GROUPS WITH PERFECT ORDER SUBSETS

1 Diophantine quintuple conjecture

On the Representations of xy + yz + zx

Notes on Systems of Linear Congruences

Roth s Theorem on 3-term Arithmetic Progressions

ERIC LARSON AND LARRY ROLEN

Average distance, radius and remoteness of a graph

1. multiplication is commutative and associative;

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

CLOSED FORM CONTINUED FRACTION EXPANSIONS OF SPECIAL QUADRATIC IRRATIONALS

arxiv: v3 [math.nt] 11 Apr 2015

EFFICIENT COMPUTATION OF THE NUMBER OF SOLUTIONS OF THE LINEAR DIOPHANTINE EQUATION OF FROBENIUS WITH SMALL COEFFICIENTS

Minimal Paths and Cycles in Set Systems

Winter Camp 2009 Number Theory Tips and Tricks

ON SPECTRAL CANTOR MEASURES. 1. Introduction

On a Generalization of the Coin Exchange Problem for Three Variables

Divisibility in the Fibonacci Numbers. Stefan Erickson Colorado College January 27, 2006

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

MATH 115, SUMMER 2012 LECTURE 12

Sums of Squares. Bianca Homberg and Minna Liu

Fermat s Last Theorem for Regular Primes

Powers of 2 with five distinct summands

#A42 INTEGERS 10 (2010), ON THE ITERATION OF A FUNCTION RELATED TO EULER S

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.

Advanced Combinatorial Optimization September 24, Lecture 5

#A45 INTEGERS 9 (2009), BALANCED SUBSET SUMS IN DENSE SETS OF INTEGERS. Gyula Károlyi 1. H 1117, Hungary

Week Some Warm-up Questions

Diophantine triples in a Lucas-Lehmer sequence

ABSTRACT. In this note, we find all the solutions of the Diophantine equation x k = y n, 1, y 1, k N, n INTRODUCTION

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?

MATH CSE20 Homework 5 Due Monday November 4

that if a b (mod m) and c d (mod m), then ac bd (mod m) soyou aren't allowed to use this fact!) A5. (a) Show that a perfect square must leave a remain

On the number of elements with maximal order in the multiplicative group modulo n

On the Crossing Number of Complete Graphs with an Uncrossed Hamiltonian Cycle

Bounds on the Number of Irreducible Semigroups of Fixed Frobenius Number

On Diophantine m-tuples and D(n)-sets

On non-hamiltonian circulant digraphs of outdegree three

An Elementary Proof that any Natural Number can be Written as the Sum of Three Terms of the Sequence n2

The Separating Words Problem

K 4 -free graphs with no odd holes

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

Maximal and Maximum Independent Sets In Graphs With At Most r Cycles

Theoretical Cryptography, Lecture 13

inv lve a journal of mathematics 2009 Vol. 2, No. 2 Bounds for Fibonacci period growth mathematical sciences publishers Chuya Guo and Alan Koch

Marcos J. González Departamento de Matemáticas Puras y Aplicadas, Universidad Simón Bolívar, Sartenejas, Caracas, Venezuela

D( 1)-QUADRUPLES AND PRODUCTS OF TWO PRIMES. Anitha Srinivasan Saint Louis University-Madrid campus, Spain

Variants of the Erdős-Szekeres and Erdős-Hajnal Ramsey problems

7.2 Applications of Euler s and Fermat s Theorem.

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

Near-domination in graphs

Diophantine quadruples and Fibonacci numbers

PARTITIONS WITH FIXED DIFFERENCES BETWEEN LARGEST AND SMALLEST PARTS

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?

Instructor: Bobby Kleinberg Lecture Notes, 25 April The Miller-Rabin Randomized Primality Test

Constructions in Ramsey theory

INFINITE RINGS WITH PLANAR ZERO-DIVISOR GRAPHS

The Weil bounds. 1 The Statement

Remarks on Separating Words

Definitions, Theorems and Exercises. Abstract Algebra Math 332. Ethan D. Bloch

Pl and P2 are powerful numbers with g.c.d. (PI P2 ON POWERFUL NUMBERS. I. Golomb (op.cit.) KEY WORDS AND PHRASES. Powerful number, integer.

4 Linear Recurrence Relations & the Fibonacci Sequence

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

ON THE ERDOS-STONE THEOREM

Integer Sequences Avoiding Prime Pairwise Sums

Consider the following general situation: let G and H be two sets (not. G H = f(g; h)j g 2 G; h 2 Hg:

FIVE-LIST-COLORING GRAPHS ON SURFACES II. A LINEAR BOUND FOR CRITICAL GRAPHS IN A DISK

On a diophantine equation of Andrej Dujella

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

ON MONIC BINARY QUADRATIC FORMS

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

Advanced Combinatorial Optimization Updated February 18, Lecture 5. Lecturer: Michel X. Goemans Scribe: Yehua Wei (2009)

arxiv: v2 [math.nt] 7 Oct 2017

64 P. ERDOS AND E. G. STRAUS It is possible that (1.1) has only a finite number of solutions for fixed t and variable k > 2, but we cannot prove this

Week 15-16: Combinatorial Design

The Collatz Problem and Analogues

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

Math 3000 Section 003 Intro to Abstract Math Homework 6

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

Subwords, Regular Languages, and Prime Numbers

Minimal polynomials of the modified de Bruijn sequences

Composition of Axial Functions of Product of Finite Sets

* 8 Groups, with Appendix containing Rings and Fields.

PACKING POLYNOMIALS ON SECTORS OF R 2. Caitlin Stanton Department of Mathematics, Stanford University, California

On the power-free parts of consecutive integers

Theoretical Cryptography, Lecture 10

Rao s degree sequence conjecture

Transcription:

#A2 INTEGERS 11 (2011) UNBOUNDED DISCREPANCY IN FROBENIUS NUMBERS Jeffrey Shallit School of Computer Science, University of Waterloo, Waterloo, ON, Canada shallit@cs.uwaterloo.ca James Stankewicz 1 Department of Mathematics, University of Georgia, Athens, GA, USA stankewicz@gmail.com Received: 2/25/10, Revised: 9/9/10, Accepted: 9/16/10, Published: 1/13/11 Abstract Let g j denote the largest integer that is represented exactly j times as a non-negative integer linear combination of {x 1,..., x n }. We show that for any k > 0, and n = 5, the quantity g 0 g k is unbounded. Furthermore, we provide examples with g 0 > g k for n 6 and g 0 > g 1 for n 4. 1. Introduction Let X ={x 1, x 2,..., x n } be a set of distinct positive integers with gcd(x 1, x 2,..., x n ) = 1. The Frobenius number g(x 1, x 2,..., x n ) is defined to be the largest integer that cannot be expressed as a non-negative integer linear combination of the elements of X. For example, g(6, 9, 20) = 43. The Frobenius number the name comes from the fact that Frobenius mentioned it in his lectures, although he apparently never wrote about it is the subject of a huge literature, which is admirably summarized in the book of Ramírez Alfonsín [5]. Recently, Brown et al. [2] considered a generalization of the Frobenius number, defined as follows: g j (x 1, x 2,..., x n ) is largest integer having exactly j representations as a non-negative integer linear combination of x 1, x 2,..., x n. (If no such integer exists, Brown et al. defined g j to be 0, but for our purposes, it seems more reasonable to leave it undefined.) Thus g 0 is just g, the ordinary Frobenius number. They observed that, for a fixed n-tuple (x 1, x 2,..., x n ), the function g j (x 1, x 2,..., x n ) need not be increasing (considered as a function of j). For example, they gave the example g 35 (4, 7, 19) = 181 while g 36 (4, 7, 19) = 180. They asked 1 Partially supported by NSF VIGRE grant DMS-0738586.

INTEGERS: 11 (2011) 2 if there are examples for which g 1 < g 0. Although they did not say so, it makes sense to impose the condition that no x i can be written as a non-negative integer linear combination of the others, ( ) for otherwise we have trivial examples such as g 0 (4, 5, 8, 10) = 11 and g 1 (4, 5, 8, 10) = 9. We call a tuple satisfying ( ) a reasonable tuple. In this note we show that the answer to the question of Brown et al. is yes, even for reasonable tuples. For example, it is easy to verify that g 0 (8, 9, 11, 14, 15) = 21, while g 1 (8, 9, 11, 14, 15) = 20. But we prove much more: we show that g 0 (2n 2, 2n 1, 2n, 3n 3, 3n) = n 2 O(n), while for any fixed k 1 we have g k (2n 2, 2n 1, 2n, 3n 3, 3n) = O(n). It follows that for this parameterized 5-tuple and all k 1, we have g 0 g k as n. For other recent work on the generalized Frobenius number, see [1, 3, 4]. 2. The Main Result We define X n = {2n 2, 2n 1, 2n, 3n 3, 3n}. It is easy to see that this is a reasonable 5-tuple for n 5. If we can write t as a non-negative linear combination of the elements of X n, we say t has a representation or is representable. We define R(j) to be the number of distinct representations of j as a non-negative integer linear combination of the elements of X n. Theorem 1 (a) g k (X n ) = (6k + 3)n 1 for n > 6k + 3, k 1. (b) g 0 (X n ) = n 2 3n + 1 for n 6; Before we prove Theorem 1, we need some lemmas. Lemma 2 (a) R((6k + 3)n 1) k for n 4 and k 1. (b) R((6k + 3)n 1) = k for n > 6k + 3 and k 1. Proof. First, we note that (6k + 3)n 1 = 1 (2n 1) + (3t 1) (2n) + (2(k t) + 1) (3n) (1) for any integer t with 1 t k. This provides at least k distinct representations for (6k + 3)n 1 and proves (a). We call these k representations special. To prove (b), we need to see that the k special representations given by (1) are, in fact, all representations that can occur.

INTEGERS: 11 (2011) 3 Suppose that (a, b, c, d, e) is a 5-tuple of non-negative integers such that a(2n 2) + b(2n 1) + c(2n) + d(3n 3) + e(3n) = (6k + 3)n 1. (2) Reducing this equation modulo n, we get 2a b 3d 1 (mod n). Hence there exists an integer m such that 2a + b + 3d = mn + 1. Clearly m is non-negative. There are two cases to consider: m = 0 and m 1. If m = 0, then 2a + b + 3d = 1, which, by the non-negativity of the coefficients a, b, d implies that a = d = 0 and b = 1. Thus by (2) we get 2n 1 + 2cn + 3en = (6k + 3)n 1, or 2c + 3e = 6k + 1. (3) Taking both sides modulo 2, we see that e 1 (mod 2), while taking both sides modulo 3, we see that c 2 (mod 3). Thus we can write e = 2r + 1, c = 3s 1, and substitute in (3) to get k = r + s. Since s 1, it follows that 0 r k 1, and this gives our set of k special representations in (1). If m 1, then n + 1 mn + 1 = 2a + b + 3d, so n 2a + b + 3d 1. However, we know that (6k + 3)n 1 a(2n 2) + b(2n 1) + d(3n 3) > (n 1)(2a + b + 3d). Hence (6k +3)n > (n 1)(2a+b+3d) +1 > (n 1)(2a+b+3d 1) (n 1)n. Thus 6k + 3 > n 1. It follows that if n > 6k + 3, then this case cannot occur, so all the representations of (6k + 3)n 1 are accounted for by the k special representations given in (1). We are now ready to prove Theorem 1 (a). Proof. We already know from Lemma 2 that for n > 6k + 3, the number N := (6k + 3)n 1 has exactly k representations. It now suffices to show that if t has exactly k representations, for k 1, then t N. We do this by assuming t has at least one representation, say t = a(2n 2)+b(2n 1)+c(2n)+d(3n 3)+e(3n), for some 5-tuple of non-negative integers (a, b, c, d, e). Assuming these integers are large enough (it suffices to assume a, b, c, d, e 3), we may take advantage of the internal symmetries of X n to obtain additional representations with the following swaps. (a) 3(2n) = 2(3n); hence a(2n 2) + b(2n 1) + c(2n) + d(3n 3) + e(3n) = a(2n 2) + b(2n 1) + (c + 3)(2n) + d(3n 3) + (e 2)(3n). (b) 3(2n 2) = 2(3n 3); hence a(2n 2) + b(2n 1) + c(2n) + d(3n 3) + e(3n) = (a + 3)(2n 2) + b(2n 1) + c(2n) + (d 2)(3n 3) + e(3n).

INTEGERS: 11 (2011) 4 (c) 2n 2 + 2n = 2(2n 1); hence a(2n 2) + b(2n 1) + c(2n) + d(3n 3) + e(3n) = (a + 1)(2n 2) + (b 2)(2n 1) + (c + 1)(2n) + d(3n 3) + e(3n). (d) 2n 2 + 2n 1 + 2n = 3n 3 + 3n; hence a(2n 2) + b(2n 1) + c(2n) + d(3n 3) + e(3n) = (a + 1)(2n 2) + (b + 1)(2n 1) + (c + 1)(2n) + (d 1)(3n 3) + (e 1)(3n). We now do two things for each possible swap: first, we show that the requirement that t have exactly k representations imposes upper bounds on the size of the coefficients. Second, we swap until we have a representation which can be conveniently bounded in terms of k. (a) If e 2 + c 3 k, we can find at least k + 1 representations of t. Thus we can find a representation of t with c 2 and e 2k 1. (b) Similarly, if d 2 + a 3 k, we can find at least k + 1 representations of t. Thus we can find a representation of t with d 2k 1 and a 2. Combining this with (a), we can find a representation with a, c 2 and d + e 2k 1. (c) If b 2 + min{a, c} k, we can find at least k + 1 representations of t. Thus we can find a representation of t with b min{a, c} 1. If we start with the assumption a, c 2, this ensures that min{a, b, c} a+b+c 3 min{a, b, c} + 1 and max{a, b, c} min{a, b, c} 3. (d) If min{a, b, c} + min{d, e} k we can find at least k + 1 representations of t. When this swap is followed by (a) or (b) (if necessary) we can find a representation with d + e 2k 1, a + b + c 3 and a, c 2. Putting this all together, we see that t (2n 1) + 2(2n) + (2k 1)(3n) = (6k + 3)n 1, as desired. In order to prove Theorem 1 (b), we need a lemma. Lemma 3 The integers k(n 1), k(n 1) + 1,..., kn are representable for k = 2 and k 4 and for n 4. Proof. We prove the result by induction on k. The base cases are k = 2, 4, and we have the representations given below:

INTEGERS: 11 (2011) 5 4n 4 = 2(2n 2) 4n 3 = (2n 2) + (2n 1) 4n 2 = 2(2n 1) 4n 1 = (2n 1) + (2n) 4n = 2(2n). Now suppose ln m is representable for 4 l < k and 0 m l. We want to show that kn t is representable for 0 t k. There are three cases, depending on k (mod 3). If k 0 (mod 3), and k 4, then (k 2)n t = kn t 2n is representable if t k 2; otherwise (k 2)n t + 2 = kn t (2n 2) is representable. By adding 2n or 2n + 2, respectively, we get a representation for kn t. If k 1 (mod 3), and k 4, or if k 2 (mod 3), then (k 3)n t = kn t 3n is representable if t k 3; otherwise (k 3)n t + 3 = kn t (3n 3) is representable. By adding 3n or 3n + 3, respectively, we get a representation for kn t. Now we prove Theorem 1 (b). Proof. First, let s show that every integer > n 2 3n + 1 is representable. Since if t has a representation, so does t+2n 2, it suffices to show that the 2n 2 numbers n 2 3n + 2, n 2 3n + 3,..., n 2 n 1 are representable. We use Lemma 3 with k = n 2 to see that the numbers (n 2)(n 1) = n 2 3n+2,..., (n 2)n = n 2 2n are all representable. Now use Lemma 3 again with k = n 1 to see that the numbers (n 1)(n 1) = n 2 2n+1,..., (n 1)n = n 2 n are all representable. We therefore conclude that every integer > n 2 3n + 1 has a representation. Finally, we show that n 2 3n + 1 does not have a representation. Suppose, to get a contradiction, that it does: n 2 3n + 1 = a(2n 2) + b(2n 1) + c(2n) + d(3n 3) + e(3n). Reducing modulo n gives 1 2a b 3d (mod n), so there exists an integer m such that 2a + b + 3d = mn 1. Since a, b, d are non-negative, we must have m 1. Now n 2 3n + 1 a(2n 2) + b(2n 1) + d(3n 3) > (n 1)(2a + b + 3d). Thus n 2 3n + 1 (n 1)(mn 1) = mn 2 (m + 1)n + 1. (4) If m = 1, we get n 2 3n + 1 n 2 2n + 1, a contradiction. Hence m 2. From (4) we get (m 1)n 2 (m 2)n 0. Since n 1, we get (m 1)n (m 2) 0, a contradiction.

INTEGERS: 11 (2011) 6 3. Additional Remarks One might object to our examples because the numbers are not pairwise relatively prime. But there also exist reasonable 5-tuples with g 0 > g 1 for which all pairs are relatively prime: for example, g 0 (9, 10, 11, 13, 17) = 25, but g 1 (9, 10, 11, 13, 17) = 24. More generally one can use the techniques in this paper to show that and g 0 (10n 1, 15n 1, 20n 1, 25n, 30n 1) = 50n 2 1 g 1 (10n 1, 15n 1, 20n 1, 25n, 30n 1) = 50n 2 5n for n 1, so that g 0 g 1 as n. For k 2, let f(k) be the least non-negative integer i such that there exists a reasonable k-tuple X with g i (X) > g i+1 (X). A priori f(k) may not exist. For example, if k = 2, then we have g i (x 1, x 2 ) = (i + 1)x 1 x 2 x 1 x 2, so g i (x 1, x 2 ) < g i+1 (x 1, x 2 ) for all i. Thus f(2) does not exist. In this paper, we have shown that f(5) = 0. This raises the obvious question of other values of f. Theorem 4 We have f(i) = 0 for i 4. Proof. As mentioned in the Introduction, the example (8, 9, 11, 14, 15) shows that f(5) = 0. For i = 4, we have the example g 0 (24, 26, 36, 39) = 181 and g 1 (24, 26, 36, 39) = 175, so f(4) = 0. (This is the reasonable quadruple with g 0 > g 1 that minimizes the largest element.) We now provide a class of examples for i 6. For n 6 define X n as follows: X n = (n + 1, n + 4, n + 5, [n + 7..2n + 1], 2n + 3, 2n + 4), where by [a..b] we mean the list a, a + 1, a + 2,..., b. For example, X 8 = (9, 12, 13, 15, 16, 17, 19, 20). Note that X n is of cardinality n. We make the following three claims for n 6. (a) X n is reasonable. (b) g 0 (X n ) = 2n + 7. (c) g 1 (X n ) = 2n + 6. (a): To see that X n is reasonable, assume that some element x is in the N-span of the other elements. Then either x = ky for some k 2, where y is the smallest element of X n, or x y + z, where y, z are the two smallest elements of X n. It is easy to see both of these lead to contradictions.

INTEGERS: 11 (2011) 7 (b) and (c): Clearly 2n + 7 is not representable, and 2n + 6 has the single representation (n + 1) + (n + 5). It now suffices to show that every integer 2n + 8 has at least two representations. And to show this, it suffices to show that all integers in the range [2n + 8..3n + 8] have at least two representations. Choosing (n + 4) + [n + 7..2n + 1] and (n + 5) + [n + 7..2n + 1] gives two distinct representations for all numbers in the interval [2n + 12..3n + 5]. So it suffices to handle the remaining cases 2n + 8, 2n + 9, 2n + 10, 2n + 11, 3n + 6, 3n + 7, 3n + 8. This is done as follows: 2n + 8 = (n + 1) + (n + 7) = 2(n + 4) { 3(n + 1), if n = 6; 2n + 9 = (n + 4) + (n + 5) = (n + 1) + (n + 8), if n 7. (n + 1) + (2n + 3), if n = 6; 2n + 10 = 2(n + 5) = 3(n + 1), if n = 7; (n + 1) + (n + 9), if n 8. (n + 1) + (2n + 4), if n = 6; (n + 1) + (2n + 3), if n = 7; 2n + 11 = (n + 4) + (n + 7) = 3(n + 1), if n = 8; (n + 1) + (n + 10), if n 9. 3n + 6 = 2(n + 1) + (n + 4) = (n + 5) + (2n + 1) 3n + 7 = 2(n + 1) + (n + 5) = (n + 4) + (2n + 3) 3n + 8 = (n + 5) + (2n + 3) = (n + 4) + (2n + 4). We do not know the value of f(3). The example g 14 (8, 9, 15) = 172 g 15 (8, 9, 15) = 169 shows that f(3) 14. Conjecture 5 f(3) = 14. We have checked all triples with largest element 200, but have not found any counterexamples. Acknowledgments We thank the referee for useful comments. Thanks also go to Dino Lorenzini who sent us a list of comments after we submitted this paper.

INTEGERS: 11 (2011) 8 Among them was an encouragement to make more use of the formula of Brown et al., which led to the example that shows that f(4) = 0. References [1] M. Beck and C. Kifer, An extreme family of generalized Frobenius numbers, preprint, May 15 2010, http://arxiv.org/pdf/1005.2692. [2] A. Brown, E. Dannenberg, J. Fox, J. Hanna, K. Keck, A. Moore, Z. Robbins, B. Samples, and J. Stankewicz, On a generalization of the Frobenius number, J. Integer Sequences 13 (2010), Article 10.1.4. [3] L. Fukshansky and A. Schürmann, Bounds on generalized Frobenius numbers, preprint, August 29 2010, http://arxiv.org/abs/1008.4937. [4] C. Kifer, Extending the linear Diophantine problem of Frobenius, Master s thesis, San Francisco State University, May 3 2010, http://math.sfsu.edu/beck/teach/masters/curtis.pdf. [5] J. L. Ramírez Alfonsín. The Diophantine Frobenius Problem. Oxford University Press, 2005.