A tiling game and generating functions
| Created | |
|---|---|
| Contact | pranav.joshi@iitgn.ac.in |
| Creator | Pranav Joshi |
Hi! This problem is a generalisation of a special case which Mathologer has a video on. This generalisation was presented in the ES214 course (Discrete Mathematics) conducted in 2023 at IITGN.
Claim
Given a sequence , with indexing operation , we generate the reduced sequence as
for an odd prime .
I claim that if for any whole number , then
Simulation
Play around with this for a few times to get a feel.
The top row is the sequence . You can also input arithmetic expressions for (For example, “3**2 + 1”) to get a randomly generated .
Proof
Consider this function :
The coefficients of non negative powers of in give us the sequence . Basically, the coefficient of in is congruent, modulo , to the entry in the sequence , namely . Stated compactly,
So to find , we look for the coefficient of in , which can be equivalently stated as the coefficient of in the polynomial
, which can be rewritten as
Thus, the coefficient of is :
Now, if ….
…then this expression is equivalent to
, but modulo .
This is because
But since is odd, .
Thus, in summary, we have showed
When n is not in the form required
Since is not a power of a prime , we can write it as where and .
A useful (general) property
If is a prime and , then .
Proof
We can split the problem of choosing from and write :
Since , thus we can write the following congruence (modulo ) :
Now, using this property, if we set and all other (including , since and thus and are distinct coefficients), then we get :
But since does not divide , this is not divisible by and. But since , so,
And thus we have :
In conclusion, there exists an , namely the one we constructed, such that the claim doesn’t hold true, if and only if can’t be written as for some .