Solving Diophantine Equations: Find Largest Number of Chicken Nuggets

  • Context: Undergrad 
  • Thread starter Thread starter InsaneMind
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on solving a Diophantine equation related to purchasing chicken nuggets in sets of 6, 9, and 20. The equation can be expressed as 6a + 9b + 20c = n, where the goal is to determine the largest number of chicken nuggets that cannot be purchased. The participant initially used a guess and check method to arrive at the solution and sought clarification on the proper formula for solving such equations, noting the relevance of modulo arithmetic in this context.

PREREQUISITES
  • Understanding of Diophantine equations
  • Familiarity with modular arithmetic
  • Basic algebraic manipulation skills
  • Experience with problem-solving techniques
NEXT STEPS
  • Study the Chicken McNugget Theorem for two coprime integers
  • Learn advanced techniques for solving Diophantine equations
  • Explore applications of modular arithmetic in number theory
  • Practice similar problems involving linear combinations of integers
USEFUL FOR

Mathematicians, educators, students studying number theory, and anyone interested in problem-solving techniques related to Diophantine equations.

InsaneMind
Messages
1
Reaction score
0
So the other day I was asked a question about a problem by a friend. Having not been active in a math class in a VERY VERY long time I struggled with it at first... I believe it was worded as such...

Nick goes to McDonald's to buy chicken nuggets. Nick can only buy chicken nuggets in sets of 6, 9 and 20. After a bit, nick tries to figure out what's the largest number of chicken nuggets nick "cannot" buy. Help nick find out his answer, you can use any method you like (including guess and check)


Now originally I recognized that the problem is...

6a + 9b + 20c = n

Which I remembered as a diophantine equation, however I couldn't remember the formula to solve the problem. So I began using the guess and check method and arrived at the appropriate answer...checked his teachers guide to verify and then showed him how I did my guess and check method. His teacher gave out points to students whether they attempted the problem or not as long as they provided substantial work into it and/or arrived at an answer. (Basically as long as he tried he would get the extra-credit...I wish I had that teacher back in the day).


My question is...what's the proper formula for finding the answer?


The answer was 43
 
Physics news on Phys.org
I read about this problem some time back before. I don't think it has anything to do with Diophantine equation, it's more of modulo arithmetic. Except I can't recall the reasoning too.
 

Similar threads

Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
6
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K