Next Article in Journal
Expect: EXplainable Prediction Model for Energy ConsumpTion
Previous Article in Journal
Learning EOQ Model with Trade-Credit Financing Policy for Imperfect Quality Items under Cloudy Fuzzy Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Minimum Number of Colours to Avoid k-Term Monochromatic Arithmetic Progressions

1
School of Mathematical Sciences, Sunway University, Bandar Sunway 47500, Malaysia
2
Institute of Mathematical Sciences, Universiti Malaya, Kuala Lumpur 50603, Malaysia
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2022, 10(2), 247; https://doi.org/10.3390/math10020247
Submission received: 18 November 2021 / Revised: 13 December 2021 / Accepted: 14 December 2021 / Published: 14 January 2022

Abstract

:
By recalling van der Waerden theorem, there exists a least a positive integer w = w ( k ; r ) such that for any n w , every r-colouring of [ 1 , n ] admits a monochromatic k-term arithmetic progression. Let k 2 and r k ( n ) denote the minimum number of colour required so that there exists a r k ( n ) -colouring of [ 1 , n ] that avoids any monochromatic k-term arithmetic progression. In this paper, we give necessary and sufficient conditions for r k ( n + 1 ) = r k ( n ) . We also show that r k ( n ) = 2 for all k n 2 ( k 1 ) 2 and give an upper bound for r p ( p m ) for any prime p 3 and integer m 2 .

1. Introduction

Let N be the set of positive integer, i.e., N = { 1 , 2 , 3 , } . A subset A N is said to have an arithmetic progression (a.p.) of length k, if there exist a , d N such that
a , a + d , a + 2 d , , a + ( k 1 ) d A .
The arithmetic progression of length k is also called a k-term a.p. with difference d, or we write { a + l d } 0 l k 1 .
There are many problems related to arithmetic progressions. One of them is to find an arrangement of [ n ] = { 1 , 2 , , n } that avoids k-term arithmetic progressions. An arrangement of [ n ] is a sequence a 1 , a 2 , , a n such that { a 1 , a 2 , , a n } = [ n ] . Davis et al. [1] discovered an arrangement of [ n ] = { 1 , 2 , , n } that avoids three-term monotone arithmetic progressions. By using the construction of certain magic square, Sim and Wong [2] proposed an arrangement of [ n ] that avoids a k-term monotone arithmetic progression, but contains a ( k 1 ) -term monotone arithmetic progression. For the infinite case, Davis et al. [1] and Sidorenko [3] showed that there is arrangement of N that avoids three-term monotone arithmetic progressions. Here, an arrangement of N is a sequence a 1 , a 2 , , a n , , such that { a 1 , a 2 , , a n , } = N . They [1] also showed that there exists an arrangement of N that avoid five-term monotone arithmetic progressions. Recently, Geneson [4] constructed an arrangement of the set of integers that avoids six-term monotone arithmetic progressions. Up to now, it is still unknown whether there exists an arrangement of positive integers that avoids four-term monotone arithmetic progressions [5].
Another interesting problem is the colouring problem, which we will describe shortly. For a positive integer t, we denote the set { 1 , 2 , 3 , , t } by [ 1 , t ] . A r-colouring of a set S is a function χ : S [ 1 , r ] . A monochromatic k-term a.p. refers to a k-term a.p. such that all of its elements are of the same colour.
We now state the van der Waerden’s theorem, which was proved in 1927, see [6].
Theorem 1.
(Van der Waerden’s Theorem) Let k , r 2 be integers. There exists a least positive integer w = w ( k ; r ) such that for any n w , every r-colouring of [ 1 , n ] admits a monochromatic k-term arithmetic progression.
In an effort to investigate the van der Waerden theorem, Erdős and Turán [7] approached the problem in the opposite direction: Given a positive integer n, what is the maximum size of a subset of [ 1 , n ] that does not contain an arithmetic progression of length k? They define the following.
Definition 1.
For k 2 and n 3 , let S be the collection of sets S [ 1 , n ] such that S does not contain an arithmetic progression of length k. Then ν k ( n ) = max ( { | S | : S S } ) .
Note that ν k ( n ) is monotone increasing in k 3 . Suppose ν k ( n ) = w , then there is a subset of w + 1 integers in [ 1 , n ] which may contain only k-term a.p. but definitely does not contain a k + 1 a.p. Hence ν k + 1 ( n ) > ν k ( n ) . They [7] showed that ν 3 ( 2 n ) n for n 8 and conjectured ν 3 ( n ) = o ( n ) . The conjectured was solved by Roth [8] and has been strengthened (see [9,10]). Studying ν k ( n ) and having an upper bound on these numbers would lead to an upper bound on w ( k ; r ) . In 2018, Blankenship, Cummings, and Taranchuk [11] showed that for p 5 and q be primes, then w ( p + 1 ; q ) p ( q p 1 ) + 1 . The current best known general lower bound of this type is due to Kozik and Shabanov [12], who in 2016 proved that, for all r 2
w ( k ; r ) c r k 1
for some constant c > 0 .
Given two positive integers n and k, the anti-van der Waerden number aw ( [ n ] , k ) is the smallest r such that every exact r-colouring of [ n ] contains a rainbow k-a.p., where an exact r-colouring is a colouring using all the r colours. For more results related to rainbow arithmetic progressions, see [13,14,15,16]. Recently, Li et al. [17] investigated the integer colourings with no rainbow 3-term arithmetic progression. They obtained the asymptotic number of r-colourings of [ n ] without rainbow 3-term arithmetic progressions, and showed that the typical colourings with this property are 2-colourings.
Theorem 2
([5]). Let k 2 , r 2 and assume ν k ( m ) f ( k , m ) , with f ( k , m ) m 1 r . Then w ( k ; r ) r f ( k , m ) + 1 .
Let k 2 and r k ( n ) denote the minimum number of colour required so that there exists a r k ( n ) -colouring of [ 1 , n ] that avoids any monochromatic k-term a.p. Since [ 1 , n ] is coloured by r k ( n ) colours, clearly
ν k ( n ) n r k ( n ) .
From [18], r k ( n ) < 2 n log n ν k ( n ) 1 + o ( 1 ) is obtained from the consequence of Symmetric Hypergraph Theorem. For sufficiently large n, r k ( n ) < 3 n log n ν k ( n ) , see [19]. In this paper, we are focusing on the the minimum number of colour in [ 1 , n ] to avoid a monochromatic k-term a.p. From the known results of w ( 3 ; 2 ) = 9 , w ( 3 ; 3 ) = 27 ,   w ( 3 ; 4 ) = 76 and w ( 3 ; 5 ) 171 , see [20,21,22], we have r 3 ( 9 ) = 3 ,   r 3 ( 27 ) = 4 ,   r 3 ( 76 ) 5 . Additionally, if 1 < n 1 < n 2 , then r k ( n 1 ) r k ( n 2 ) .
In this paper, we give necessary and sufficient conditions for r k ( n + 1 ) = r k ( n ) (Theorem 3). We also show that r k ( n ) = 2 for all k n 2 ( k 1 ) 2 (Theorem 4). Finally, we give an upper bound for r p ( p m ) for any prime p 3 and integer m 2 (Theorem 5).

2. Main Results

Note that r 2 ( n ) = n . Therefore, we shall assume that k 3 .
Lemma 1.
r k ( n 1 + n 2 ) r k ( n 1 ) + r k ( n 2 ) .
Proof. 
Colour [ 1 , n 1 ] with r k ( n 1 ) colours that avoids any monochromatic k-term a.p. and colour [ n 1 + 1 , n 1 + n 2 ] with different r k ( n 2 ) colours that avoids any monochromatic k-term a.p.. Note that this colouring avoids any monochromatic k-term a.p. in [ 1 , n 1 + n 2 ] . Hence, the lemma follows. □
The following corollary is a consequence of Lemma 1 by noting that r k ( i ) = 1 for 1 i k 1 .
Corollary 1.
For 1 i k 1 ,
r k ( n + i ) r k ( n ) + 1 .
Since r k ( n ) r k ( n + 1 ) , we have the following corollary.
Corollary 2.
r k ( n + 1 ) = r k ( n ) or r k ( n ) + 1 .
Corollary 3.
r k ( w ( k ; l ) 1 ) = l and r k ( n ) = l + 1 for w ( k ; l ) n w ( k ; l + 1 ) 1 .
Proof. 
There is a l-colouring of [ 1 , w ( k ; l ) 1 ] that avoids any k-term a.p.. Therefore, r k ( w ( k ; l ) 1 ) l . If r k ( w ( k ; l ) 1 ) l 1 , then by Corollary 2, r k ( w ( k ; l ) ) l . This is not possible as any l-colouring of [ 1 , w ( k ; l ) ] has a monochromatic k-term a.p. Hence, r k ( w ( k ; l ) 1 ) = l .
Since any l-colouring of [ 1 , w ( k ; l ) ] has a monochromatic k-term a.p., by Corollary 2, r k ( w ( k ; l ) ) = l + 1 . By first part of the corollary, r k ( w ( k ; l + 1 ) 1 ) = l + 1 . Again, by Corollary 2, r k ( n ) = l + 1 for w ( k ; l ) n w ( k ; l + 1 ) 1 . □
For l 1 , a family of sets { A 1 , A 2 , , A l } is called a partition of [ 1 , n ] if
(a)
A i A j = for i j ;
(b)
i = 1 l A i = [ 1 , n ] .
Here, we allow A j = for some j. If each A j avoids any k-term a.p., the partition { A 1 , A 2 , , A l } is called a free k-term a.p. partition.
Let r k ( n ) = l . Then, there exists a l-colouring of [ 1 , n ] that avoids any monochromatic k-term a.p. For 1 i l , let
A i = { a [ 1 , n ] : a is coloured with colour i } .
Note that { A 1 , A 2 , , A l } is a free k-term a.p. partition of [ 1 , n ] . So, r k ( n ) can be considered as the minimum size of a free k-term a.p. partition of [ 1 , n ] .
A subset A N is said to have a pure arithmetic progression of length k (or pure k-term a.p.), if there exists a d N such that
d , 2 d , 3 d , , k d A .
Given a subset A N and c N , we write
c A = { c a : a A } and c + A = { c + a : a A } .
Lemma 2.
Let { A 1 , A 2 , , A l } be a partition of [ 1 , n ] such that each A i does not contain any k-term a.p. Suppose there is a A i 0 that does not contain any pure ( k 1 ) -term a.p. Let B i 0 = ( ( n + 1 ) A i 0 ) { n + 1 } and B j = ( n + 1 ) A j for all j i 0 . Then, { B 1 , B 2 , , B l } is a free k-term a.p. partition of [ 1 , n + 1 ] .
Proof. 
Note that ( n + 1 ) [ 1 , n ] = [ 1 , n ] . So, it is not hard to see that { B 1 , B 2 , , B l } is a partition of [ 1 , n + 1 ] . Now, if B j contains a k-term a.p. for some j i 0 , say { a + s d } 0 s k 1 , then A j contains the k-term a.p. { ( ( n + 1 ) a ( k 1 ) d ) + l d } 0 l k 1 , a contradiction. So, we may assume that B j does not contain any k-term a.p. for all j i 0 .
Suppose B i 0 contains a k-term a.p. for some j i 0 , say { a + l d } 0 l k 1 . If a + ( k 1 ) d n + 1 , then A i 0 contains the k-term a.p. { ( ( n + 1 ) a ( k 1 ) d ) + s d } 0 s k 1 , a contradiction. So, we may assume that a + ( k 1 ) d = n + 1 . This implies that A i 0 contains the pure ( k 1 ) -term a.p. { s d } 1 s k 1 , a contradiction. □
Theorem 3.
Suppose r k ( n ) = l . Then, r k ( n + 1 ) = l if and only if there exists a free k-term a.p. partition { A 1 , A 2 , , A l } of [ 1 , n ] such that A i 0 does not contain any pure ( k 1 ) -term a.p. for some i 0 [ 1 , l ] .
Proof. 
If there exists a free k-term a.p. partition { A 1 , A 2 , , A l } of [ 1 , n ] and A i 0 does not contain any pure ( k 1 ) -term a.p., then by Lemma 2, { B 1 , B 2 , , B l } is a free k-term a.p. partition of [ 1 , n + 1 ] where B i 0 = ( ( n + 1 ) A i 0 ) { n + 1 } and B j = ( n + 1 ) A j for all j i 0 . It follows from Corollary 2 that r k ( n + 1 ) = l .
Suppose r k ( n + 1 ) = l . Then, there exists a free k-term a.p. partition { C 1 , C 2 , , C l } of [ 1 , n + 1 ] . By relabelling if necessary, we may assume that ( n + 1 ) C 1 . Let D 1 = ( n + 1 ) ( C 1 { n + 1 } ) and D j = ( n + 1 ) C j for 2 j l . Note that { D 1 , D 2 , , D l } is a free k-term a.p. partition of [ 1 , n ] . If D 1 contains a pure ( k 1 ) -term a.p., say { s d } 1 s k 1 , then { ( n + 1 ) ( k 1 ) d + s d } 0 s k 1 is a k-term a.p. in C 1 , a contradiction. Hence, D 1 does not contain any pure ( k 1 ) -term a.p. □
Corollary 4.
Suppose r k ( n ) = l and r k ( n + 1 ) = l + 1 . Then, r k ( n + j ) = l + 1 for all 1 j 2 k 2 .
Proof. 
Let { A 1 , A 2 , , A l } be a free k-term a.p. partition of [ 1 , n ] . Since r k ( n + 1 ) = l + 1 , by Theorem 3, each A i contains a pure ( k 1 ) -term a.p. Let
B i = ( k 1 ) + A i for all 1 i l ; B l + 1 = { 1 , 2 , , k 1 , n + k , n + k + 1 , , n + 2 k 2 } .
Note that { B 1 , B 2 , , B l + 1 } is a free k-term a.p. partition of [ 1 , n + 2 k 2 ] . Therefore, r k ( n + j ) l + 1 for all 1 j 2 k 2 . The equality follows from Corollary 2. □
Corollary 5.
w ( k ; l + 1 ) k + 2 l ( k 1 ) .
Proof. 
By Corollary 3, r k ( w ( k ; l ) 1 ) = l and r k ( n ) = l + 1 for w ( k ; l ) n w ( k ; l + 1 ) 1 . It follows from Corollary 4 that
w ( k ; l + 1 ) 1 ( w ( k ; l ) 1 ) + 2 k 2 ,
which is equivalent to w ( k ; l + 1 ) w ( k ; l ) + 2 k 2 . Since w ( k ; 1 ) = k , we have
w ( k ; l + 1 ) w ( k ; l ) + 2 ( k 1 ) w ( k ; l 1 ) + 4 ( k 1 ) w ( k ; l 2 ) + 6 ( k 1 ) w ( k ; 1 ) + 2 l ( k 1 ) = k + 2 l ( k 1 ) .
 □
Let a , b N with a < b . We shall write [ a , b ] = { a , a + 1 , , b } and [ a , a ] = { a } .
Theorem 4.
r k ( n ) = 2 for all k n 2 ( k 1 ) 2 .
Proof. 
For 1 i k 1 and 0 j k 2 , let
A ( i , j ) = [ 1 , i ] s = 1 j [ i + 2 s ( k 1 ) ( k 2 ) , i + 2 s ( k 1 ) ] B ( i , j ) = [ i + 2 j ( k 1 ) + 1 , 2 i + 2 j ( k 1 ) ] s = 1 j [ i + ( 2 s 1 ) ( k 1 ) ( k 2 ) , i + ( 2 s 1 ) ( k 1 ) ] .
In particular, when j = 0
A ( i , 0 ) = [ 1 , i ] B ( i , 0 ) = [ i + 1 , 2 i ] .
Note that { A ( i , j ) , B ( i , j ) } is a partition of [ 1 , 2 i + 2 j ( k 1 ) ] . Now,
( 2 i + 2 j ( k 1 ) + 1 ) [ i + 2 j ( k 1 ) + 1 , 2 i + 2 j ( k 1 ) ] = [ 1 , i ]
and
( 2 i + 2 j ( k 1 ) + 1 ) [ i + ( 2 s 1 ) ( k 1 ) ( k 2 ) , i + ( 2 s 1 ) ( k 1 ) ] = [ i + 2 ( j s + 1 ) ( k 1 ) ( k 2 ) , i + 2 ( j s + 1 ) ( k 1 ) ] .
So, ( 2 i + 2 j ( k 1 ) + 1 ) B ( i , j ) = A ( i , j ) .
Clearly, { A ( i , 0 ) , B ( i , 0 ) } is a free k-term a.p. partition for 1 i k 1 . Suppose { A ( i 0 , j 0 ) , B ( i 0 , j 0 ) } is a free k-term a.p. partition for some 1 i 0 k 2 and 0 j 0 k 2 . We claim that { A ( i 0 + 1 , j 0 ) , B ( i 0 + 1 , j 0 ) } is also a free k-term a.p. partition.
Since i 0 k 2 , A ( i 0 , j 0 ) does not contain { m } 1 m k 1 . Suppose A ( i 0 , j 0 ) contains a pure ( k 1 ) -term a.p. { m d } 1 m k 1 where d 2 . Note that
d ( k 1 ) [ i 0 + 2 s ( k 1 ) ( k 2 ) , i 0 + 2 s ( k 1 ) ] ,
for some 1 s j 0 . If 2 d k 1 , there exists a m [ 1 , k 2 ] such that
m d [ i 0 + ( 2 s 1 ) ( k 1 ) ( k 2 ) , i 0 + ( 2 s 1 ) ( k 1 ) ] B ( i 0 , j 0 ) ,
a contradiction. So, we may assume that d k . If both m 1 d and ( m 1 + 1 ) d are in
[ i + 2 s ( k 1 ) ( k 2 ) , i + 2 s ( k 1 ) ] ,
for some 1 s j 0 , then d k 2 , a contradiction. So, we may assume that for each s, [ i + 2 s ( k 1 ) ( k 2 ) , i + 2 s ( k 1 ) ] contains at most one element of the form m d where 1 m k 1 . This implies that d [ 1 , i 0 ] and d i 0 k 2 , a contradiction. Hence, A ( i 0 , j 0 ) does not contain any pure ( k 1 ) -term a.p. By Lemma 2,
{ ( ( 2 i 0 + 2 j 0 ( k 1 ) + 1 ) A ( i 0 , j 0 ) ) { 2 i 0 + 2 j 0 ( k 1 ) + 1 } , ( 2 i 0 + 2 j 0 ( k 1 ) + 1 ) B ( i 0 , j 0 ) } = { B ( i 0 , j 0 ) { 2 i 0 + 2 j 0 ( k 1 ) + 1 } , A ( i 0 , j 0 ) } ,
is a free k-term a.p. partition. Note that
( ( 2 i 0 + 2 j 0 ( k 1 ) + 2 ) A ( i 0 , j 0 ) ) { 2 i 0 + 2 j 0 ( k 1 ) + 2 } = B ( i 0 + 1 , j 0 ) ,
and
( 2 i 0 + 2 j 0 ( k 1 ) + 2 ) ( B ( i 0 , j 0 ) { 2 i 0 + 2 j 0 ( k 1 ) + 1 } ) = A ( i 0 + 1 , j 0 ) .
By Lemma 2, { A ( i 0 + 1 , j 0 ) , B ( i 0 + 1 , j 0 ) } is a free k-term a.p. partition.
Suppose { A ( k 1 , j 0 ) , B ( k 1 , j 0 ) } is a free k-term a.p. partition for some 0 j 0 k 3 . We claim that { A ( 1 , j 0 + 1 ) , B ( 1 , j 0 + 1 ) } is also a free k-term a.p. partition. Note that
A ( k 1 , j 0 ) = [ 1 , k 1 ] s = 1 j 0 [ 1 + 2 s ( k 1 ) , ( 2 s + 1 ) ( k 1 ) ] B ( k 1 , j 0 ) = [ k + 2 j 0 ( k 1 ) , 2 ( j 0 + 1 ) ( k 1 ) ] s = 1 j 0 [ 1 + ( 2 s 1 ) ( k 1 ) , 2 s ( k 1 ) ] .
Clearly, B ( k 1 , j 0 ) does not contain { m } 1 m k 1 . Suppose B ( k 1 , j 0 ) contains a pure ( k 1 ) -term a.p., say { m d } 1 m k 1 where d 2 . If 2 d k 1 , then d [ 1 , k 1 ] A ( k 1 , j 0 ) , a contradiction. So, we may assume that d k . If both m 1 d and ( m 1 + 1 ) d are in
[ 1 + ( 2 s 1 ) ( k 1 ) , 2 s ( k 1 ) ] ,
for some 1 s j 0 , then d k 2 , a contradiction. So, we may assume that for each s, [ 1 + ( 2 s 1 ) ( k 1 ) , 2 s ( k 1 ) ] contains at most one element of the form m d where 1 m k 1 . Since j 0 k 3 , we must have both ( k 2 ) d and ( k 1 ) d in [ k + 2 j 0 ( k 1 ) , 2 ( j 0 + 1 ) ( k 1 ) ] . This implies that d k 2 , a contradiction. Hence, B ( k 1 , j 0 ) does not contain any pure ( k 1 ) -term a.p. Note that
( ( 2 ( j 0 + 1 ) ( k 1 ) + 1 ) B ( k 1 , j 0 ) ) { 2 ( j 0 + 1 ) ( k 1 ) + 1 } = A ( k 1 , j 0 ) { 2 ( j 0 + 1 ) ( k 1 ) + 1 } ,
and
( 2 ( j 0 + 1 ) ( k 1 ) + 1 ) A ( k 1 , j 0 ) = B ( k 1 , j 0 ) .
By Lemma 2, { A ( k 1 , j 0 ) { 2 ( j 0 + 1 ) ( k 1 ) + 1 } , B ( k 1 , j 0 ) } is a free k-term a.p. partition. Note that
( 2 ( j 0 + 1 ) ( k 1 ) + 2 ) B ( k 1 , j 0 ) ) { 2 ( j 0 + 1 ) ( k 1 ) + 2 } = B ( 1 , j 0 + 1 ) ,
and
( 2 i 0 + 2 j 0 ( k 1 ) + 2 ) ( A ( k 1 , j 0 ) { 2 ( j 0 + 1 ) ( k 1 ) + 1 } ) = A ( 1 , j 0 + 1 ) .
By Lemma 2, { A ( i 0 + 1 , j 0 ) , B ( i 0 + 1 , j 0 ) } is a free k-term a.p. partition. By double induction, { A ( i , j ) , B ( i , j ) } is a free k-term a.p. partition of [ 1 , 2 i + 2 j ( k 1 ) ] . In particular, { A ( k 1 , k 2 ) , B ( k 1 , k 2 ) } is a free k-term a.p. partition of [ 1 , 2 ( k 1 ) 2 ] . Hence, r k ( n ) = 2 for all k n 2 ( k 1 ) 2 . □
Note that Theorem 4 is best possible because when k = 3 , r 3 ( n ) = 2 for all 3 n 8 and r 3 ( 9 ) = 3 . Note also that for k 4 , 2 ( k 1 ) 2 k 2 , therefore r k ( k 2 ) = 2 .
The following corollary follows from Corollary 3.
Corollary 6.
w ( k ; 2 ) 2 ( k 1 ) 2 + 1 .
Lemma 3.
Let p 3 be a prime and A N . For each i [ 1 , p ] , let
A i = { b A : b i mod p } .
Suppose A i 0 = for some i 0 . If A contains a p-term a.p., { a + s d } 0 s p 1 , then gcd ( p , d ) = p and the p-term a.p is contained entirely in A a 0 for some a 0 [ 1 , p ] with a 0 a mod p .
Proof. 
Suppose gcd ( p , d ) = 1 . Then,
{ a , a + d , , a + ( p 1 ) d } { 1 , 2 , , p } mod p .
This implies that A i for all i, a contradiction. Hence, gcd ( p , d ) = p and the p-term a.p is contained entirely in A a 0 . □
For each real number x, let x be the smallest integer such that x 1 < x x .
Lemma 4.
Let p 3 be a prime. If p k , then
r k ( n p ) r k ( n ) + r k ( n ) p 1
Proof. 
For each j [ 1 , p ] , let
A j = { a [ 1 , n p ] : a j mod p } .
and
f j : [ 1 , n ] A j
be defined by f j ( u ) = j + ( u 1 ) p for all u [ 1 , n ] . Note that f j is a bijection.
Let r k ( n ) = l and { B 1 , B 2 , , B l } be a free k-term a.p. partition of [ 1 , n ] . Then,
{ f j ( B 1 ) , f j ( B 2 ) , , f j ( B l ) }
is a free k-term a.p. partition of A j . Let
A i , j = f j ( B i ) ,
for all 1 i l and 1 j p . Then, A j = i = 1 l A i , j .
Let l = q ( p 1 ) + e where 0 e < p 1 . Let
C 1 = { 1 , 2 , , p 1 } C 2 = { 1 + ( p 1 ) , 2 + ( p 1 ) , , p 1 + ( p 1 ) } C q = { 1 + ( q 1 ) ( p 1 ) , 2 + ( q 1 ) ( p 1 ) , , p 1 + ( q 1 ) ( p 1 ) } C q + 1 = { 1 + q ( p 1 ) , 2 + q ( p 1 ) , , e + q ( p 1 ) } .
Then, { C 1 , C 2 , , C q + 1 } is a partition of [ 1 , l ] if e 1 and { C 1 , C 2 , , C q } is a partition of [ 1 , l ] if e = 0 . Let q 0 = l p 1 . Then, q 0 = q + 1 if e 1 and q 0 = q if e = 0 .
For each b N , let b ¯ [ 1 , p ] be such that b ¯ b mod p . Now, for each t [ 1 , q 0 ] , let
D t = b C t A b , b ¯
Since | C t | = p 1 , there is a i 0 such that D t ( i 0 ) = { d D t : d i 0 mod p } = . If D t contains a k-term a.p., say { a + s d } 0 s k 1 , then it contains the p-term a.p. { a + s d } 0 s p 1 . By Lemma 3, gcd ( p , d ) = p . This implies that A b 1 , b ¯ 1 contains the k-term a.p. { a + s d } 0 s k 1 for some b 1 C t . Since A b 1 , b ¯ 1 = f b ¯ 1 ( B b 1 ) , B b 1 contains the k-term a.p. { a + s d } 0 s k 1 where a = a b ¯ 1 p + 1 and d = d p . This is not possible as { B 1 , B 2 , , B l } is a free k-term a.p. partition of [ 1 , n ] . Thus, D t does not contain any k-term a.p.
For each i [ 1 , l ] , let
E i = j = 1 p A i , j A i , i ¯
Clearly, E i ( i ¯ ) = { d E i : d i ¯ mod p } = . If E i contains a k-term a.p., say { a + s d } 0 s k 1 , then it contains the p-term a.p. { a + s d } 0 s p 1 . By Lemma 3, gcd ( p , d ) = p . This implies that A i , j 1 contains the k-term a.p. { a + s d } 0 s k 1 for some j 1 [ 1 , p ] { i ¯ } . Since A i , j 1 = f j 1 ( B i ) , B i contains the k-term a.p. { a + s d } 0 s k 1 where a = a j 1 p + 1 and d = d p . This is not possible as { B 1 , B 2 , , B l } is a free k-term a.p. partition of [ 1 , n ] . Thus, E i does not contain any k-term a.p.
Now,
{ E 1 , E 2 , , E l , D 1 , D 2 , , D q 0 }
is a free k-term a.p. partition of [ 1 , p n ] . Hence, r k ( n p ) l + q 0 and the lemma follows. □
Theorem 5.
Let p 3 be a prime. Then, r p ( p ) = 2 ,
r p ( p 2 ) = 2 , for p 5 ; 3 , for p = 3 ,
and for m 3 ,
r p ( p m ) < ( p + 1 ) p p 1 m 2 p + 1 , for p 5 ; 5 3 2 m 2 2 , for p = 3 .
Proof. 
Clearly, r p ( p ) = 2 . By Lemma 4,
r p ( p m ) < r p ( p m 1 ) + r p ( p m 1 ) p 1 + 1 = p p 1 r p ( p m 1 ) + 1 < p p 1 p p 1 r p ( p m 2 ) + 1 + 1 = p p 1 2 r p ( p m 2 ) + p p 1 + 1 < p p 1 m 2 r p ( p 2 ) + p p 1 m 3 + + p p 1 + 1 .
Suppose p 5 . Then, 2 ( p 1 ) 2 p 2 . By Theorem 4, r p ( p 2 ) = 2 . Thus,
r p ( p m ) < 2 p p 1 m 2 + p p 1 m 3 + + p p 1 + 1 = 2 p p 1 m 2 + p p 1 m 2 1 p p 1 1 = 2 p p 1 m 2 + p p 1 m 2 1 ( p 1 ) = ( p + 1 ) p p 1 m 2 ( p 1 ) .
Suppose p = 3 . Then, r 3 ( 3 2 ) = 3 . So,
r 3 ( 3 m ) < 3 2 m 2 r 3 ( 3 2 ) + 3 2 m 3 + + 3 2 + 1 = 3 3 2 m 2 + 3 2 m 3 + + 3 2 + 1 = 3 3 2 m 2 + 3 2 m 2 1 2 = 5 3 2 m 2 2 .
 □
Corollary 7.
For a fixed m 2 , there exists an integer n 0 = n 0 ( m ) such that for all prime p n 0 ,
r p ( p m ) m .
Proof. 
Since r p ( p m ) = 2 for m = 2 , we may assume that m 3 . Now, the corollary follows Theorem 5 and by noting that lim p ( p + 1 ) p p 1 m 2 p + 1 = m . □
The following corollary follows from Corollaries 3 and 7.
Corollary 8.
For a fixed m 2 , there exists an integer n 0 = n 0 ( m ) such that for all prime p n 0 ,
w ( p ; m ) p m + 1 .

3. Conclusions

In this paper, we gave the essential conditions for r k ( n ) = r k ( n + 1 ) and gave an upper bound for r p ( p m ) for any prime p 3 and integer m 2 . Suppose p 3 be a prime. We hope that exact values of r p ( p m ) can be obtained for some small values of m 3 in future. Here, we end this paper with the following conjecture. Note that the conjecture is true for m = 2 .
Conjecture 6.
For a fixed m 2 , there exists an integer n 0 = n 0 ( m ) such that for all prime p n 0 ,
r p ( p m ) = m .

Author Contributions

Conceptualization, K.A.S. and K.B.W.; writing—original draft preparation, K.A.S. and K.B.W.; writing—review and editing, K.A.S. and K.B.W.; funding acquisition, K.A.S. and K.B.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Fundamental Research Grant Scheme (FRGS) Grant Number FRGS/1/2020/STG06/SYUC/03/1 by Malaysia Ministry of Higher Education and Publication Support Scheme by Sunway University, Malaysia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Davis, J.A.; Entringer, R.C.; Graham, R.L.; Simmons, G.J. On permutations contains no long arithmetic progressions. Acta Arith. 1977, 34, 81–90. [Google Scholar] [CrossRef]
  2. Sim, K.A.; Wong, K.B. Magic square and arrangement of consecutive integers that avoids k-term arithmetic progressions. Mathematics 2021, 9, 2259. [Google Scholar] [CrossRef]
  3. Sidorenko, A.F. An infinite permutation without arithmetic progressions. Discret. Math. 1988, 69, 211. [Google Scholar] [CrossRef] [Green Version]
  4. Geneson, J. Forbidden arithmetic progressions in permutations of subsets of the integers. Discret. Math. 2019, 342, 1489–1491. [Google Scholar] [CrossRef] [Green Version]
  5. Landman, B.; Robertson, A. Ramsey Theory on the Integers, 2nd ed.; American Mathematical Society: Providence, RI, USA, 2015. [Google Scholar]
  6. Waerden, B.L.V.D. Beweis einer baudetschen Vermutung. Nieuw Arch. Wisk. 1927, 15, 212–216. [Google Scholar]
  7. Erdős, P.; Turán, P. On some sequences of integers. J. Lond. Math. Soc. 1936, 11, 261–264. [Google Scholar] [CrossRef]
  8. Roth, K. Sur quelques ensembles d’entiers. C. R. Acad. Sci. Paris 1952, 234, 388–390. [Google Scholar]
  9. Roth, K. On certain sets of integers. J. Lond. Math. Soc. 1953, 28, 104–109. [Google Scholar] [CrossRef]
  10. Sanders, T. On Roth’s theorem on progressions. Ann. Math. 2011, 174, 619–636. [Google Scholar] [CrossRef] [Green Version]
  11. Blankenship, T.; Cummings, J.; Taranchuk, V. A new lower bound for van der Waerden numbers. Eur. J. Comb. 2018, 69, 163–168. [Google Scholar] [CrossRef] [Green Version]
  12. Kozik, J.; Shabanov, D. Improved algorithms for colorings of simple hypergraphs and applications. J. Combin. Theory Ser. B 2016, 116, 312–332. [Google Scholar] [CrossRef]
  13. Berikkyzy, Z.; Schulte, A.; Young, M. Anti-van der Waerden numbers of 3-term arithmetic progressions. Electron. J. Combin. 2017, 24, #P2.39. [Google Scholar] [CrossRef]
  14. Jungić, V.; Licht, J.; Mahdian, M.; Nešetřril, J.; Radoičić, R. Rainbow arithmetic progressions and anti-Ramsey results. Combin. Probab. Comput. 2003, 12, 599–620. [Google Scholar] [CrossRef] [Green Version]
  15. Llano, B.; Montejano, A. Rainbow-free colorings for x + y = cz in Z p. Discret. Math. 2012, 312, 2566–2573. [Google Scholar] [CrossRef] [Green Version]
  16. Pach, J.; Tomon, I. Colorings with only rainbow arithmetic progressions. Acta Math. Hungar. 2020, 161, 507–515. [Google Scholar] [CrossRef]
  17. Li, X.; Broersma, H.; Wang, L. Integer colorings with no rainbow 3-term arithmetic progression. arXiv 2021, arXiv:2102.08995. [Google Scholar]
  18. Graham, R.; Rothschild, B.; Spencer, J. Ramsey Theory, 2nd ed.; John Wiley & Sons: Hoboken, NJ, USA, 1990. [Google Scholar]
  19. Brown, T.C.; Landman, B.M.; Robertson, A. Bounds on some van der Waerden numbers. J. Combin. Theory Ser. A. 2008, 115, 1304–1309. [Google Scholar] [CrossRef] [Green Version]
  20. Beeler, M.; O’Neil, P. Some new van der Waerden numbers. Discret. Math. 1979, 28, 135–146. [Google Scholar] [CrossRef] [Green Version]
  21. Chvátal, V. Some unknown van der Waerden numbers. In Combinatorial Structures and their Applications; Gordan and Breach: New York, NY, USA, 1970; pp. 31–33. [Google Scholar]
  22. Stevens, R.; Shantaram, R. Computer-generated van der Waerden partitions. Math. Comput. 1978, 32, 635–636. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sim, K.A.; Wong, K.B. Minimum Number of Colours to Avoid k-Term Monochromatic Arithmetic Progressions. Mathematics 2022, 10, 247. https://doi.org/10.3390/math10020247

AMA Style

Sim KA, Wong KB. Minimum Number of Colours to Avoid k-Term Monochromatic Arithmetic Progressions. Mathematics. 2022; 10(2):247. https://doi.org/10.3390/math10020247

Chicago/Turabian Style

Sim, Kai An, and Kok Bin Wong. 2022. "Minimum Number of Colours to Avoid k-Term Monochromatic Arithmetic Progressions" Mathematics 10, no. 2: 247. https://doi.org/10.3390/math10020247

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop