Question 1047264: Matthew makes 33 cookies and gives each friend the same number of cookies. Matthew, being selfless, takes two fewer for himself assuming all the cookies are given out how many friends does Matthew have ?
Found 2 solutions by ewatrrr, solver91311: Answer by ewatrrr(24785) (Show Source):
You can put this solution on YOUR website! Matthew makes 33 cookies and gives each friend the same number of cookies. Matthew, being selfless, takes two fewer for himself
assuming all the cookies are given out how many friends does Matthew have ?
n, the number of friends, x the number of cookies each friend gets.
Matthew gets (x-2)
nx + (x-2) = 33
Trying n = 4
4x + x - 2 = 33
5x = 35
x = 7
works!
4 friends with 7 cookies each (Matthew with 5)
Answer by solver91311(24713) (Show Source):
You can put this solution on YOUR website!
Now that you have finally stated the problem correctly, we can find a correct solution.
The fact that Matthew took two fewer cookies for himself means that if he had started with two more cookies, he could have split them evenly between himself and his friends. Let represent the number of friends and represent the number of cookies each receives, we can state:
.
Since both and must be integers (Matthew doesn't have fractional parts of friends and the problem implies whole numbers of cookies were distributed), and the prime factorization of 35 is 5 times 7, the number of friends must be either 4 or 6 and the number of cookies given to each of the friends must be either 7 or 5.
If there are 4 friends, and each gets 7 cookies, that makes 28 cookies distributed to friends, plus the two fewer cookies (5) that Matt keeps, makes 33.
If there are 6 friends, and each gets 5 cookies, that makes 30 cookies distributed to friends, plus the two fewer cookies (3) that Matt keeps, makes 33.
Hence, Matt either has 4 friends or 6 friends.
John

My calculator said it, I believe it, that settles it

|
|
|