Probability Questions with Cars

Probability theory and statistics

Probability Questions with Cars

Hello everyone. MY first time here Hope someone can help me. Lets say Peter has fewer than 1000 cars. With that he made 5 equal rows of cars and have one car left. He also made 4 equal rows of cars and also have one car left. He then made 9 equal rows and didnt have any cars left. He can have six possibilities. So how many cars does he have?

What is the best way to explain it.

Thank you all , Marta

martapag

Posts: 2
Joined: Tue Jan 22, 2013 2:55 am

Re: Probability Questions with Cars

What you should do is express the question in terms of modula arithmetic then use the Chinese Remainder Theorem.
However we can derive the answer without explicitly using it.

Let $x$ be the number of cars. The second and third pieces of information say that if we divide by 5 or 4 we get a remainder of 1. So $x-1$ must be divisible by 4 and 5, so $x-1$ must be a multiple of 20. This means $x = 20k+1$ for some integer $k$. The fourth piece of information says $x$ is a multiple of 9. We can always write $k$ as $9q+r$ where $q$ is the quotient and $r$ is the remainder when we divide $k$ by 9 (note that $q$ and $r$ are integers and furthermore $r$ is 0,1,2,...,or 8 ). Putting all this together tells us that
$x = 20k+1 = 20(9q+r)+1 = 180q+20r+1$
is a multiple of 9. Clearly 180q is a multiple of 9 and since the entire expression is a multiple of 9 we know $20r+1$ is a multiple of 9. Checking the 9 possible values of $r$ (i.e. 0,1,...8 ) we find the only time when 20r+1 is divisible by 9 is when $r = 4$. So $x = 180q+81$

It is easy to check that regardless of the value of $q$ that $180q+81$ has remainder 1 when divided by 4 and 5 and remainder 0 when divided by 9.

Since we know the numbers of cars is less than 1000, the number of cars must be
81, 261, 441, 621, 801, 981

Hope this helps,

R. Baber.
Guest

Re: Probability Questions with Cars

Guest Thank you very much
martapag

Posts: 2
Joined: Tue Jan 22, 2013 2:55 am