Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The problem is:

$W$ is a positive integer when divided by $5$ gives remainder $1$ and when divided by $7$ gives remainder $5$. Find $W$.

Answer: Take the larger divisor , So Expression becomes $7k+5$. Now this number when divided by $5$ gives remainder $1$ so expression becomes $7k+4$ which is divisible by $5$. Now plugging in values for $k$ as $0,1,2,..$ we get $7(3)+4$ which is divisible by $5$ so $k=3$.

I know that $\frac{W}{5} => remainder~1$ so $5q+1=W$
$\frac{W}{7} => remainder~5$ so $7k+5=W$

Edit: Now I know that $5q+1 = 7k+5$

This implies $q=\frac{7k+4}{5}$

Now how did the text assume that $7k+4$ is divisible by $5$ and there would be no remainder?

share|cite|improve this question
$5k+1=7K+5 \Rightarrow 5k=7K+4$ – sabertooth Jul 16 '12 at 6:35
up vote 0 down vote accepted

If $7k+5$ leaves a remainder of 1 when divided by 5, then $7k+4$ leaves a remainder of 0 when divided by 5, and so is divisible by 5.

To say that a number, say $7k+5$ "leaves a remainder of 1 when divided by 5" is exactly to say that it has the form $5q+1$ for some integer $q$. So we have $7k+5=5q+1$ for some integer $q$, and so $7k+4 = 5q$. Therefore $7k+4$ is a multiple of 5.

In general, of $x$ leaves a remainder of $r$ when divided by $n$, then $x-1$ leaves a remainder of $r-1$, unless $r=0$.

share|cite|improve this answer
Could you explain "7k+4 leaves a remainder of 0 when divided by 5" a bit in detail.. – Rajeshwar Jul 16 '12 at 7:31
I hope this elaboration makes it clearer. – MJD Jul 16 '12 at 7:41
Yes thanks for the explanation. – Rajeshwar Jul 16 '12 at 8:04

Hint $\rm\ \, 7k+5\, =\, 5\, q + 1\:\Rightarrow\: 7k+4\, =\, 5\,q,\ $ i.e. $\rm\:5\:|\:7k+4.$

Remark $\ $ You may find helpful my posts on Easy CRT.

share|cite|improve this answer
Thanks for your post. Could you briefly explain what $5|7k+4$ means ? links ? – Rajeshwar Jul 16 '12 at 6:50
@Rajeshwar $\rm\ M\:|\:N\:$ means $\rm\:M\,$ divides $\rm\,N\ $ (standard number theory notation) – Bill Dubuque Jul 16 '12 at 6:55
Thanks but I still dont get how the text assumes that 7k+4 is completely divisible by 5 ? – Rajeshwar Jul 16 '12 at 7:00
@Rajeshwar It follows by subtracting $1$ from both sides of my first equation above (which says that $\rm\:W = 7k+5\:$ has remainder $1$ when divided by $5).$ – Bill Dubuque Jul 16 '12 at 7:07
Just added to my question.. – Rajeshwar Jul 16 '12 at 7:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.