Tricky Absolute Value!

Find all natural numbers (natural numbers include 0) m m and n n satisfying the expression below:

2 m + 2019 = n 2020 + n 2020 2^{m}+2019=|n-2020| + n - 2020

Type your answer as m + n m+n .


The answer is 3030.

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.

3 solutions

Chris Lewis
Apr 15, 2019

Firstly, note that the right-hand side of the given equation is even for all n n . This means that the left-hand side is also even, and so 2 m 2^m is odd; it follows that any solution must have m = 0 \boxed{m=0} , so the left-hand side must be 2020 2020 .

Because of the absolute value function on the right-hand side, we'll consider the cases n 2020 n \le 2020 and n > 2020 n>2020 separately.

Case n 2020 n \le 2020 :

The equation becomes 2020 = ( 2020 n ) + n 2020 = 0 2020=(2020-n)+n-2020=0 , which is clearly absurd. So there are no solutions in this case.

Case n > 2020 n > 2020 :

The equation is now 2020 = ( n 2020 ) + n 2020 = 2 n 4040 2020=(n-2020)+n-2020=2n-4040 , which has the unique solution n = 3030 \boxed{n=3030} . The only possible solution pair is ( m , n ) = ( 0 , 3030 ) (m,n)=(0,3030) , giving the answer 3030 \boxed{3030} .

William Allen
Apr 15, 2019

For n 2020 n\leq 2020 we have 2 m + 2019 = 0 2^{m} + 2019 = 0 which has no solutions. For n > 2020 n > 2020 we have 2 n 2 m = 6059 n = 2 m + 6059 2 2n - 2^{m} = 6059 \implies n = \frac{2^{m} + 6059}{2} n n can only be an integer when 2 m 2^{m} is odd, this only happens when m = 0 m=0 and n = 3030 n=3030 .

So we’re left with m + n = 0 + 3030 = 3030 m+n = 0 + 3030 = \boxed{3030}

Skye Rzym
Apr 15, 2019

First, it's clearly that RHS is even for all natural number of n n . Hence, LHS must be even too. Then, assume that m 1 m \ge 1 . From here, we get that 2 m + 2019 2^{m}+2019 is odd, contradiction. Hence, m = 0 m=0 , so we get 2020 = n 2020 + n 2020 2020=|n-2020|+n-2020 . Now, assume that n 2020 = 2020 n |n-2020|=2020-n . From here, we get that 2020 = 0 2020=0 , contradiction. Hence, n 2020 = n 2020 |n-2020|=n-2020 , so we get 2020 = 2 n 4040 n = 3030 m + n = 0 + 3030 = 3030 2020=2n-4040 \implies n=3030 \implies m+n=0+3030=3030 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...