Tuesday, September 23, 2014

Maximum number of chickens you cannot order

Problem There is a non vegetarian restaurant which sells chicken in orders of 6, 9 and 20. Calculate the maximum number of chicken pieces you cannot order from that restaurant ? Solution 43 If you analyze, then you will find that all the 6 numbers divisible by 3 can be ordered. Why? Because you can break them own as the sum of 6 and 9. Now after 26, all the numbers that are divisible by 3 if subtracted by 40 can be obtained. After 46, all the numbers will fit into one of the above categories and thus all such numbers can be obtained....