SOLUTION: Hi there, I am stumped at how to do about this. Can someone please help me? Thank you! A woman with a basket of eggs finds that if she removes the eggs from the basket 3 or

Algebra ->  Equations -> SOLUTION: Hi there, I am stumped at how to do about this. Can someone please help me? Thank you! A woman with a basket of eggs finds that if she removes the eggs from the basket 3 or       Log On


   



Question 331715: Hi there, I am stumped at how to do about this. Can someone please help me? Thank you!
A woman with a basket of eggs finds that if she removes
the eggs from the basket 3 or 5 at a time, there is always 1
egg left. However, if she removes the eggs 7 at a time,
there are no eggs left. If the basket holds up to 100 eggs,
how many eggs does she have? Explain your reasoning.

Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!
Hi there, I am stumped at how to do about this. Can someone please help me? Thank you!
A woman with a basket of eggs finds that if she removes
the eggs from the basket 3 or 5 at a time, there is always 1
egg left. However, if she removes the eggs 7 at a time,
there are no eggs left. If the basket holds up to 100 eggs,
how many eggs does she have? Explain your reasoning.
 
Suppose she has n eggs.  Then n-1 is both a multiple of 3 and
5 which means that n-1 is a multiple of 15. if she removes the 
eggs 7 at a time, there are no eggs left. That means n is a 
multiple of 7.

Since n-1 is a multiple of 15, there exists positive integer p 
so that n-1 = 15p

Since n is a multiple of 7, there exists positive integer q 
so that n = 7q.

So we have this system of equations:

system%28n-1=15p%2Cn=7q%29

So we substitute 7q for n from the second equation, into the first equation

n-1=15p

7q-1=15p

7q-15p=1

The smallest coefficient is 7, and it has absolute value 7,
so write all numbers in terms of their nearest multiple of 7.

7q-%2814%2B1%29p=0%2B1

7q-14p-p=1

Divide every term through by 7

7q%2F7-14p%2F7-p%2F7=1%2F7

q-2p-p%2F7=1%2F7

Isolate the fraction terms:

q-2p=p%2F7%2B1%2F7

The left side is an integer and so is the right side.
Let that integer be A

then we have this system:
 
system%28q-2p=A%2C+p%2F7%2B1%2F7=A%29

Clear the second of fractions by multiplying through by 7

system%28q-2p=A%2C+p%2B1=7A%29

Solve the second one for p

p=7A-1

Substitute 7A-1 for p in the other equation

q-2p=A

q-2%287A-1%29=A

q-14A%2B2=A

q=15A-2

Substitute that in

n+=+7q

n+=+7%2815A-2%29

n+=+105A-14

0%3Cn+%3C=+100

0%3C105A-14+%3C=100

14%3C+105A+%3C=114

14%2F105%3CA+%3C=+114%2F105

2%2F15%3CA+%3C=+38%2F35

2%2F15%3CA+%3C=+1%263%2F35

Therefore A = 1 because 1 is the only integer
between those two values.

 Since 

p=7A-1
p=7%281%29-1
p=7-1
p=6

q=15A-2
q=15%281%29-2
q=15-2
q=13
  
n+=+7q 
n+=+7%2813%29
n+=++91

Therefore she has 91 eggs in her basket.

A woman with a basket of 91 eggs finds that if she removes
the eggs from the basket 3 at a time as we can see from the
first two divisions below that after she removes 30 groups 
of 3 or 18 groups of 5 she will in both cases have 1 remaining 
because there is a 1 remainder in the first two cases.  The 
third division below shows that when she removes 13 groups of 7 
each she has none remaining because there is a 0 remainder.

  30         18       13
3)91       5)91     7)91
  90         5        7
   1         41       21
             40       21
              1        0

Edwin