Skip to main content
OlympiadHQ

Browse · MathNet

Print

Brazilian Math Olympiad

Brazil algebra

Problem

Professor Piraldo takes part in soccer matches with a lot of goals and judges a match in his own peculiar way. A match with score of goals to goals, , is tough when , where is defined by and, for , , where is the largest integer such that and . Let . Prove that a match with score of goals to , , is tough if and is not tough if .
Solution
First note that if is written in the Fibonacci basis (as a sum of distinct Fibonacci numbers containing no neighbors), then the representation of is just that of with a 0 in the end. The proof goes by induction: it is true for . Suppose . Then will be such that , if the last digit of the Fibonacci of is zero, or , if it is one. Then . If the last digit of the Fibonacci of is zero, then is obtained by deleting the last digit from . So is the sum of the Fibonacci numbers used in the representation of and its respective antecessors in the Fibonacci sequence, resulting in the subsequent Fibonacci numbers, which is exactly with a zero at its right. If the last digit of the Fibonacci of is zero, then is still obtained by deleting the last digit from , but . Note that ends with a zero, so summing will do the same thing as the preceding case; and we're substituting the rightmost digit one with 2, which corresponds to a rightmost 10.

Now, express and by using the closed form for Fibonacci numbers , and note that we cannot use two consecutive Fibonacci numbers in base Fibonacci, so , that is, . Thus if then and the match is tough; if then and the match is not tough.

Techniques

Recurrence relationsSums and productsInduction / smoothingLinear and quadratic inequalities