SOLUTION: When the eggs in a basket are grouped into 2,3, or 5 , there is always one extra. What is the least number of eggs for this grouping to be done?

Algebra.Com
Question 1044685: When the eggs in a basket are grouped into 2,3, or 5 , there is always one extra. What is the least number of eggs for this grouping to be done?
Found 2 solutions by robertb, ikleyn:
Answer by robertb(5830)   (Show Source): You can put this solution on YOUR website!
We can brute-force our way to a solution:
1 modulo 2 ===> 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29, 31
1 modulo 3 ===> 1,4,7,10,13,16,19,22,25,28,31
1 modulo 5 ===> 1,6,11,16,21,26,31
Barring the possibility that there is only one egg, the least number of eggs for this grouping to be done is 31.
(There is a conventional method of doing this problem, by means of the chinese remainder theorem, but the
solution above should suffice.)

Answer by ikleyn(52834)   (Show Source): You can put this solution on YOUR website!
.
When the eggs in a basket are grouped into 2,3, or 5 , there is always one extra.
What is the least number of eggs for this grouping to be done?
~~~~~~~~~~~~~~~~~~~~~~~~~

Let N be the unknown number of eggs.


Let us take one egg off. Then we will have N-1 eggs, and N-1 will be multiple of 2, 3, and 5.

The least such a multiple is 2*3*5 = 30.

Hence, N-1 = 30.

Then N = 31.

Solved.

See similar problem in the lesson
    - The number that leaves a remainder 1 when divided by 2, by 3, by 4, by 5 and so on until 9
in this site.


RELATED QUESTIONS

a woman with a basket of eggs finds that if she removes the eggs from the basket either... (answered by Theo)
A woman with a basket of eggs finds that if she removes the eggs from the basket either... (answered by Edwin McCravy)
A woman with a basket of eggs finds that if she removes the eggs from a basket 3 or 7 at... (answered by Boreal,ankor@dixie-net.com)
A woman with a basket of eggs finds that if she removes the eggs from the basket 3 or 5... (answered by ankor@dixie-net.com,Edwin McCravy)
Hi there, I am stumped at how to do about this. Can someone please help me? Thank you! (answered by Edwin McCravy)
Hey can you pleaseee help me ! Farmer Naz was carrying a basket of eggs to sell at the (answered by ankor@dixie-net.com)
if the eggs in a basket are removed 2 at a time, one eggs will remain. If they are... (answered by Edwin McCravy)
A woman with a basket of eggs finds that if she removes the eggs from the basket 2,3,4,5... (answered by vleith)
On her way to the market a horse stepped on Mrs. O'Leary's egg basket and cracked every... (answered by ankor@dixie-net.com)