Reciprocals by 2

For integers n 2 n \geq 2 ,

1 n 1 + 1 n + 1 = p q , \frac{1}{n-1} + \frac{1}{n+1} = \frac{p}{q},

where p p and q q are positive coprime integers.

Is p 2 + q 2 p^2 + q^2 a perfect square?

Sometimes but not always Yes, always No, never

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

Sahil Silare
Oct 6, 2016

W e h a v e , We\ have, 1 n 1 + 1 n + 1 = p q \frac{1}{n-1}+\frac{1}{n+1}=\frac{p}{q} B y s o l v i n g , By\ solving, 2 n n 2 1 = p q \frac{2n}{n^2-1}=\frac{p}{q} p 2 + q 2 = ( 2 n ) 2 + ( n 2 1 ) 2 p^2+q^2=\left(2n\right)^2+\left(n^2-1\right)^2 p 2 + q 2 = 4 n 2 + n 4 + 1 2 n 2 p^2+q^2=4n^2+n^4+1-2n^2 p 2 + q 2 = n 4 + 1 + 2 n 2 p^2+q^2=n^4+1+2n^2 p 2 + q 2 = ( n 2 + 1 ) 2 p^2+q^2=\left(n^2+1\right)^2 B y s q u a r e r o o t i n g b o t h t h e s i d e s , By\ square\ rooting\ both\ the\ sides, p 2 + q 2 = ( n 2 + 1 ) \sqrt{p^2+q^2}=\left(n^2+1\right)\ H e n c e p 2 + q 2 i s p e r f e c t s q u a r e a l w a y s Hence\ p^2+q^2\ is\ perfect\ square\ always

U solved it very welly dude!CONGRATS! I thought to write a solution of my own but yours was so good that I have even upvoted it.CHEERS

Kaushik Chandra - 4 years, 8 months ago

Log in to reply

Thanks for appreciating buddy! :)

Sahil Silare - 4 years, 8 months ago

+1 Isn't that surprising? It actually has to do with pythagorean triples .

Chung Kevin - 4 years, 8 months ago

Log in to reply

That's how I did I don't know another method.

Sahil Silare - 4 years, 8 months ago
Tapas Mazumdar
Oct 10, 2016

@Chung Kevin : Here's your pythagorean triplet approach.


1 n 1 + 1 n + 1 = p q 2 n n 2 1 = p q \begin{aligned} & \dfrac{1}{n-1} + \dfrac{1}{n+1} &=& \dfrac{p}{q} \\ \implies & \dfrac{2n}{n^2-1} &=& \dfrac{p}{q} \end{aligned}

A pythagorean triplet is of form:

( 2 m n , n 2 m 2 , n 2 + m 2 ) (2mn, n^2-m^2, n^2+m^2)

Putting m = 1 m=1 we get,

( 2 n , n 2 1 , n 2 + 1 ) (2n, n^2-1, n^2+1)

Since the term n 2 + 1 n^2+1 is the largest and so taking it as hypotenuse of a right triangle, with angle Φ \Phi opposite to side 2 n 2n we get,

tan Φ = 2 n n 2 1 \tan \Phi = \dfrac{2n}{n^2-1}

A similar right triangle can be constructed with angle Φ \Phi opposite to the side p p .

Then,

tan Φ = p q \tan \Phi = \dfrac{p}{q}

So, p p and q q are also sides of a right triangle containing the right angle.

Thereby, we conclude, by pythagoras theorem, that there exists some k k which is an integer such that k 2 = p 2 + q 2 k^2 = p^2 + q^2 , hence coming to the conclusion that p 2 + q 2 p^2+q^2 is always a perfect square.

Note that this works for n 2 |n| \ge 2 , where n Z n \in \mathbb{Z} since there is no defined triplet for 0 n 1 0 \le |n| \le 1 , noting that n Z n \in \mathbb{Z} .


I think you should have mentioned n 2 |n| \ge 2 . Although this is not a problem since p p and q q are positive. But just for clarity.

I created this problem by setting m = 1 m = 1 and then asking what does 2 m n n 2 m 2 \frac{2mn}{n^2 - m^2} look like. I was slightly surprised to find the nice partial fraction decomposition.

I stated that n 2 n \geq 2 . I stated that p , q p,q are positive and coprime in order to uniquely define them, though of course neither of these conditions are necessary. For simplicity, I didn't want to deal with negative / varying values of p , q p,q .

Chung Kevin - 4 years, 8 months ago

Log in to reply

This was a good problem btw. :)

Tapas Mazumdar - 4 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...