SOLUTION: People be confusing me with this Cookies are sold singly or in packages of 13 or 39. With this packaging, how many ways can you buy 78 cookies?

Algebra.Com
Question 975220: People be confusing me with this

Cookies are sold singly or in packages of 13 or 39.
With this packaging,

how many ways can you buy 78 cookies?



Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!
Question 974845
Cookies are sold singly or in packages of 13 or 39.
With this packaging, how many ways can you buy 78 cookies?
Just by trial and error you can easily get the answer

1. 2 boxes of 39, 
2. 1 box of 39 and 2 boxes of 13, and
3. 6 boxes of 13.

If you're supposed to use algebra or number theory, then

Let x = the number of packages of 13 cookies
Let y = the number of packages of 39 cookies.

That leads to the Diophantine equation:

13x + 39y = 78

Divide through by 13

x + 3y = 6

x = 6 - 3y

x ≥ 0, y ≥ 0

6 - 3y ≥ 0

   -3y ≥ -6
     
     y ≤ 2

Also y ≥ 0 so

0 ≤ y ≤ 2

Since y is an integer, y can only take on the values 0,1, and 2.

So the answer is 3.

They are 2 boxes of 39, 
1 box of 39 and 2 boxes of 13, and
6 boxes of 13. 

Edwin

RELATED QUESTIONS

Cookies are sold singly or in packages of 13 or 39. With this packaging, how many... (answered by Alan3354)
Cookies are sold singly or in packages of 13 or 39. With this packaging, how many ways... (answered by Edwin McCravy,Alan3354,Jelly6584)
help anyone???explanation and answer Cookies are sold singly or in packages of 13... (answered by Alan3354)
Cookies are sold singly or in packages of 7 or 21. With this​ packaging, how many... (answered by FrankM)
Cookies are sold singly or in packages of 2 or 6. How many ways can you buy a dozen... (answered by iluvbuilding429)
cookies are sold in packages of 1,2,5,12. with this packaging ,HOW MANY WAYS CAN YOU... (answered by richard1234)
question=cookies are sold singular or in packages of two or six. how many ways can you... (answered by solver91311)
Hi jack sold cookies, cakes and muffins in chocolate or butter flavor. He sold 140 more... (answered by stanbon,greenestamps)
Please help me solve this word problem? I am not sure where to start with this. A... (answered by richwmiller,DrBeeee)