Consecutive Remainders

Find the sum of all x [ 0 , 50 ] x \in [0, 50] such that at least one of the following conditions is satisfied:

  • x 2 ( m o d 3 ) x \equiv 2 \pmod {3} ,
  • x 3 ( m o d 4 ) x \equiv 3 \pmod {4} , or
  • x 4 ( m o d 5 ) x \equiv 4 \pmod {5} .


The answer is 746.

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.

1 solution

Finn Hulse
Apr 27, 2014

Here's what I did. I made a list of all values n n such that n 2 ( m o d 3 ) n \equiv 2 \pmod{3} and the like. Then, I crossed out each term that appeared on each list more than once. From here, I just added, producing the number 746 \boxed{746} .

I approached in this way. Each congruence is 1 -1 . Thus, the number x x is congruent to 1 -1 (mod 3 × 4 × 5 3\times4\times5 . Thus, the smallest natural number for x x is 59 59 , which is not in the range.

Nanayaranaraknas Vahdam - 6 years, 9 months ago

Log in to reply

just use Ms.Excel

math man - 6 years, 8 months ago

The word 'or' in the question

Alok Sharma - 6 years, 7 months ago

Won't CRT work? @Finn Hulse - Or only casework will?

Jayakumar Krishnan - 6 years, 12 months ago

Log in to reply

I did it by CRT . Then I added the three APs and then substracted the conditions for which any two of the given conditions were satisfied

Arghyadeep Chatterjee - 2 years, 6 months ago

@Jayakumar Krishnan

If x x satisfies all the congruences, it is either too big or too small.

Our answer is this, which is very simple to calculate using the 1 + + n = n ( n + 1 ) 2 1+\cdots+n=\frac{n(n+1)}{2} formula.

i = 1 17 ( 3 i 1 ) + i = 1 12 ( 4 i 1 ) + i = 1 10 ( 5 i 1 ) i = 1 4 ( 12 i 1 ) i = 1 4 ( 20 i 1 ) i = 1 3 ( 15 i 1 ) \displaystyle \sum_{i=1}^{17}(3i-1)+\sum_{i=1}^{12}(4i-1)+\sum_{i=1}^{10}(5i-1)-\sum_{i=1}^{4}(12i-1)-\sum_{i=1}^{4}(20i-1)-\sum_{i=1}^{3}(15i-1)

mathh mathh - 6 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...