Question #33872

When eggs in a basket are taken out 2, 3 , 4, 5 , 6at a time, there remain respectively 1, 2, 3, 4, 5 eggs; while the number comes even when they are taken out seven at a time. Find the smallest number of eggs in basket.
1

Expert's answer

2013-08-15T08:39:14-0400

Let xx be the number of eggs. If we remove aa at a time and find bb left over then dividing xx by a gives aa remainder of bb. So xb(moda)x \equiv b \pmod{a}. We get:


x1(mod2)x \equiv 1 \pmod{2}x2(mod3)x \equiv 2 \pmod{3}x3(mod4)x \equiv 3 \pmod{4}x4(mod5)x \equiv 4 \pmod{5}x5(mod6)x \equiv 5 \pmod{6}x1(mod7)x \equiv 1 \pmod{7}


Now to use the Chinese remainder theorem we need the numbers we are modding by to be pairwise relatively prime. So we need to get rid of some of the equations. Whenever (3) is true (1) will automatically be true, so we can drop (1). (5) implies (2), so drop (2). As for equations (3) and (5) we have lcm(4,6)=12\operatorname{lcm}(4,6) = 12. Then note that from 1 to 12 only the numbers 3, 7, and 11 satisfy (3); 5 and 11 satisfy (5). 11 is the only one that does both so you can replace those two with ()(*) x11(mod12)x \equiv 11 \pmod{12}. That gives:


x4(mod5)x \equiv 4 \pmod{5}x1(mod7)x \equiv 1 \pmod{7}x11(mod12)()x \equiv 11 \pmod{12} \quad (*)


Which can be expressed as


x119(mod420)x \equiv 119 \pmod{420}


Answer: the smallest number of eggs is 119.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS