An eccentric baseball card collector wants to distribute her collection among her descendants. If she divided her cards among her 17 great-great-grandchildren, there would be three cards left over. If she divided her cards among her 16 great-grandchildren, there would be 10 cards left over. If she divided her cards among her 11 grandchildren, there would be 4 cards left over. If she divided her cards among her 7 children, there would be no cards left over. What is the smallest possible number of cards in her collection?
tried anything yet ?
No, not really, but I'm guessing I need to solve this with mods?
Let \(x\) = number of cards set up four congruences and solve \(x\) \[x\equiv 3\pmod{17}\\~\\x\equiv 10\pmod{16}\\~\\x\equiv 4\pmod{11}\\~\\x\equiv 0\pmod{7}\]
Should I substitute? like \[x=17x+3=16x+10\] or something?
and \[x=11x+4=7x\]Well they have to have different variables right?
also notice starting from bottom makes it easy, start with x = 7k you may use congruence properties instead
so \[x=7k\]\[x=11a+4\]\[x=16b+10\]\[x=17c+3\]?
looks good, but i prefer working with congruences as they are simpler
anyways, as u can see u can work it exact same way as we did in the previous problem simply plugin x=7k in second equation and solve k
so \[x=7k=11a+4\]? How would you do it with congruences?
\[7k\equiv 4\pmod{11}\] heard of "inverses" ?
what is the inverse of 7 in mod 11 ?
it's 8
google chinese remainder theorem and you will get a method for solving this
8 is your answer medal me plzz
it's not..
\[7k\equiv 4\pmod{11}\] multiply the inverse of 7 both sides and solve \(k\)
like k\[k≡32 (\mod11)\]?
Yes, which is same as \(k \equiv 10 \pmod{11}\)
same as \(k = 11t + 10\) so \(x = 7k = 7(11t+10)=77t+70\)
plug that in next congruence and solve \(t\)
What do you mean by the next congruence?
from the first two congruences we have \[x=77t+70\] plug this in third congruence and solve \(t\)
The next congruence is \[x=16b+10\]
\(x = 16b+10\) is same as \[x\equiv 10\pmod{16}\]
simply plugin \(x=77t+70\) above and reduce
so \[77t+70=10(\mod 16)\]
do i multiply the inverse of 10 mod 16 on both sides?
first reduce
\(77t+70\equiv 10 \pmod{16}\) \(77t \equiv -60\pmod{16}\) \(77t \equiv 4\pmod{16}\) yes ?
oh right
so then now the inverse?
also 77 is same as -3 in mod 16, so \(77t \equiv 4\pmod{16}\) reduces to \(-3t \equiv 4\pmod{16}\)
now what is the inverse of -3 in mod 16
in other words, what number you need to multiply by "-3" to get 1 ?
-11
so that gives me \[t≡-44(\mod16)\]?
Notice that -11 is same as 5
-44 is correct, reduce it and make it look simpler
that's basically \[t≡4(\mod16)\] isn't it
which is \[t=16x+4\]
is that correct?
\(t = 16m+4\)
so \(x = 77t+70 = 77(16m+4)+70 = 1232m + 378\) plug that in next congruence and solve \(m\)
So \[1232m=-375(\mod17)\]and then\[m=-5625(\mod17)\]
Which is basically \[m=2(\mod17)\]
Yes, which is same as \(m = 17q + 2\)
so \(x = 1232m+378 = 1232(17q+2)+378 = 20944q +2842 \)
so the smallest possible collection of cards is \(2842\)
Thanks!
Also notice \[20944 = 7*11*16*17\]
the whole thing we did just now can be done in a single line using chinese remainder theorem
woah :o better google that
i suggest you wait till your professor teaches you that
alright, thank you!
np
Join our real-time social learning platform and learn together with your friends!