I am going to Los Pollos Hermanos to buy a few buckets of fried chickens for the party later tonight. This restaurant only carries two sizes of bucket: one for 9 fried chickens and the other for 13 fried chickens.
Will I be able to buy precisely 105 fried chickens?
Bonus:
What about 95 fried chickens?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Log in to reply
There's one line solution if we directly find the integral value of x and y without forming any cases.
Log in to reply
Let me clarify: There's a one-line solution without knowing that (x,y) = (3,6) in the first place. And we are also able to answer the bonus question at the same time.
Log in to reply
@Pi Han Goh – My understanding(For this case and generally): So let us transform it into an equation of the form 9x+13y=105. But for any equation of this form, that is ax + by=c, c can take any value after (a b-(a+b)) but c cannot take the value of (a b-(a+b)). So this explains that 95 is not possible. Can you confirm please.
Log in to reply
that is ax + by=c, c can take any value after (ab-(a+b)) but c cannot take the value of (ab-(a+b)).
Are you sure this is always true? If yes (or no), why is it true?
Log in to reply
@Pi Han Goh – I have no idea of the proof I got it by trying out numerous smaller examples and creating tables
Log in to reply
@Sathvik Acharya – you have the right idea. But there are some conditions that you need to establish first:
After all these conditions are laid out, you would have accidentally stumbled upon a famous theorem. It's best (or the most fun) that you try to figure out this theorem on your own (even though I've very very subtly given hints in the question itself)
Log in to reply
@Pi Han Goh – Yes a and b have to be coprime and if not it does not work though I do not know why and I am clueless with the proof of this theorem, can you please help with a website or something easier to understand. Thank you
Log in to reply
@Sathvik Acharya – Here you go .
Log in to reply
@Pi Han Goh – Thank you. This is going to help me a lot and I am just trying to write a solution though not quite one-line
@Pi Han Goh – I guess this can help-' https://brilliant.org/wiki/postage-stamp-problem-chicken-mcnugget-theorem/ '. I cannot figure it out in any case and there seem to be much harder problems based on the same idea
Log in to reply
@Sathvik Acharya – Yup, that's the correct theorem. Well done! Now, can you construct the one-line solution that answers both my question and the bonus question?
For the regular problem: By the Chicken McNugget theorem, 13•9-13-9 = 95 is the highest number which cannot be bought. Since 105>95, it can be bought; namely with 3 9 chickens and 6 13 chickens.
Bonus: No because by the Chicken McNugget theorem, 95 cannot be bought (it is the highest number that cannot be bought).
Problem Loading...
Note Loading...
Set Loading...
Let the number of chicken buckets having 9 fried chickens be x and number of chicken buckets having 1 3 fried chickens be y . Therefore, 9 x + 1 3 y = 1 0 5 . We need to consider cases to solve this question:
Case 1: x = 1 ⇒ 1 0 5 − 9 = 9 6 which is not a multiple of 1 3
Case 2: x = 2 ⇒ 1 0 5 − 1 8 = 8 7 which is not a multiple of 1 3
Case 3: x = 3 ⇒ 1 0 5 − 2 7 = 7 8 which is a multiple of 1 3 .
Hence, we get our answer as x = 3 and y = 6 .
For the bonus part , we need to again consider the cases. This time 9 x + 1 3 y = 9 5 .
Case 1: x = 1 ⇒ 9 5 − 9 = 8 6 which is not a multiple of 1 3
Case 2: x = 2 ⇒ 9 5 − 1 8 = 7 7 which is not a multiple of 1 3
Case 3: x = 3 ⇒ 9 5 − 2 7 = 6 8 which is not a multiple of 1 3
Case 4: x = 4 ⇒ 9 5 − 3 6 = 5 9 which is not a multiple of 1 3
Case 5: x = 5 ⇒ 9 5 − 4 5 = 5 0 which is not a multiple of 1 3
Case 6: x = 6 ⇒ 9 5 − 5 4 = 4 1 which is not a multiple of 1 3
Case 7: x = 7 ⇒ 9 5 − 6 3 = 3 2 which is not a multiple of 1 3
Case 8: x = 8 ⇒ 9 5 − 7 2 = 2 3 which is not a multiple of 1 3
Case 9: x = 9 ⇒ 9 5 − 8 1 = 1 4 which is not a multiple of 1 3
Case 10: x = 1 0 ⇒ 9 5 − 9 0 = 5 which is not a multiple of 1 3 .
As none of the cases satisfy, therefore answer is no for the bonus part.
Note:- We can also solve without considering the cases, just by finding the integral solutions.