On the Partitions of a Number into Arithmetic Progressions

Similar documents
The primitive root theorem

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?

Partitions with Fixed Number of Sizes

COMPOSITIONS WITH A FIXED NUMBER OF INVERSIONS

The Greatest Common Divisor of k Positive Integers

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?

On the Density of Languages Representing Finite Set Partitions 1

Summary: Divisibility and Factorization

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

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

1 x i. i=1 EVEN NUMBERS RAFAEL ARCE-NAZARIO, FRANCIS N. CASTRO, AND RAÚL FIGUEROA

Counting Palindromic Binary Strings Without r-runs of Ones

A SUMMATION FORMULA FOR SEQUENCES INVOLVING FLOOR AND CEILING FUNCTIONS

CYCLES AND FIXED POINTS OF HAPPY FUNCTIONS

Number Theory Solutions Packet

REGULAR TETRAHEDRA WHOSE VERTICES HAVE INTEGER COORDINATES. 1. Introduction

PRACTICE PROBLEMS: SET 1

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

On the enumeration of partitions with summands in arithmetic progression

AUGUSTINE O. MUNAGI. Received 9 September 2004

Chapter 5: The Integers

Math 324, Fall 2011 Assignment 6 Solutions

Standard forms for writing numbers

Counting Kneading Sequences. Vorrapan Chandee & Tian Tian Qiu

Primary classes of compositions of numbers

Fall 2017 Test II review problems

On the Sequence A and Its Combinatorial Interpretations

Tewodros Amdeberhan, Dante Manna and Victor H. Moll Department of Mathematics, Tulane University New Orleans, LA 70118

Sum of cubes is square of sum

A REFINED ENUMERATION OF p-ary LABELED TREES

On the indecomposability of polynomials

MATH FINAL EXAM REVIEW HINTS

Exact formulae for the prime counting function

MATH 145 Algebra, Solutions to Assignment 4

M381 Number Theory 2004 Page 1

Several Generating Functions for Second-Order Recurrence Sequences

Executive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics:

Combinatorial properties of the numbers of tableaux of bounded height

Combinatorial results for certain semigroups of partial isometries of a finite chain

Combinatorial Interpretations of a Generalization of the Genocchi Numbers

FURTHER EVALUATIONS OF WEIL SUMS

NONABELIAN GROUPS WITH PERFECT ORDER SUBSETS

On a Balanced Property of Compositions

Application of Logic to Generating Functions. Holonomic (P-recursive) Sequences

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

Enumerating Binary Strings

Perfect if and only if Triangular

ON THE SUM OF ELEMENT ORDERS OF FINITE ABELIAN GROUPS

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

Arithmetic Properties for a Certain Family of Knot Diagrams

Extremal Orders of Certain Functions Associated with Regular Integers (mod n)

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even.

Investigating Geometric and Exponential Polynomials with Euler-Seidel Matrices

THE DENOMINATORS OF POWER SUMS OF ARITHMETIC PROGRESSIONS. Bernd C. Kellner Göppert Weg 5, Göttingen, Germany

Sequences that satisfy a(n a(n)) = 0

Objective Type Questions

arxiv: v1 [math.co] 22 May 2014

A characterization of regular tetrahedra in Z3

arxiv: v2 [math.nt] 5 Sep 2012

Convoluted Convolved Fibonacci Numbers

f(n) = f(p e 1 1 )...f(p e k k ).

Contest Number Theory

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

Supremum and Infimum

Smol Results on the Möbius Function

Cullen Numbers in Binary Recurrent Sequences

ON THE SUM OF DIVISORS FUNCTION

Solutions for Homework Assignment 2

EXPLICIT EVALUATIONS OF SOME WEIL SUMS. 1. Introduction In this article we will explicitly evaluate exponential sums of the form

MATH 802: ENUMERATIVE COMBINATORICS ASSIGNMENT 2

Linear Recurrence Relations for Sums of Products of Two Terms

Sloping Binary Numbers: A New Sequence Related to the Binary Numbers

EQUIVALENCE OF TOPOLOGIES AND BOREL FIELDS FOR COUNTABLY-HILBERT SPACES

Mathematical Reasoning & Proofs

5: The Integers (An introduction to Number Theory)

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

HOMEWORK ASSIGNMENT 5

Name (print): Question 4. exercise 1.24 (compute the union, then the intersection of two sets)

Some Congruences for the Partial Bell Polynomials

ON A PROBLEM OF PILLAI AND ITS GENERALIZATIONS

Permuting the partitions of a prime

On Generalized Fibonacci Polynomials and Bernoulli Numbers 1

NOTES ON INTEGERS. 1. Integers

AN EXTENSION OF A THEOREM OF EULER. 1. Introduction

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

Some thoughts concerning power sums

On a Generalization of the Coin Exchange Problem for Three Variables

Newton, Fermat, and Exactly Realizable Sequences

Zhi-Wei Sun Department of Mathematics, Nanjing University Nanjing , People s Republic of China

1 i<j k (g ih j g j h i ) 0.

PARTITIONS WITH FIXED DIFFERENCES BETWEEN LARGEST AND SMALLEST PARTS

GOLOMB S ARITHMETICAL SEMIGROUP TOPOLOGY AND A SEMIPRIME SUFFICIENCY CONDITION FOR DIRICHLET S THEOREM

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

Homework #5 Solutions

Minimal multipliers for consecutive Fibonacci numbers

A generalization of the Weierstrass semigroup

Chapter 2 Irreducible Numerical Semigroups

is square-free. Suppose it were not and had a square factor x 2 p r 1. This is a contradiction, as the only possible primes dividing p r 1

LEGENDRE S THEOREM, LEGRANGE S DESCENT

Transcription:

1 3 47 6 3 11 Journal of Integer Sequences, Vol 11 (008), Article 0854 On the Partitions of a Number into Arithmetic Progressions Augustine O Munagi and Temba Shonhiwa The John Knopfmacher Centre for Applicable Analysis and Number Theory School of Mathematics University of the Witwatersrand Private Bag 3, Wits 050 South Africa AugustineMunagi@witsacza TembaShonhiwa@mathswitsacza Abstract The paper investigates the enumeration of the set AP(n) of partitions of a positive integer n in which the nondecreasing sequence of parts form an arithmetic progression We establish formulas for such partitions, and characterize a class of integers n with the property that the length of every member of AP(n) divides n We prove that the number of such integers is small 1 Introduction A partition of a positive integer n is a nondecreasing sequence of positive integers whose sum is n The summands are called parts of the partition We will denote the partition n 1,n,,n as the -tuple (n 1,n,,n ) We consider the problem of enumerating the set AP(n) of partitions of n in which the nondecreasing sequence of parts form an arithmetic progression (AP) Our investigation was in part motivated by sequence A049988 in Sloane s table [6], that is, the number of arithmetic progressions of positive, integers, nondecreasing with sum n Coo and Sharpe [3] obtained necessary and sufficient conditions for a positive integer to possess a partition into arithmetic progressions with a prescribed common difference Nyblom and Evans [5] undertoo the enumeration problem and found the following representation for the number 1

p d (n) of partitions of n with common difference d { τ1 (n) f(n), if n = d m(m+1) for some m > 1; p d (n) = τ 1 (n) 1 f(n), otherwise, where f(n) = A n with A n = {c : c n,c odd, c < d(n c), n < dc(c 1)}, and τ 1 (n) is the number of odd positive divisors of n The authors also state a closed formula for p (n) In what follows we count partitions directly, and mostly according to the length of an AP, an approach which reduces our domain to the natural subclass of -partitions of n This maes it possible to obtain simpler results with certain new consequences Let AP(n,) = {π π AP(n) and π has parts }, and let ap(n) = AP(n), ap(n,) = AP(n,) denote the cardinalities of the respective sets Note that AP(n, 1), n > 0, and AP(n, ), n > 1, since (n) AP(n, 1) and (1,n 1) AP(n, ) respectively The set DP(n) of partitions using a single integer (divisor of n) forms a distinguished subset of AP(n) The cardinality dp(n) = DP(n) is given by the number f(n, ) of ordered factorizations of n into two factors plus (counting the partitions (1, 1,,1) and (n)): each factorization n = rs, r,s > 0, gives the s-tuple (r,r,,r) DP(n), and n = sr gives the r-tuple (s,s,,s) DP(n) Since the first factor runs over the divisors of n, we have dp(n) = f(n, ) + = τ(n), (1) where τ(n) is the number of positive integral divisors of n If p is an odd prime then each π AP(p) can have at most two distinct parts since the sum of a -term AP with a positive common difference is composite if 3 Since dp(n) = for prime p, observe that { AP(p) \ DP(p) = (i,p i) 1 i p 1 } = p 1 Consequently ap(p) = + (p 1)/ = (p + 3)/, from which we obtain the following result on the enumeration of AP(n) for prime n Proposition 1 ap() =, and if p is an odd prime, then ap(p) = p + 3 Proposition 1 has the following extension Let AP t (n) denote the subset of AP(n) containing partitions with at most t distinct parts and ap t (n) = AP t (n) Then ap (n) = τ(n)+ n 1 if n is even, and ap (n) = τ(n) + (n 1) if n is odd Hence we have the following result n 1 Proposition If n is a positive integer, then ap (n) = τ(n) +, where x is the greatest integer x The next-step result follows from the summation of the parts of a partition in AP(n) ( ) a + (a + d) + + (a + ( 1)d) = a + d = n, d 0, ()

for some integers a, d,, a 1, d 0, 1 n Then = 3 implies 3a + 3d = n Hence ap(n, 3) > 0 if and only if n is a multiple of 3 If 3 n, the solution set of a + d = n/3 is clearly {(a,d) = (r, (n 3r)/3) 1 r n/3} Thus ap 3 (n) = ap (n) + n/3 (5n 3) Proposition 3 If n is a positive integer such that 3 n, then ap 3 (n) = τ(n) + 6 The formula for ap t (n), t 4, is uneconomical, (, 5, 8, 11) AP(6) but 4 6 Let Div(n) denote the set of divisors of n Since Div(n) implies ap(n,) > 0, we define the set APDiv(n) = { ap(n, ) > 0} Then Div(n) APDiv(n) in general In Section, we derive the general formula for ap(n,) This will mae it possible, in Section 3, to obtain more inclusive formulas in the spirit of those stated above, bearing in mind Div(n) APDiv(n) In particular, we characterize the class of numbers n for which Div(n) = APDiv(n), and show that such numbers are few The formula for ap(n, ) We present the main theorem of this section Theorem 4 1 Let n be a positive integer and > 0 an even number such that ap(n,) > 0 Then n + ( ) ap(n,) =, if n and (3) n + ( 3) ap(n,) =, if n (4) Let n be a positve integer and an odd number such that ap(n,) > 0, > 1 Then n + ( 3) ap(n,) = (5) Proof The proof maes use of the following result [] The linear Diophantine equation ax + by = c has a solution if and only if g c, where g = gcd(a,b) If (x 0,y 0 ) is any particular solution of this equation, then all other solutions are given by, where t is an arbitrary integer x = x 0 + ( ) b t, y = y 0 g ( ) a t g In view of equation (), the enumerative function ap(n,) is given by ap(n,) = 1, 3 a+ld=n a 1, d 0

( 1) where l = However, a + ld = n has a solution if and only if gcd(,l) n For the case odd, it follows that gcd(,l) = leading to a solution if and only if n, that is, n is a multiple of In which case one particular solution is d 0 = 0 and a 0 = n, an integer And hence, the other solutions are given by where t is an integer Thus, a = n + l gcd(,l) t 1 and d = gcd(,l) t 0, ap(n, ) = = a= n + l gcd(,l) t 1 d= gcd(,l) t 0 (1 n )gcd(,l) t 0 l 1 1 = (n ) + 1, a result equivalent to formula (5) Next we consider the case when is even and note that gcd(,l) = gcd (, ) ( 1) =, that is, a + ld = n has a solution if and only if n, which implies n = s, for some positive integer s Clearly, for s even, the previous argument goes through save for a minor adjustment, leading to the result, (n ) ap(n,) = + 1, where n is a multiple of, a result equivalent to formula (3) On the other hand, if s is odd, then one valid solution is d 0 = 1 which implies a 0 = (s l) = (s ( 1)), which is an integer when s is odd The condition a 1 implies the condition n ( + 1) Therefore, ap(n, ) = 1 = a= n l + l gcd(,l) t 1 d=1 gcd(,l) t 0 gcd(,l) l (1 (n l) ) t gcd(,l) Since gcd(,l) = /, this gives t 1 and hence, (n ( + 1)) ap(n,) = + 1, where n = s ( + 1), a result equivalent to formula (4) This exhausts all possible outcomes 4 1

3 The formula for ap(n) Using the results of Section, we can write the sum of ap(n,) over all divisors of n, denoted divap(n) Thus, Theorem 5 divap(n) = 1 + n, >1 is even n + ( ) + n, >1 is odd n + ( 3) Alternatively, divap(n) = τ(n) + n σ(n) + n >1, even n 1 + 1 n >1, odd n + (n ) Proof divap(n) = n AP(n,) = = 1 + n >1, odd = 1 + n >1, odd = τ(n) + n >1, odd n, odd ( (n ) AP(n,) + 1 + n >1, even n <n, odd n + (n 1) 1 n n, even ) + 1 + n >1, even 1 + n >1, odd n <n, even = τ(n) ( σ(n) n ) + n >1, even n + n >1, even n 1 1 AP(n, ) ( ) n + 1 (n ) n 1 1 + n >1, odd + n >1, even n + (n ) n Note that since n = ( a + ( 1)d ) by (), it follows that if is odd and ap(n,) > 0, then n, and if n and ap(n,) > 0, then is even and n 0 ( mod ) 5

Hence the set-difference APDiv(n) \ Div(n) is given by { ( )} + 1 E(n) = APDiv(n) \ Div(n) = = v n,v n,n That is, E(n) = { v α+1 Div(m) n v(v + 1) }, (6) where m is the unique odd number satisfying n = α m,α 0, and rs = {rs s S} The importance of E(n) lies in the following statement ap(n) = divap(n) if and only if E(n) = (7) In the case E(n) we have ap(n) = divap(n) + extap(n), where, extap(n) = E(n) n + ( 3) (8) Since 1 Div(m), we obtain E(n) = if and only if m < α+1 + 1 (9) In particular E( α ) =, α 0 Hence the next result follows from Theorem 5 and (7) Proposition 6 If α is a nonnegative integer, then α ap( α α j + j ) = 1 + = 1 + α + j 1 j=1 Proposition 6 is a special case of the next result α j=1 α j 1 j 1 Theorem 7 The following assertions are equivalent for any even integer n (i) ap(n) = divap(n) (ii) n can be expressed in the form n = j (r + j 1 ), r = 0, 1,,3 j 1, where j is a positive integer Proof Let n = j (r + j 1 ) = α m, α j, where m is odd m = j α (r+ j 1 ) j α (3 j 1 + j 1 ) = j α+1 < α+1 +1 So E(n) = by (9) Hence (ii) (i) Conversely, notice that 3 j 1 < r = 3 j 1 + 1 gives n = j ( j+1 + 1) j m, which implies E(n) or ap(n) > apdiv(n), a contradiction of (i) Remars (i) The special even numbers of Theorem 7 form an AP from j 1 to j+1 for each j (with common difference j ), say R(j) For example, R(1) = (, 4, 6, 8) and R() = (8, 1, 16, 0, 4, 8, 3) 6

(ii) Theorem 7 implies Proposition 6 since j 1, j R(j), when r = 0, j 1 (iii) For fixed j, there are integers n = j (r+ j 1 ) with r / {0, 1,,3 j 1 } which satisfy Theorem 7(i) However, this is not a violation of the theorem since n R(j) for some (legal) j and r For example if j = 1, then n = 1 corresponds to r = 5 > 3 So 1 / R(1) even though ap(1) = apdiv(1) But note that 1 R() This phenomenon is explained by removing the restriction on r and observing that i < j R (i) R (j), where R (j) = { j (r + j 1 ) r 0 } But if n is odd, (9) reduces to n < 3, owing to the fact that ap(n, ) > 0 for each n > 1, including prime n So, for odd numbers, we can sip the 1 Div(m) and use the least prime factor of n, to obtain the adjusted version of (9) Let n > 1 be an odd positive integer, and let p denote the least prime divisor of n n E(n) = {} if and only if < p + 1 (10) p The next theorem characterizes odd numbers n satisfying (10), ie, ap(n) = divap(n) + ap(n, ) Theorem 8 The following assertions are equivalent for any odd integer n > 1 (i) ap(n) = divap(n) + (n 1) (ii) n is prime, or n = p 1 p, where p 1,p are primes such that p < p 1 + 1 Proof Clearly (i) is true if n is prime, since there are (n 1) partitions of n into two parts (see Proposition 1) The proof follows from (10) and the observation that n = p 1 p p r, r >, implies n p 1 p 1 + 1, which implies that E(n) properly contains {} Corollary 9 If p is an odd prime, then ap(p ) = p + 9 Corollary 9 is also a corollary of the next theorem Theorem 10 If p is an odd prime and α is a positive integer, then ap(p α ) = 1 + α p α i + p i 3 + p i 1 i=1 α 1 i=0 p α i + p i 3 (p i 1) Proof Div(p α ) = {1,p,,p α } So for each i, 0 i α, we have p α i p i + 1 if and only if α > i if and only if 0 i (α 1)/ Thus E(p α ) = { p i 0 i (α 1)/ } Substituting for p i in (7) and (8), and simplifying the following summations gives the theorem ap(p α ) = 1 + α divap(p α,p i ) + i=1 α 1 i=0 extap(p α, p i ) 7

Given an odd prime p let α and c be nonnegative integers, 0 c α We claim that p α c + p c 3 = 1 + pr (p (q 1)c 1), α = qc + r, 0 r < c (11) p c 1 p c 1 Denote the left side of (11) by u(α,c), and write h(α,c) = (pα c p c ), so that h(α,c) + 3 = (p c 1) u(α, c) Then clearly, u(c, c) = 1 and α < c implies α c < c which implies h(α,c) = 1 which implies u(α,c) = 1 But if c < α < 3c, we have h(α,c) = p α c + h(α,c) which gives h(α,c) = p α c 1 Iterating the procedure we obtain an expression of the form h(α,c) = p α c + p α 3c + + p α qc + h(α,qc), where q = α c, giving h(α,qc) = 1 If we compute α and reverse the order of summation, we obtain h(α,c) = p r + p c+r + + p (q )c+r 1, c where α = qc + r Summing the finite geometric series gives the result Hence we obtain from Theorem 10, divap(p α ) = 1 + α + α c=1 α=qc+r, 0 r<c p r (p (q 1)c 1) (1) p c 1 This results in a sequence of polynomials in p over the positive integers for apdiv(p α ), α = 0, 1,,, and consequently yielding simplified forms of ap(p α ) The degree of apdiv(p α ) is clearly max(α c c > 0) = α, α > 1 The polynomials apdiv(p α ) are given below for α =, 3,,9 divap(p ) = 5 divap(p 3 ) = p + 6 divap(p 4 ) = p + p + 9 divap(p 5 ) = p 3 + p + 4p + 8 divap(p 6 ) = p 4 + p 3 + 4p + p + 13 divap(p 7 ) = p 5 + p 4 + 4p 3 + p + 6p + 10 divap(p 8 ) = p 6 + p 5 + 4p 4 + p 3 + 6p + p + 15 divap(p 9 ) = p 7 + p 6 + 4p 5 + p 4 + 6p 3 + p + 6p + 14 On the other hand, given an odd prime p, the set of numbers n = pp, p p (p a prime) which satisfy Theorem 8 is nicely bounded: p n < p So let S(p) denote the set of all numbers n between p and p inclusive which satisfy Theorem 8 We deduce that S(p) = { p prime p p < p } + { p prime p p < p } (13) In terms of the sequence a(n) = number of primes between n and n inclusive [4, A03550], a concise expression is S(p) = a(p) + a(p ) 8

We examine the size of the set of numbers which satisfy the closure relation ap(n) = divap(n) By Theorem 7 all such numbers (> 1) are even For a fixed positive integer j define AE(j) = { c j c j} Recalling the sets R(j) defined in the remars following Theorem 7, we have R(j) = 3 j 1 + 1, and AE(j) R(j) = 3 j 1 ( j 1 1) Note that AE(j) \ R(j) is the set of even numbers n within the range of elements of R(j) which satisfy ap(n) > divap(n) It follows that, for sufficiently large j, R(j) AE(j) 1 AE(j) \ R(j) 0, and j 1 AE(j) j 1 1 j 1 1 We conclude that practically all even numbers satisfy the strict inequality ap(n) > divap(n) Thus more readily so for all positive integers 4 Conclusion We close with some remars on the set E(n) It follows from (6) that if E(n), then n = M( ) for some odd integer M Writing n = α m as previously, and = α+1 m i (m i odd), we have n = M = M(α m i ) = Mm i α, where Mm i = m, m i 1 Thus each element of E(n) corresponds to a decomposition of m into two factors This gives E(n) τ(m) That is, τ(m) E(n), where m = n is odd, α 0 α The case of prime powers (see Theorem 10) shows that this upper bound is sharp The determination of the exact value of E(n) remains an open problem Acnowledgment We wish to than Jeffrey Shallit for bringing the Nyblom-Evans paper to our attention References [1] G E Andrews,The Theory of Partitions, Encyclopedia of Mathematics and its Applications, Vol, Addison-Wesley, 1976 [] T M Apostol, Introduction to Analytic Number Theory, Springer-Verlag, New Yor Inc, 1976 [3] R Coo and D Sharp, Sums of arithmetic progressions, Fib Quart 33 (1995), 18 1 9

[4] R L Graham, D E Knuth and O Patashni, Concrete Mathematics, Second Edition, Addison-Wesley, 1994 [5] M A Nyblom and C Evans, On the enumeration of partitions with summands in arithmetic progression, Australas J Combin 8 (003), 149 159 [6] N J A Sloane, The On-Line Encyclopedia of Integer Sequences, published electronically at http://wwwresearchattcom/ njas/sequences/ 000 Mathematics Subject Classification: Primary 11P81; Secondary 05A15, 05A17 Keywords: partition, arithmetic progression, divisor function, Diophantine equation (Concerned with sequences A004119, A03550, and A049988) Received October 8 007; revised version received October 10 007; December 5 008 Published in Journal of Integer Sequences, December 13 008 Return to Journal of Integer Sequences home page 10