A Very Sad Contrived Number Theory Problem!
こんにちは!
This is my first post so I hope that you like it o(>ω<)o
Problem:
Is it possible to findpositive integers not exceeding
, such that all pairwise sums of them are different?
Solution:
The answer is actually Yes!
Let be any odd prime number. In this solution, we will denote
as the remainder of
when divided by
.
We now try to prove this lemma which kills the problem miraculously!
Lemma: Given any odd prime number
we can get
positive integers that don't exceed
such that the pairwise sums of the intgers are all different.
Proof of the lemma:
Let for all
Let's assume that then we can easily notice that it implies
since
which also means that
. Now we have the following conditions
and
and the fact that
imply that the pairs
and
are actually the same, so that means if we have
then we immediately have
, which finishes the proof of the lemma.
Now all what remains is to plug , and since we have
our problem is done
Comment:I honestly found this problem somewhat nice and bad at the same time because coming up with the function
wasn't trivial at all which actually kills the problem immediately but the result is pretty nice!
Who Am I and How did I get here?
Hi, I'm a rising senior student interested in math olympiad problems especially combinatorics and puzzles in general.
I actually have seen many strong Japanese competitors using hatena blog to share a cool problem or a trick they have encountered recently during a recent contest or past problems that they want to put spotlight on them to enlighten the readers and teach them new smart stuff!
I hope that you will enjoy the problems that I will share in this blog!