A number theory problem by Priyanshu Mishra

Determine the number of triples 0 k , m , n 100 0 ≤ k, m, n ≤ 100 of integers such that

2 m n 2 n m = 2 k \large\ 2^mn - 2^nm = 2^k


The answer is 22.

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

Patrick Corn
Jan 18, 2018

First suppose m > n . m > n. Let a = m n . a=m-n. The equation becomes 2 a 2 n n 2 n ( a + n ) = 2 k . 2^a2^n n - 2^n(a+n) = 2^k. Now n > k n>k is impossible because the left side is divisible by 2 n , 2^n, so the right side must be as well. Let d = k n 0. d = k-n \ge 0. Then divide both sides by 2 n 2^n to get n ( 2 a 1 ) a = 2 d . n(2^a-1)-a = 2^d. Look at this equation modulo 2 a 1 2^a-1 : we get 2 d a , 2^d \equiv -a, but the powers of 2 2 modulo 2 a 1 2^a-1 are 1 , 2 , , 2 a 1 . 1,2,\ldots,2^{a-1}. One of these must be congruent to a : -a: 2 b + a 0 ( m o d 2 a 1 ) 2^b+a \equiv 0 \pmod{2^a-1} for some b a 1. b \le a-1. In particular, 2 a 1 + a 2^{a-1}+a must be at least 2 a 1. 2^a-1. So a 2 a 1 1. a \ge 2^{a-1}-1. This holds only for a = 1 , 2 , 3. a=1,2,3.

If a = 1 a=1 we get n 1 n-1 is a power of 2 , 2, hence the family of solutions ( k , m , n ) = ( 2 , 3 , 2 ) , ( 4 , 4 , 3 ) , ( 7 , 6 , 5 ) , ( 12 , 10 , 9 ) , , ( 71 , 66 , 65 ) . (k,m,n) = (2,3,2),(4,4,3),(7,6,5),(12,10,9),\ldots,(71,66,65). There are seven of these.

If a = 2 a=2 we get 3 n 2 3n-2 is a power of 2 , 2, and it's not hard to write down the powers of 2 2 that are congruent to 1 1 mod 3 3 and solve for n n : the solutions are n = 1 , 2 , 6 , 22 , 86 , n=1,2,6,22,86, leading to ( 1 , 3 , 1 ) , ( 4 , 4 , 2 ) , ( 10 , 8 , 6 ) , ( 28 , 24 , 22 ) , ( 94 , 88 , 86 ) . (1,3,1),(4,4,2),(10,8,6),(28,24,22),(94,88,86). There are five of these.

If a = 3 a=3 we get 7 n 3 7n-3 is a power of 2. 2. The powers of 2 2 congruent to 4 4 mod 7 7 are precisely 2 3 c + 2 , 2^{3c+2}, with corresponding values of n n given by n = 1 , 5 , 37 , n=1,5,37, leading to ( 3 , 4 , 1 ) , ( 10 , 8 , 5 ) , ( 45 , 40 , 37 ) . (3,4,1), (10,8,5), (45,40,37). There are three of these.

Now suppose m < n m < n ( m = n m=n is impossible). Let x = n m . x=n-m. The equation becomes 2 m ( x + m ) 2 x 2 m m = 2 k . 2^m(x+m)-2^x 2^m m = 2^k. Again m k m \le k is mandatory, so divide out by 2 m 2^m to get x + ( 1 2 x ) m = 2 e x+(1-2^x)m = 2^e where e = k m . e = k-m. Now x + ( 1 2 x ) m x + 1 2 x 0 x + (1-2^x)m \le x + 1-2^x \le 0 for all positive x x if m 1 , m \ge 1, so the only possibility is m = 0. m=0. This gives the family of solutions where x = n = x=n= a power of 2 2 : ( 0 , 0 , 1 ) , ( 1 , 0 , 2 ) , ( 2 , 0 , 4 ) , , ( 6 , 0 , 64 ) . (0,0,1),(1,0,2),(2,0,4),\ldots,(6,0,64). There are seven of these.

The final answer is 7 + 5 + 3 + 7 = 22 . 7+5+3+7=\fbox{22}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...