A small number of cards has been lost from a complete pack. If I deal among four people, three cards remain. If I deal among three people, two remain and if I deal among five people, two cards remain. How many cards are there?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let the remaining number of cards of the pack be N . We can find N using the Chinese remainder theorem as follows.
N 4 a + 3 a + 0 1 2 b + 1 1 2 b + 1 2 b ⟹ N ≡ 3 (mod 4) ≡ 2 (mod 3) ≡ 2 (mod 3) ≡ 2 (mod 5) ≡ 2 (mod 5) ≡ 1 (mod 5) = 4 7 ⟹ N ≡ 4 a + 3 , where a is an integer. ⟹ a = 2 , 4 a + 3 = 1 1 and N ≡ 3 × 4 b + 1 1 , b ∈ Z ⟹ b = 3 , 1 2 b + 1 1 = 4 7