Symmetric Divisibility

Find the sum of all possible n n given that

n m 2 + 4 n \mid m^2+4

and

m n 2 + 4 m \mid n^2+4

where n n and m m are primes less than 2014 2014 .


The answer is 36.

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.

2 solutions

Joel Tan
Sep 7, 2014

WLOG let m m be greater than or equal to n n . When m 5 m\leq5 we can check the solutions to be ( 2 , 2 ) , ( 5 , 29 ) (2, 2), (5, 29) .

Suppose m = n > 5 m=n> 5 . Then we have m m divides 4, contradiction.

Hence we can assume m > n > 5 m> n> 5 . Let ( m , n ) (m, n) be the solution such that m + n m+n is minimised (we suppose for sake of contradiction that such a solution exists). Then consider the solution ( n , n 2 + 4 m ) (n,\frac {n^{2}+4}{m}) . Note that n 2 + 4 m \frac {n^{2}+4}{m} is an integer and divides n 2 + 4 n^{2}+4 . Also, ( n 2 + 4 m ) 2 + 4 = ( n 2 + 4 ) 2 + 4 m 2 m 2 (\frac {n^{2}+4}{m})^{2}+4=\frac {(n^{2}+4)^{2}+4m^{2}}{m^{2}} . Since m m and n n are distinct primes, to show that this is a valid solution we just need to show that n n divides ( n 2 + 4 ) 2 + 4 m 2 = n 4 + 8 n 2 + 4 ( m 2 + 4 ) (n^{2}+4)^{2}+4m^{2}=n^{4}+8n^{2}+4 (m^{2}+4) . But this is clearly true by the fact that n m 2 + 4 n|m^{2}+4 . Hence the solution ( n , n 2 + 4 m ) (n, \frac {n^{2}+4}{m}) is valid.

Also,, n 2 + 4 < n 2 + n = n ( n + 1 ) n^{2}+4<n^{2}+n=n (n+1) which does not exceed m n mn which implies that n 2 + 4 m < n < m \frac {n^{2}+4}{m}<n <m . If n 2 + 4 m \frac {n^{2}+4}{m} was greater than 5, then the minimality condition has been contradicted. Otherwise, it is equal to 2 or 5. (Refer to the two solutions above). If it was 2, then n n is even, contradiction. If it was 5, then n 5 m 4 , m 2 + 4 n|5m-4, m^{2}+4 hence n 5 m 2 + 20 , 5 m 2 4 m n|5m^{2}+20, 5m^{2}-4m . This implies that n m + 5 , n m 2 + 10 m + 25 n|m+5, n|m^{2}+10m+25 . Together with the fact that n m 2 + 4 n|m^{2}+4 , n 10 m + 21 n|10m+21 . With the fact that n m + 5 n|m+5 we have n 10 m + 50 , n 29 n|10m+50, n|29 . This gives the solution (5, 29).

We have just shown that n n cannot be greater than 5. Hence, from the two solutions above, we obtain the answer as 2 + 5 + 29 = 36 2+5+29=36 .

This is a completely uneducated guess.

Primes 5 \geq 5 are of the form 6 x ± 1 6x\pm1 . Thus, for smaller primes, the difference between two is either 2 2 or 4 4 .

Now, if difference is 2 2 , then n n 2 + 4 n + 8 n 8 n|n^2+4n+8 \Rightarrow n|8 . The only prime which satisfies this is 2 2 . The corresponding m m when n = 2 n=2 , is when m 8 m = 2 m|8\Rightarrow m=2 .

Now, if the difference is 4 4 , then n n 2 + 8 n + 20 n 20 n|n^2+8n+20 \Rightarrow n|20 . Since n n can be 2 2 , n n can also be 5 5 . The corresponding m m , when n = 5 n=5 , is when m 29 m = 29 m|29\Rightarrow m=29 .

Thus, the possible values of n = 2 , 5 , 29 n=2,5,29 , whose sum is 36 \boxed{36} .

Could someone else post a real solution, and explain to me how I got the answer by fluke?

Well... You got the right values, but your solution is a little guess-y check-y. Look at what this problem has been tagged with and that will help you.

Finn Hulse - 7 years ago

Log in to reply

Which tag? This new system in Brilliant is a bit confusing.

Log in to reply

https://brilliant.org/discussions/thread/vieta-root-jumping-2/ I hope this helps

ryandk st - 6 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...