Unfinished lines

My teacher was writing a problem on the board -

"Prove that with twelve distinct primes, there will always be six primes a 1 , a 2 , a 3 , a 4 , a 5 , a 6 a_1, a_2, a_3, a_4, a_5, a_6 such that ( a 1 a 2 ) ( a 3 + a 4 ) ( a 5 a 6 ) (a_1 - a_2)(a_3 + a_4)(a_5 - a_6) is divisible by \square ." -

There was an emergency meeting that he had to go then. The teacher forgot about finishing writing the problem the next lesson.

What was the maximum possible number that needed to be put in the box?


The answer is 1800.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Pedro Cardoso
Dec 28, 2018

Let's think of a simpler version of this problem where the expression given is only ( a 1 a 2 ) (a_1-a_2) , and we want to find the largest n n such that we can guarantee there is some a 1 a_1 and some a 2 a_2 within the 12 12 given primes such that n ( a 1 a 2 ) n|(a_1-a_2) . Let's also assume none of the given primes are factors of n n , and we'll take care of this assumption later.

There are only ϕ ( n ) \phi(n) possible values for a 1 ( m o d n ) a_1 \pmod n , because a 1 a_1 is prime and we assumed it isn't a factor of n n . Therefore, if 12 > ϕ ( n ) 12>\phi(n) , we can apply the pigeonhole principle and say that, within the given numbers, there are at least two congruent modulo n n , and, thus, we can always find two of these numbers such that n ( a 1 a 2 ) n|(a_1-a_2) . To maximize n n , we need to find the largest n n such that ϕ ( n ) < 12 \phi(n)<12 . You can easily check that it's 30 30 , with ϕ ( 30 ) = 8 \phi(30)=8 . This means, from our assumption, that, as they're factors none of 2 2 , 3 3 , and 5 5 can be among the given primes.

To solve the full problem, let's keep the assumption about the primes and deal with the special cases later. We know that we can guarantee ( a 1 a 2 ) (a_1-a_2) is divisible by 30 30 . This leaves us with 10 10 primes, but still 10 > ϕ ( 30 ) 10>\phi(30) , so we can guarantee ( a 5 a 6 ) (a_5-a_6) is divisible by 30 30 as well. Now we have 8 8 primes left, but it turns out the only thing that can be said is that the sum can be made divisible by 2 2 . So the answer is 30 30 2 = 1800 30 \cdot 30 \cdot 2= \boxed{1800} .

It is important to see that all that has been said still works even if only 11 11 primes were given, we would still be able to apply the pigeonhole principle in the required places. This means we won't have to deal with the special cases where only one of the factors of 30 30 are present, we can just ignore it and pretend there are only 11 11 primes.

Now lets cover the special cases, splitting them up in two:

  • 2 2 and 3 3 are present.

Even though only 10 primes satisfy our conditions ( 2 2 and 3 3 don't satisfy because they're factors of 30 30 ), we can still guarantee that 30 ( a 1 a 2 ) 30|(a_1-a_2) , now, we can set a 3 = 2 a_3=2 and a 4 = 3 a_4=3 , to get 5 ( a 3 + a 4 ) 5|(a_3+a_4) . To make it divisible by 1800 1800 form here we only need ( a 5 a 6 ) (a_5-a_6) to be divisible by 12 12 , and we still have 8 8 primes to use. This can always be guaranteed, as 8 > ϕ ( 12 ) 8>\phi(12) .

  • 5 5 is present.

Note that if all 2 2 , 3 3 , and 5 5 are present, we can just ignore the 5 5 and look at the previous case, as everything still works with 11 11 primes. Looking at the cases when 2 2 and 5 5 are present, or 3 3 and 5 5 are present, let's just ignore the 2 2 or the 3 3 , and pretend there are only 11 11 primes, and 5 5 is one of them. Also, we still have enough primes to guarantee that a 1 a 2 a_1-a_2 is divisible by 30 30

If any of the primes remaning is congruent to 1 ( m o d 3 ) 1 \pmod 3 , say, p p , we can have a 3 = p a_3=p and a 4 = 5 a_4=5 and 6 ( a 3 + a 4 ) 6|(a_3+a_4) . Now, to get to 1800 1800 , ( a 4 a 5 ) (a_4-a_5) has to be divisible by 10 10 , but we have at least 7 7 primes left, and 7 > ϕ ( 10 ) 7>\phi(10) .

If none of the primes remaining are congruent to 1 ( m o d 3 ) 1 \pmod 3 , there are only ϕ ( 30 ) 2 = 4 \frac{\phi(30)}{2}=4 possible values for a 5 ( m o d 30 ) a_5 \pmod {30} . Since we have at least 8 8 primes left (I'm not counting 5 5 , and I'm considering we started with 11 11 primes) , we can guarantee that 30 ( a 5 a 6 ) 30|(a_5-a_6) , and you can choose any primes for a 3 a_3 and a 4 a_4 , and ( a 3 + a 4 ) (a_3+a_4) will be even.

The only thing left to explain is that the only thing you can say about the sum ( a 3 + a 4 ) (a_3+a_4) is that it's even. I'm pretty sure this is true, but I haven't had time to explore it further, I'd highly apreciate if anyone wants to contribute with this solution.

That is so detailed and precised. But first, you misspelled "pretty" at the end. And second, there will be at least 11 primes, (because 2 is the only even prime) then in the worst scenario, you have chosen 4 primes that is larger than 2. You will still be left with at least 7 primes. Chose 2 random ones, and their sum is even.

Thành Đạt Lê - 2 years, 5 months ago
Thành Đạt Lê
Dec 18, 2018

This is @Alapan Das 's solution, I am not the one to think of this solution, just post the solution here:

"Primes can have 1,3,7,9, as there last digits except 2and 5.Now using PHP we can say there are minimum three primes with same last term.So,if we take 6 primes then out of them we can subtract those primes with same last term.So,the given term is divisible by 100.Now as there are 12 primes, 11are definitely odd.Then the given term can divisible by 8.Thus te term is divisible by lcm(100,8)=200.Now we know any prime except 2,3 can be expressed as 6K ±1.So,we can easily understand logically that the given term is divisible by 72 .So its divisible by LCM(72,200)=1800."

I am not so familiar with mobile phones.Thank you for these share by you for me.

Alapan Das - 2 years, 5 months ago

Log in to reply

Have you chosen "View mobile site" in your settings?

It is not a necessity though. But if you are working on a mobile phone, you should choose "View mobile site" for a more defined look. And it doesn't create eye strains.

Thành Đạt Lê - 2 years, 5 months ago

How does it follow that the term is divisible by 72?

Jordan Cahn - 2 years, 5 months ago

Log in to reply

Any prime except 2 and 3 can be written as 6n±1.So,if we think about 12 primes including 2 and 3,the other 10 can be written as 6n±1.Now,among them at least 5 are 6n+1 or 6n-1.If we take A1 and A2 ,and likely A5and A6 of same fashion(same fashion means both 6n+1or both 6n-1).Then its obviously id divisible by6x6=36.Now,for the worst case when all are of the same fashion then A3+A4 are divisible by 2 not 6.So,obviously the given expression is always divisible by 6x6x2=72.

Alapan Das - 2 years, 5 months ago

Log in to reply

But we already assumed that A1 and A2, as well as A5 and A6 have the same last digit. It's not at all obvious to me that it's always possible to select them so as to both have the same last digit and have the same remainder mod 6.

Jordan Cahn - 2 years, 5 months ago

There are 12 prime numbers, so there will be at least 2, whose sum will be divisible by 11. In the worst case, there are 2 and 13 in this list, the product will be divisible by only 4 instead of 8. From 12 numbers, including 2 and 13, there will be at least 2 pair of numbers, not including 2 and 13, that can have the same modulo of 7. That makes the product can be divided by 7 * 7 * 4 * 11 = 2156 >1800. However, I think the highest should be 16500 :/

Liftmeup Nguyen - 2 years, 5 months ago

Log in to reply

The prove has to be applied to every selection of 12 distinct primes, you don't get to choose which 12 primes are yours.

Thành Đạt Lê - 2 years, 5 months ago

Log in to reply

Tks, I think mine is wrong, didnt pay attention to the sum :)

Liftmeup Nguyen - 2 years, 5 months ago

Give an example for those 12 primes

Venkatesh A - 2 years, 5 months ago

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...