MathDB
Regional Olympiad - FBH 2012 Grade 10 Problem 2

Source: Regional Olympiad - Federation of Bosnia and Herzegovina 2012

September 25, 2018
combinatoricsHarry Potter

Problem Statement

Harry Potter can do any of the three tricks arbitrary number of times: i)i) switch 11 plum and 11 pear with 22 apples ii)ii) switch 11 pear and 11 apple with 33 plums iii)iii) switch 11 apple and 11 plum with 44 pears In the beginning, Harry had 20122012 of plums, apples and pears, each. Harry did some tricks and now he has 20122012 apples, 20122012 pears and more than 20122012 plums. What is the minimal number of plums he can have?