Browse · MathNet
PrintIrish Mathematical Olympiad
Ireland counting and probability
Problem
Given and a positive integer , let be the number of sequences , where for , and
a. Prove that for all positive integers .
b. Prove that for all positive integers .
a. Prove that for all positive integers .
b. Prove that for all positive integers .
Solution
a. Let be the collection of sequences/vectors corresponding to . Suppose . Then at least one of the entries . For the first such nonzero value, change its sign and call the resulting sequence . Since , we have . The map is also an involution. Thus
b. Applying the same map to the set (where is the sequence of all zero's) gives a bijection between and . Thus Since these sum residue classes partition all such sequences we have One more equation is required. Let , the set of all sequences that have an even sum, and let , the set of all sequences that have an odd sum. For a sequence , let be the sequence obtained by finding the first element of the sequence that is not 1, and changing it with the third entry (i.e. or ). The operation is well defined for . It also changes the parity of the sum. Thus is a bijection. The parity of tells us which of and the vector is in, hence Combining (1), (2), (3) and (4) give
b. Applying the same map to the set (where is the sequence of all zero's) gives a bijection between and . Thus Since these sum residue classes partition all such sequences we have One more equation is required. Let , the set of all sequences that have an even sum, and let , the set of all sequences that have an odd sum. For a sequence , let be the sequence obtained by finding the first element of the sequence that is not 1, and changing it with the third entry (i.e. or ). The operation is well defined for . It also changes the parity of the sum. Thus is a bijection. The parity of tells us which of and the vector is in, hence Combining (1), (2), (3) and (4) give
Final answer
f1(n) = f3(n) for all positive integers n; and f0(n) = (3^n + 2 + (-1)^n) / 4 for all positive integers n.
Techniques
Recursion, bijectionCounting two waysOther