Browse · MathNet
PrintIranian Mathematical Olympiad
Iran counting and probability
Problem
Find all natural numbers such that for every pair of integers , and have the same parity.
Solution
Lemma. Suppose is an integer, then all of the numbers are odd if and only if for an integer .
Proof. For an integer , let be the greatest integer such that . We know that " If and then " (1) Because if with and an odd number then and where are odd numbers. Now there is one and only one such that . Let with . Now consider the number . We have By (1) we have where , therefore and by assumption is odd therefore and consequently and . Hence we have and therefore and . Now if for some natural number , for each we have
Now we return to main problem: Positive integer has the property of the problem if and only if all the numbers () have the same parity. It means that for every , have different parities. So () is odd and as we know is also odd. Therefore by the lemma this is equivalence to for some integer so where is an integer.
Proof. For an integer , let be the greatest integer such that . We know that " If and then " (1) Because if with and an odd number then and where are odd numbers. Now there is one and only one such that . Let with . Now consider the number . We have By (1) we have where , therefore and by assumption is odd therefore and consequently and . Hence we have and therefore and . Now if for some natural number , for each we have
Now we return to main problem: Positive integer has the property of the problem if and only if all the numbers () have the same parity. It means that for every , have different parities. So () is odd and as we know is also odd. Therefore by the lemma this is equivalence to for some integer so where is an integer.
Final answer
All n of the form 2^k - 2 for integers k >= 2
Techniques
Algebraic properties of binomial coefficientsFactorization techniques