Question #35321

James brought fewer donuts than two dozen of donuts. He wants to evenly share them among 2,3,4 people. No matter how many people he shares them with he Aways have one left over. How many did he buy? What numbers goes in to 24 when factored with 2,3,4 gives remainder of 1
1

Expert's answer

2014-03-29T10:12:42-0400

Answer on question #35321 – Math – Number Theory

James brought fewer donuts than two dozen of donuts. He wants to evenly share them among 2, 3, 4 people. No matter how many people he shares them with he always have one left over. How many did he buy? What numbers goes in to 24 when factored with 2, 3, 4 gives remainder of 1

Answer

Let xx is a number of donuts. We know that x<24x < 24.

We have the following system of congruence relations


{x1(mod2)x1(mod3)x1(mod4)\left\{ \begin{array}{l} x \equiv 1 \pmod{2} \\ x \equiv 1 \pmod{3} \\ x \equiv 1 \pmod{4} \end{array} \right.


From the first congruence relation we get


x=2t+1x = 2t + 1


Substitute this into the second congruence relation


2t+11(mod3)2t0(mod3)t0(mod3)2t + 1 \equiv 1 \pmod{3} \Rightarrow 2t \equiv 0 \pmod{3} \Rightarrow t \equiv 0 \pmod{3}t=3t1x=6t1+1t = 3t_1 \Rightarrow x = 6t_1 + 1


Substitute it into the third equation


6t1+11(mod4)6t10(mod4)t10(mod2)6t_1 + 1 \equiv 1 \pmod{4} \Rightarrow 6t_1 \equiv 0 \pmod{4} \Rightarrow t_1 \equiv 0 \pmod{2}t1=2t2x=12t2+1,t_1 = 2t_2 \Rightarrow x = 12t_2 + 1,


where t2t_2 is integer. Therefore, x=13,25,37,x = 13, 25, 37, \ldots. According to condition x<24x < 24 we get that number of donuts is 13.

Answer: 13.

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