SOLUTION: 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 974845: Cookies are sold singly or in packages of 13 or 39. With this packaging, how many ways can you buy 78 cookies?
Found 3 solutions by Edwin McCravy, Alan3354, Jelly6584:
Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!
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

Answer by Alan3354(69443)   (Show Source): You can put this solution on YOUR website!
Cookies are sold singly or in packages of 13 or 39. With this packaging, how many ways can you buy 78 cookies?
------------------------
The other tutor is wrong.
=================
You can buy 78 singles.
--> 78 1's
6 13's
2 39's
-------
1 39 and 3 13's
1 39, 2 13's and 13 1's
1 39, 1 13 and 26 1's
1 39 and 39 singles
----
1 13 and 65 singles
2 13's and 52 singles
3 13's and 39 singles
4 13's and 26 singles
5 13's and 13 singles

Answer by Jelly6584(1)   (Show Source): You can put this solution on YOUR website!
I'm so confused

RELATED QUESTIONS

People be confusing me with this Cookies are sold singly or in packages of 13 or 39. (answered by Edwin McCravy)
Cookies are sold singly or in packages of 13 or 39. With this packaging, how many... (answered by Alan3354)
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)
question=cookies are sold singular or in packages of two or six. how many ways can you... (answered by solver91311)
cookies are sold in packages of 1,2,5,12. with this packaging ,HOW MANY WAYS CAN YOU... (answered by richard1234)
you can buy cookies 3 possible ways = 1 per package, 2 per package, or 6 per package..... (answered by checkley77)
Please help me solve this: 3. You are baking chocolate chip cookies and oatmeal raisin (answered by richwmiller)