An ode to generalise-ation
by p_square, Dec 19, 2018, 2:56 PM
Today's I'll attempt to discuss ELMO 2018/2 the merits and demerits of attempting to generalise questions in order to prove their statements. Generlisation is a often very useful and perhaps counter-intuitively, many problems are actually harder to solve than a more general form of their statements.
Typical examples for this include induction style arguments and splitting one variable into 2. You'll get what this means in the example. A good example for this is the following problem.
*Note: I don't precisely remember the source, so anyone who does is requested to please comment below.
The more general version is this:
For any fixed constant
, this version can be solved via induction on
.
The base case, (
) is easy to see.
Now, assume it is possible for some
.
Given any set of ornaments of
colours, there is a colour which appears at most
times (call such a colour sparse) and another colour which appears at least
times (call such a colour abundant).
We can use all lights of a sparse colour on a tree and use lights of an abundant colour to fill in the incomplete spots, such that the tree finally has
ornaments.
Observe that this reduces to the
case and we're done by induction. 
Here is another example of a problem (albeita little much harder) in which a more general version is easier to solve.
Since I'm too lazy to type the solution again Here is the official solution from v_enhance's post which can be found here
The answer turns out to be
There does exist a messy solution which does not strengthen the problem statement in any way. However, much more is revealed about the problem by a different inductive, elegant solution which also explains the identity
.
The following modifications on the original problem do not change the solution
is easy. For the inductive step, unless the entire cube is invisible (and hence has no colors at all), we can take an
-plate (
). Now suppose delete three
-plates (one in each direction), then turn all those colours which appeared anywhere in
invisible. This resulting
cube that still satisfies the conditions! Since
had at most
distinct colors in it, it follows that
and so
as desired.
We can construct an example where
colours are used as follows
Both of these question display the advantages of generalising questions but this art is a fickle friend. Many a time has an innocent person been lured by these gifts and overlooked the obvious. Here is an example of such an occurrence with an extremely overkill proof of ELMO 2018/2.
The original question statement is this
There is a simple proof which can be easily found, but what follows is what I was able to come up with. If someone still wants to go through the simple proof,get out of my blog, check here
Also, please if possible, go through my proof and tell me if there are any mistakes.
Some notation:
Call a natural number
important if
and call
esteemed if 
We first demonstrate a few preliminaries about these sequences
Fact
: 
Proof: For, the proof observe that we have
On the other hand, we also know
Subtracting, we obtain 
By induction
and more specifically every multiple of an important number is important. 
Also, it's worth noting that
Since
, we know that
are coprime.
By the condition on
,
![\[ a_x \mid a_1 + a_2+ \cdots +a_x \]](//latex.artofproblemsolving.com/a/0/6/a06bb64f44a0a4b6b68f712bd7755cd56c4b673c.png)
![\[ a_{x+1} \mid a_1 + a_2+ \cdots +a_x + a_{x+1} - a_{x+1} \]](//latex.artofproblemsolving.com/c/1/a/c1a6f8d8f74caa74f3be9e03997d2ada06b836b7.png)
The sum of two important numbers is important
Assume
are important and WLOG 
Simply observe that
which finishes the proof.
By induction, the sum of any finite multiset of important numbers is important
We will now deliberate over something we call the characteristic of the sequence
If
is the largest number that divides every important number, call
as the characteristic of the sequence
.
Symbolically,
where
varies over the set of numbers that divide all important numbers.
As an exception, define
, 
We first show that every sufficiently large multiple of
is important.
From our assumption that there is no natural number greater than
that divides all important numbers, we observe that there is a finite set
of important numbers whose greatest common divisor is
. ( Suppose you have checked all the important numbers upto
and the gcd is something like
, where
is some positive integer greater than
(if not, then we are done!). But we know that the gcd of all important number is
, thus there must exist some important number(maybe humongous) which is not divisible by
. Thus we include those numbers in our set
and after adding finitely many numbers we are done!)
We are now done, since the sum of a finite multiset of important numbers was important.
Call a sequence
primitive if 
We will now attempt to use some bounding arguments to figure out what all the primitive sequences are.
We'll first show that
for sufficiently large important
.
Note that
, so 
To prove the claim, consider the following congruences
![\[ a_{r+\mathbb{C}(a)} \equiv a_{\mathbb{C}(a)} \equiv 1 \pmod {a_r} \]](//latex.artofproblemsolving.com/0/1/a/01a463a8f2c78e46fd4912c32fca5ff85d63ba37.png)
![\[ a_r \equiv a_{\mathbb{C}(a)} \equiv 1 \pmod {a_{r-\mathbb{C}(a)}} \]](//latex.artofproblemsolving.com/8/8/5/885826d75c7c8c2785405a055de87653a2fca46c.png)

These together imply the result.
We now show that every sufficiently large multiple of
is esteemed in a primitive sequence.
Proof: Observe that

We now show that
. That is not every natural number can be important.
Assume to the contrary.
Taking
to be sufficiently large, we see that.
![\[ a_xa_{x+1} \mid a_1 + a_2+ \cdots +a_x \]](//latex.artofproblemsolving.com/1/1/a/11a1aa38fe7820273a6c16a912878ae465f60bc1.png)
This is a contradiction to our assumption that
.
Now, we have developed enough machinery to determine all possible primitive sequences.
In any primitive sequences, since every sufficiently large multiple of
is esteemed, if
is sufficiently large 
![\[a_{(r+1)\mathbb{C}(a)} = 2a_{r\mathbb{C}(a)} + \mathbb{C}(a) - 1\]](//latex.artofproblemsolving.com/1/9/b/19bde075c7e8fa21629274f19f887a616028e6be.png)
![\[\mathbb{C}(a) - 1 \equiv 1 \pmod {a_{r\mathbb{C}(a)}}\]](//latex.artofproblemsolving.com/a/5/4/a549642b4310cc507c6bf4fbf3bf8426a0a738a4.png)
![\[\mathbb{C}(a) \equiv 2 \pmod {a_{r\mathbb{C}(a)}}\]](//latex.artofproblemsolving.com/9/d/0/9d0c78eb8ff8d1613461602d432484901c811973.png)
Thus,
There is only 1 primitive sequence which is defined by
We know that
(
is sufficiently large,
) such that
![\[ a_x := \begin{cases} 1& when~x=2m+1\\
y2^m-1&where~ x=2r+2m\\
\end{cases} \]](//latex.artofproblemsolving.com/9/2/a/92a1efa65234a3f373a81e42fd378f53ecbef8f5.png)
Observe the bound
, which can be proved by induction.
![\[ {2} a_{2m} \equiv a_{2r+4m} \pmod {a_{2r+2m}}\]](//latex.artofproblemsolving.com/6/8/2/6824beef4f8cf3cd367e2d46ad4bd39553389b65.png)
![\[ a_{2m} \equiv y2^2m - 1 \equiv 2^{m}-1 \pmod {y2^m - 1}\]](//latex.artofproblemsolving.com/f/3/2/f3216cb355fa523c03d40b7abe19f2963dca2ad0.png)
yields
and
.
And now, we have enough machinery to figure out all possibilities for such sequences.
We will show that ll sequences fall into the following three types.
![\[ a_x := 1 \]](//latex.artofproblemsolving.com/4/d/6/4d6bd67b04d7b2f87e202e05f16bdda7139a800b.png)
where
, or
![\[ a_x := \begin{cases} k\mathbb{C}(a) & a_x = (2^k-1)(\mathbb{C}(a)-1)\\
\text{else} & a_x = 1\\
\end{cases} \]](//latex.artofproblemsolving.com/2/1/6/21698818e42514de98370ef4781eb1867ef9f032.png)
We will prove this using infinite descent.
Consider a sequence
not of this type with minimal characteristic
. We'll find a sequence
not of this type with smaller characteristic.
Clearly
, as the only primitive sequence was of this type.
Every term with an important index in
is divisible by
.
Also, clearly
Define
by
It is easy to verify that
also does not belong to the
types and 
Typical examples for this include induction style arguments and splitting one variable into 2. You'll get what this means in the example. A good example for this is the following problem.
*Note: I don't precisely remember the source, so anyone who does is requested to please comment below.
Unknown source; yagami1728 wrote:
There are
lights of some
colours (not necessarily
of each colour). Prove that they can be arranged on
christmas trees with
lights per christmas tree, such that no tree has lights of three or more different types.





The more general version is this:
generalised yagami1728 wrote:
There are
lights of some
colours. Prove they can be arranged on
christmas trees such that each tree has
lights and no tree has ornaments of three or more different colours.






The base case, (

Now, assume it is possible for some

Given any set of ornaments of



We can use all lights of a sparse colour on a tree and use lights of an abundant colour to fill in the incomplete spots, such that the tree finally has

Observe that this reduces to the


Here is another example of a problem (albeit
ISL 2017 C6 wrote:
Let
be a given integer. An
cube is composed of
unit cubes. Each unit cube is painted with one colour. For each
box consisting of
unit cubes (in any of the three possible orientations), we consider the multi-set of colours present in that box. This way, we get
sets of colours, split into three groups according to the orientation.
It happens that for every set in any group, the same set appears in both of the other groups. Determine, in terms of
, the maximal possible number of colours that are present.






It happens that for every set in any group, the same set appears in both of the other groups. Determine, in terms of

The answer turns out to be

There does exist a messy solution which does not strengthen the problem statement in any way. However, much more is revealed about the problem by a different inductive, elegant solution which also explains the identity

The following modifications on the original problem do not change the solution
- we allow cubes to be invisible (i.e. to not have any color).
- we still require every plate
to be present in all three directions, unless
.








![\[ f(n) \le n^2 + f(n-1) \]](http://latex.artofproblemsolving.com/4/8/c/48c0e13720ce26c022303837d898f2670cdcfcf4.png)

We can construct an example where

- We add
colors, 1 for each point
.
- We then add
. For any
, we have three colors; one on
and
; one on
and
; and one on
and
.
- Lastly, we add
colors. For any
, we have two colors: one on
,
, and
; and one on
,
, and
.
Both of these question display the advantages of generalising questions but this art is a fickle friend. Many a time has an innocent person been lured by these gifts and overlooked the obvious. Here is an example of such an occurrence with an extremely overkill proof of ELMO 2018/2.
The original question statement is this
ELMO 2018/2 wrote:
Consider infinite sequences
of positive integers satisfying
and
for all positive integers
and
For a given positive integer
find the maximum possible value of 







There is a simple proof which can be easily found, but what follows is what I was able to come up with. If someone still wants to go through the simple proof,
Also, please if possible, go through my proof and tell me if there are any mistakes.
Some notation:
Call a natural number




We first demonstrate a few preliminaries about these sequences
Fact


Proof: For, the proof observe that we have
![\[ a_n|a_k + a_{k+1} + ..... + a_{n+k-1} \]](http://latex.artofproblemsolving.com/3/7/8/378c556f72e223e391e89826d03667dc3f055bd1.png)
![\[ a_n|a_{k+1} + ..... + a_{n+k} \]](http://latex.artofproblemsolving.com/1/1/4/11490a4794232546962697aa921b7b6a204a4f25.png)

By induction


Also, it's worth noting that

Since


By the condition on

![\[ a_x \mid a_1 + a_2+ \cdots +a_x \]](http://latex.artofproblemsolving.com/a/0/6/a06bb64f44a0a4b6b68f712bd7755cd56c4b673c.png)
![\[ a_{x+1} \mid a_1 + a_2+ \cdots +a_x + a_{x+1} - a_{x+1} \]](http://latex.artofproblemsolving.com/c/1/a/c1a6f8d8f74caa74f3be9e03997d2ada06b836b7.png)
The sum of two important numbers is important
Assume


Simply observe that

By induction, the sum of any finite multiset of important numbers is important
We will now deliberate over something we call the characteristic of the sequence
If



Symbolically,
![\[\mathbb{C}(a) := max(k) \]](http://latex.artofproblemsolving.com/d/0/0/d001dc386c0aa0e34ae4c323c8d348c4f8b2ea4e.png)

As an exception, define


We first show that every sufficiently large multiple of

From our assumption that there is no natural number greater than










We are now done, since the sum of a finite multiset of important numbers was important.
Call a sequence


We will now attempt to use some bounding arguments to figure out what all the primitive sequences are.
We'll first show that


Note that


To prove the claim, consider the following congruences
![\[ a_{r+\mathbb{C}(a)} \equiv a_{\mathbb{C}(a)} \equiv 1 \pmod {a_r} \]](http://latex.artofproblemsolving.com/0/1/a/01a463a8f2c78e46fd4912c32fca5ff85d63ba37.png)
![\[ a_r \equiv a_{\mathbb{C}(a)} \equiv 1 \pmod {a_{r-\mathbb{C}(a)}} \]](http://latex.artofproblemsolving.com/8/8/5/885826d75c7c8c2785405a055de87653a2fca46c.png)

These together imply the result.
We now show that every sufficiently large multiple of

Proof: Observe that

We now show that

Assume to the contrary.
Taking

![\[ a_xa_{x+1} \mid a_1 + a_2+ \cdots +a_x \]](http://latex.artofproblemsolving.com/1/1/a/11a1aa38fe7820273a6c16a912878ae465f60bc1.png)
![\[ a_xa_{x+1} \le a_1 + a_2+ \cdots +a_x = a_{x+1}~~~(because~~x+1 ~~is~~ esteemed)\]](http://latex.artofproblemsolving.com/1/2/1/1219ba41672691ac730f838bc86d72c9d18c8dce.png)

Now, we have developed enough machinery to determine all possible primitive sequences.
In any primitive sequences, since every sufficiently large multiple of



![\[a_{(r+1)\mathbb{C}(a)} = 2a_{r\mathbb{C}(a)} + \mathbb{C}(a) - 1\]](http://latex.artofproblemsolving.com/1/9/b/19bde075c7e8fa21629274f19f887a616028e6be.png)
![\[\mathbb{C}(a) - 1 \equiv 1 \pmod {a_{r\mathbb{C}(a)}}\]](http://latex.artofproblemsolving.com/a/5/4/a549642b4310cc507c6bf4fbf3bf8426a0a738a4.png)
![\[\mathbb{C}(a) \equiv 2 \pmod {a_{r\mathbb{C}(a)}}\]](http://latex.artofproblemsolving.com/9/d/0/9d0c78eb8ff8d1613461602d432484901c811973.png)
Thus,

There is only 1 primitive sequence which is defined by
![\[ a_x := \begin{cases}
1 & when~ x\equiv 1 \pmod 2\\
2^{\frac{x}{2}} - 1 & when~x\equiv0\pmod2 \\
\end{cases} \]](http://latex.artofproblemsolving.com/e/e/8/ee843d49f40628ad6b94e9c1a2e5ac76781fba0a.png)




![\[ a_x := \begin{cases} 1& when~x=2m+1\\
y2^m-1&where~ x=2r+2m\\
\end{cases} \]](http://latex.artofproblemsolving.com/9/2/a/92a1efa65234a3f373a81e42fd378f53ecbef8f5.png)
Observe the bound

![\[ {2} a_{2m} \equiv a_{2r+4m} \pmod {a_{2r+2m}}\]](http://latex.artofproblemsolving.com/6/8/2/6824beef4f8cf3cd367e2d46ad4bd39553389b65.png)
![\[ a_{2m} \equiv y2^2m - 1 \equiv 2^{m}-1 \pmod {y2^m - 1}\]](http://latex.artofproblemsolving.com/f/3/2/f3216cb355fa523c03d40b7abe19f2963dca2ad0.png)



And now, we have enough machinery to figure out all possibilities for such sequences.
We will show that ll sequences fall into the following three types.
![\[ a_x := 1 \]](http://latex.artofproblemsolving.com/4/d/6/4d6bd67b04d7b2f87e202e05f16bdda7139a800b.png)
![\[ a_x := \begin{cases} k\mathbb{C}(a) & a_x = m\\
\text{else} & a_x = 1\\
\end{cases} \]](http://latex.artofproblemsolving.com/7/e/d/7ed9fdd6049d3afb088abfc80b94a9dd30883231.png)

![\[ a_x := \begin{cases} k\mathbb{C}(a) & a_x = (2^k-1)(\mathbb{C}(a)-1)\\
\text{else} & a_x = 1\\
\end{cases} \]](http://latex.artofproblemsolving.com/2/1/6/21698818e42514de98370ef4781eb1867ef9f032.png)
We will prove this using infinite descent.
Consider a sequence



Clearly

Every term with an important index in


Also, clearly

Define

![\[ b_x = \begin{cases} k\left(\frac{\mathbb{C}(a)-1}{y}+1\right) & b_x = a_{k\mathbb{C}(a)}\\
\text{else} & b_x = 1\\
\end{cases} \]](http://latex.artofproblemsolving.com/f/f/2/ff2f2a21a0ecdaa498ada34b684f2644e440282f.png)



This post has been edited 6 times. Last edited by p_square, Jul 2, 2022, 12:52 PM