A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • 5 years ago

Hi, need help with Problem Set 2 (Problem2). I dont have any difficulties with programming exercises, but stuck on this one. Theorem: If it is possible to buy x, x+1,…, x+5 sets of McNuggets, for some x, then it is possible to buy any number of McNuggets >= x, given that McNuggets come in 6, 9 and 20 packs. Problem 2. Explain, in English, why this theorem is true.

  • This Question is Closed
  1. Owlfred
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Hoot! You just asked your first question! Hang tight while I find people to answer it for you. You can thank people who give you good answers by clicking the 'Good Answer' button on the right!

  2. vaboro
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    it's easy if you can buy x, x+1,..., x+5 then notice the sequence: 50, 51, 52, 53, 54, 55 and then notice the equation: 6*a+9*b+20*c = 50 if b = 0 and c = 0 then you have 6*a = 50 and every time you increase a by one the number of nuggets increases by 6 which means that if you can buy 50 nuggets, then you can buy 56 :-) now, if you can buy 50, 51, 52, 53, 54 and 55... you can also buy 56 and so on... this is why there is a minimum number of nuggets you can buy and once you found this minimum you can, actually, buy any number that is bigger than the minimum :-) hope this helps ;-) cheers

  3. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    thx :) it was easy

  4. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    listen dont be insecure, its ok to have difficulties with programming exercises. if you had trouble on this one, you sure as hell had difficulty on other ones. but its cool thats learning LD

  5. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.