Skip to main content

Friendly numbers and infinite descent

Hey everyone, today we discuss two very cute ISL NTs! Hope you like it.

 ISL 2012 N4

ISL 2012 N4:An integer $a$ is called friendly if the equation $(m^2+n)(n^2+m)=a(m-n)^3$ has a solution over the positive integers.

a) Prove that there are at least $500$ friendly integers in the set ${ 1,2,\ldots ,2012}$.

b) Decide whether $a=2$ is friendly

Part A 

Claim: All $a \equiv 1 ( \mod 4)$  works for all $m=2n+1$




$$n=\frac{a-5 \pm \sqrt{a^2+6a+9}}{8}$$

$$=\frac {a-5 \pm a+3}{8}$$

$$= 1 or \frac{a-1}{4}$$

Therefore, we clearly have $500$ such working $n$.

Part B

Subclaim: If $p|m$, then $p|n$ also,$p|n$, then $p|=m$ for $p$ not equal to $3$ 

Claim: $V_p(m)=2V_p(n)$ or $V_p(n)=2V_p(m)$ for all  prime $p$, where $p$ divides $n$



$$0=m^3+m^2(-6n-n^2)+m(6n^2-n) -3n^3$$

Which implies that $m|3n^3$ and $n|m^3$

So, our subclaim is true.

Now, consider some prime $p$ such that $p|n$ which also implies that $p|m$ 

Case 1: $V_p(m)> V_p(n)$


$$V_p2(m-n)^3 \geq 3V_p(n)$$

Which implies that $V_p(n^2+m) \geq 2V_p(n)$ 

As such, $V_p(m)=V_p(n^2)=2V_p(n)$ 

Case 2: $V_p(n)= V_p(m)$ 



$$V_p(2(m-n)^3) \geq 3V_p(n) >2V_p(n) $$

Which is absurd, hence such a case cannot exist to begin with.

Therefore, our main claim is true 

Case 1: $3$ does not divide $m$ 

Observe that this directly implies that $m|n^2$ 

$$2m^3>2(m-n)^3 =(m^2+n)(n^2+m) >2m^3$$ 

Which is absurd 

Case 2: $3$ divides $m$ 

If $m=3n^2$



$$ \leq 2(27n^3)=54n^3$$

But this RHS is smaller than the LHS which is absurd, implying that there is no solution

If $m=\frac{3n^2}{2}$




Checking from $n=1$ to $n=12$, we observe that there is no $n$ satisfying the above equation 

Note that for the remaining cases $m\leq n^2$, which as we have resolved earlier fails due to size argument 

Therefore $a=2$ is not friendly.


The main motivation behind the solution in part A was to try and cancel out some factors on both sides of the equation so that it would be easier to find a solution. It just happened to be that $m=2n+1$ conveniently works. Part B seems much more motivated than Part A in my opinion. This is because for Part B, the main idea is that we have some divisibility conditions involving $m$ and $n$, from there we get some strict bounds on the primes that divide the two numbers. From there, we can proceed by some case whack and then bounding, which eventually finishes the problem.

ISL 2010 N3:

Find the smallest number $n$ such that there exist polynomials $f_1, f_2, \ldots , f_n$ with rational coefficients satisfying $$x^2+7 = f_1\left(x\right)^2 + f_2\left(x\right)^2 + \ldots + f_n\left(x\right)^2.$$

We claim that $n=5$ 


Set the 5 functions to be $x,2,1,1,1$

Claim: No 3 rational squares can sum to $7$


Suppose otherwise. Since we are considering rational numbers, we can instead consider proving the altered statement 


Where $a,b,c,d$ are integers 

Subclaim:$a,b,c,d$ must all be even


If $d$ even, $a,b,c$ all even or $2$ odd, $1$ even 

Taking $\mod 4$, if $2$ odd $1$ even, the LHS $\equiv 2 (\mod 4)$ which is absurd 

If $d$ odd, $a,b,c$ must be $2$ even $1$ odd or all odd. 

If $2$ even $1$ odd, similarly take $\mod 4$ to force out a contradiction

If all odd, we take $\mod 8$. The LHS will be $\equiv 3(\mod 8)$ while the RHS $\equiv 7 (\mod 8)$, contradiction 

Now using our subclaim, we proceed by infinite descent to get that there are no solutions to $a,b,c$ , which proves our claim

Claim: $n \leq 4$ fails

Note that all $f_i(x)$ are of the form $a_ix+b_i$ 

This is because all the leading coefficients when squared are positive, so 

$$\deg (f_i(x))^2 \leq 2$$

$$\deg (f_i(x)) \leq 1$$

Observe that $n=1$ obviously fails 


Note $$b_1^2+b_2^2+b_3^2=7$$ 

Using our earlier claim, there are no rational solutions to this equation 


Observe that this is simply the $n=3$ case but with $b_1=0$, so there are naturally no solutions either 


WLOG let $f_1(x)=a_1x+b_1$ where $a_1$ is non-zero. Observe that this must exist or else there cannot be an $x^2$ term 

Now we set $x= \frac{b_1}{1-a_1}$

Observe that this will cause $x^2=f_1(\frac{b_1}{1-a_1})^2$

Therefore, we have $$f_2(\frac{b_1}{1-a_1})^2+f_3(\frac{b_1}{1-a_1})^2+f_4(\frac{b_1}{1-a_1})^2=7$$

Which does not have any solutions as we have previously mentioned


For this question, I think that getting $n=5$ is quite easy as one would try to "split" the polynomial up into $x^2$ and $7$, which essentially just boils the question down into how many rational squares does it take to form 7. I also feel like, it is not really hard to observe the degree of the various polynomials, $f(x)$ is at most 1. Then, it really boils down to showing that the sum of 3 rational squares cannot be 7 and personally I think this is really kind of the "leap of faith" in this problem. But if one is quite familiar with diophantine equations it is quite clear that infinite descent kills the question off almost immediately.



Popular posts from this blog

LMAO Revenge

Continuing the tradition of past years, our seniors at the Indian IMO camp(an unofficial one happened this year) once again conducted LMAO, essentially ELMO but Indian. Sadly, only those who were in the unofficial IMOTC conducted by Pranav, Atul, Sunaina, Gunjan and others could participate in that. We all were super excited for the problems but I ended up not really trying the problems because of school things and stuff yet I solved problem 1 or so did I think. Problem 1:  There is a   grid of real numbers. In a move, you can pick any real number  ,  and any row or column and replace every entry   in it with  .  Is it possible to reach any grid from any other by a finite sequence of such moves? It turned out that I fakesolved and oh my god I was so disgusted, no way this proof could be false and then when I was asked Atul, it turns out that even my answer was wrong and he didn't even read the proof, this made me even more angry and guess what? I was not alone, Krutarth too fakesol

The importance of "intuition" in geometry

Hii everyone! Today I will be discussing a few geometry problems in which once you "guess" or "claim" the important things, then the problem can easily be finished using not-so-fancy techniques (e.g. angle chasing, power-of-point etc. Sometimes you would want to use inversion or projective geometry but once you have figured out that some particular synthetic property should hold, the finish shouldn't be that non trivial) This post stresses more about intuition rather than being rigorous. When I did these problems myself, I used freehand diagrams (not geogebra or ruler/compass) because I feel that gives a lot more freedom to you. By freedom, I mean, the power to guess. To elaborate on this - Suppose you drew a perfect  diagram on paper using ruler and compass, then you would be too rigid on what is true in the diagram which you drew. But sometimes that might just be a coincidence. e.g. Let's say a question says $D$ is a random point on segment $BC$, so maybe

Edge querying in graph theory

In this post, I will present three graph theory problems in increasing difficulty, each with a common theme that one would determine a property of an edge in a complete graph through repeated iterations, and seek to achieve a greater objective. ESPR Summer Program Application: Alice and Bob play the following game on a $K_n$ ($n\ge 3$): initially all edges are uncolored, and each turn, Alice chooses an uncolored edge then Bob chooses to color it red or blue. The game ends when any vertex is adjacent to $n-1$ red edges, or when every edge is colored; Bob wins if and only if both condition holds at that time. Devise a winning strategy for Bob. This is more of a warm-up to the post, since it has a different flavor from the other two problems, and isn't as demanding in terms of experience with combinatorics. However, do note that when this problem was first presented, applicants did not know the winner ahead of time; it would be difficult to believe that Bob can hold such a strong