A lot of spoilers below.
Stuck in camp, doing the entire paper on my Learnet. Here are the ramblings of a guy with insufficient sleep (may contain mistakes):
(0h0m) First thoughts:
- Q1 looks very standard, like a mix between a junior olympiad question and a classical problem.
- Q2 also looks pretty standard, although the "for sufficiently large" condition is interesting.
- Is Q3 supposed to be combi? It looks more like algebra to me, and in that case is Day 1 only A and N?
(0h5m) We want for any positive integer
.
works. In fact any multiple of
works. Perhaps we need to show that
is an integer, so suppose it is not. Also,
being negative can pose some problems.
- Suppose
is a very small positive number. Then, consider the first
such that
. We must have
, a contradiction. In particular, this eliminates
.
- If
is large, we can remove integers out of the floor function.
- If
where
, then
- If
is odd, then we are done as above.
What if the first such that
is even?
- In this case, then
.
- This can be rewritten as
.
, hence
, or
.
- We have
, and thus
. In particular
.
- Once again,
, and there are no solutions.
Oh no I bashed a Q1 😦
Anyways, this means that is an integer, and the solution set is thus
for some integer
.
I think this is even easier than last year's P1, which many people were already calling trivial. I can't wait to read AoPS comments.
(0h25m) Time for Q2. We need to be constant for sufficiently large
.
Another number theory, another divisibility condition, and another number theory that has a “this condition holds for all “? Interesting combination.
- Anyways, we have
and
. This means that
.
- Let’s get the obvious out of the way. What if
? Nothing…
- There exists
such that
for sufficiently large
. I have no rigorous proof of this, just intuition, but it kinda makes sense. When
is sufficiently large, then all the common factors of
and
are taken care of. We can then use Euler’s theorem.
- There exists
such that
and
for sufficiently large
. We can multiply the periods.
- If
and
, we have
Can we force
? No. Oh no…
and
. This means that
. We also have
, so
. WLOG
. We deal with
later.
. Also,
.
Can we force ?
- Suppose
but not
. Then,
so
and also
. This means that
. Hence
.
- Can
but not
? No. We can bash all 4 combinations of
.
- Suppose
but not
. Then,
. This means that
, a contradiction.
- Finally, suppose
. What happens if
? Then,
fails for large
.
Finally, progress. We must have or
(the latter if
are both odd), This means that
is the “obvious gcd “.
The contradiction, if it exist, must thus come from getting some such that
and
but somehow not
or
.
I just realised this line is useful:
“Ifand
, we have
”
This is because when , both
and
are the same!
Consider but
. Then,
and
. This is a contradiction.
Put another way, for , we must have
. Hence either
or
.
What kind of does this leave us with?
- If
,
,
, then
implies
, or
. There’s nothing here…
(1h0m) I am deciding between pursuing and
or looking further into the
idea.
- Does there exist
such that
? In other words
. With the above notation, this means that
. Oops.
- In
. the pair
dosent work. The rest do. Hence, any other contradiction comes from odd
.
- The pair
in
dosen't work. Neither does
.
(1h40m) I still feel that is the key. Note that
. This means that
. Thus,
and
. Hence,
. We do not need the
condition.
- If
, can we do the same?
for some
? Well, not if
.
- Change of plans. If
and
, let
, then
.
Finally!! This means that . If
is odd, then
.
- Express
as its prime factorisation and apply the result to each prime power,
.
- Hence, we can parameterise:
,
.
- Now,
.
It suffices to find the of the square bracket with its counterpart. Multiplying by
(resp.
), the
must divide
. Meh. Square 1.
(2h15m) Crazy thought, but if we can't jump upwards from , what about negative
?
, which miraculously is symmetric in
. Even better
is coprime to
and
!!
- Take
, then by FLT
.
- Hence,
. Since
is coprime to
, this means that
. Thus,
is a power of 2.
- Can
? This would mean that
, and by taking large odd
we must have
, a contradiction.
And out of nowhere we are done! is such a hard step to see.
(2h30m) Seriously? Another ? We have that
is the number of times
appears already on the list, which is weird but probably on OEIS. Such a short problem statement for a P3, but let’s see…
- If we start with
, then the sequence is
.
- Must there be an infinite number of
s? If not, there are only finitely many numbers appearing, and one of them will appear infinitely many times, giving us more
s. Hence, there are an infinite number of
s.
- This also means that there are arbitrarily big numbers. I guess all of them must belong to either the odds or evens?
- Must it always end in
?
- Let’s say we have a new biggest number
, so it is
. The next number will be the number of
s, which may decrease.
- Perhaps we need to prove that eventually there will be more
s then every other number?
- Let’s try another sequence: 3,5|1,1,2,1,3,2,2,3,3,4,1,4,2,4,3,5,2,5,3,6,1,5,4,4,5,5,6,2,6,3,7,1,6,4,6,5,7,2,7,3,8,1,7,4,7,5,8,2,8,3,9,…
- Wow this one is complicated. The pattern is 2,3,1,4,5,1,2,3,1,4,5,… That is unexpected.
- Must the periodic part consist of all different integers?
Can we prove that either the evens or odds must be bounded?
- Must all 1s be of the same parity?
- 2|1,1,2,2,3,1,3,2,4,1,4,2,5,1,5,2…
- Must the period only consist of those less than or equal to the starting numbers?
- The pair
can only appear once. Also, we cannot “skip” integers, so
always appear before
for sufficiently large
.
- At the point where
first appears we can “start the count”. Are there always less
s then
s? Yes, because to reach
we must first reach
.
What does it mean if an integer appears infinitely many times? This means that every number has at least
copies. If there are infinitely many integers that appear infinitely many times, then all integers must appear infinitely many times. Is this a contradiction?
- Is the # of 1s always finitely behind the largest number? Yes, since every new largest number will lead to a
. So the sequence will go
.
- Must the next largest number appear finitely behind the previous?
- Let’s say there is a large gap between the first occurrence of
and the first occurrence of
. The first occurrence of
must be due to some “small number”. Small numbers are those
since after that the count is decreasing.
(3h0m) Can we ever have where
and
? Consider the first pair where this happens.
- This pair must in fact be
by the decreasing condition.
- Can we force everything to be decreasing? I.e. after a certain point, #1s
#2s
#3
… No.
- If we get
, this means that
to
have all appeared
times already. The last appearance of
would have been
. After this, how do you even get another
? You can't!
Hence, if , then
! Progress!
- Highlight everything that is
. Eventually, this will have period
, i.e. either the odds or the evens are bounded by
!
- Ok now what. Both the odds and evens seem to influence each other in an indescribable way.
- Can we show that any two
are at least
spaces apart?
- Or maybe, can we show that #1s-#2s is bounded? If it is not, then there exists a lot of numbers that only appeared once. Let
be the largest number that has appeared. Let the number before be
. Nvm.
- If we do end up showing that any #
s-#
s is bounded, then we can infinite pigeonhole to get the same "configuration" of the small numbers.
- Holdup, pigeonhole seems promising, we can probably infinite pigeonhole on a massive pile of stuff, like the set of #a-#b, the current small number, the number of times "#a" has appeared, and everything can be determined from these.
It suffices to show that #1s-#s cannot be arbitrarily big
- If we have the sequence
and
hasn't appeared before, we are done.
- If we have too many
s, we will eventually end up with
? Yep, I think we are done?
(3h50m) Let's try to formalise this. Suppose from , we have #1s-#
s being very, very big. Then, there are many, many numbers that have appeared exactly once in the sequence. Thus, for large enough
, the pair
will come way before the pair
. This means that the number after
is
. If this number, say
, also satisfies that #
s-#
s can be very big, then we kind of have that the next number is
as well. This means that eventually there are no more
s in the sequence.
- Hence, suppose #1s-#
s is unbounded. Then, there exists
such that #
s-#
s is unbounded.
- Thus, for large enough
, the pair
will come way before the pair
and
up till
.
- After
, we will thus have a number
.
- However, this number also satisfies the same property that
will come way before
, etc. Hence the next number after
will also be
. Repeating this, we get a contradiction.
(4h15m) Phew, done. Would I be able to submit full solutions if I didn't type all of these out? Maybe. I don't know. It'll definitely be clutch.
Closing remarks
OK. As it turns out, Q3 was pure combi. And it was nice combi too! It bears much resemblance to last year's Q3 as well, and I think only slightly harder. However, Q2 is hard. Although the solution is short, the rabbit hole of is a pretty crazy one. I think this will have about 170 solves only.
Q1 is just standard, nothing much to say about it, probably about the same number of solves as last year’s Q1. How many FCs? Probably about 30.
Contrary to my initial expectations, I actually like this paper. I think it is a good differentiator for both silver and gold – silver because Q2 is hard, and gold because if you don’t solve Q2 fast enough you will not solve Q3. Q1 being a “classical” training-style problem is also good, because it rewards good training in weaker countries.
CGA or GCA?
P.S. For anyone who needs more elaboration on my Q3 solution, I wrote a sketch on AoPS.

Leave a comment