Find the sum of all -digit positive integers that they have only the digits , and , none repeated more than three consecutive times.
CL-MO 2013
Chile national mathematics olympiad 2013.
Other problems
Hannibal and Clarice are still at a barbecue and there are three anticuchos left, each of which it has pieces. Of the total pieces, there are chicken and one meat, the which is at the bottom of one of the anticuchos. To decide who to stay with the piece of meat, they decide to play the following game: they alternately take out a piece of one of the anticuchos (they can take only the outer pieces) and whoever wins the game manages to remove the piece of meat. Clarice decides if she starts or Hannibal starts. What should she decide?
Given a finite sequence of real numbers such that Prove that there is at least one index such that
Consider a function f defined on the positive integers that meets the following conditions: for all . a) Prove that is an integer for all . b) Find all positive integers less than that satisfy the equation .