Two squares and n

Let, n is a natural number. If 2n+1 and 3n+1 both are perfect squares then the minimum value of n is?


The answer is 40.

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

Sathvik Acharya
May 16, 2019

Note that x 2 0 , 1 x^2 \equiv 0,1 or 4 ( m o d 5 ) 4 \pmod 5 for all integer x . x. In other words, squares leave the remainder 0 , 1 0, 1 or 4 4 when divided by 5. 5.

If n 1 n \equiv 1 or 3 ( m o d 5 ) 3 \pmod 5 , then 2 n + 1 3 2n+1\equiv 3 or 2 ( m o d 5 ) 2 \pmod 5 and 2 n + 1 2n+1 cannot be a perfect square as 3 , 2 3,2 are not quadratic residues modulo 5 5 . Similarly, if n 2 n \equiv 2 or 4 ( m o d 5 ) 4 \pmod 5 then 3 n + 1 2 3n+1 \equiv 2 or 3 ( m o d 5 ) 3 \pmod 5 and 3 n + 1 3n+1 cannot be a perfect square.

Thus, if both 2 n + 1 2n+1 and 3 n + 1 3n+1 are perfect squares, then n 0 ( m o d 5 ) n \equiv 0 \pmod 5 .

Also 2 n + 1 1 ( m o d 8 ) 2n+1\equiv 1 \pmod 8 as odd square integers leave the remainder 1 1 when divided by 8. 8. It follows that 2 n + 1 1 ( m o d 8 ) n 4 ( m o d 8 ) 2n+1\equiv 1\pmod 8 \implies n\equiv 4\pmod 8 or n 0 ( m o d 8 ) n\equiv 0 \pmod 8 . But, if n 4 ( m o d 8 ) 3 n + 1 5 ( m o d 8 ) n\equiv 4\pmod 8 \implies 3n+1\equiv 5\pmod 8 and thus cannot be a square as 5 5 is not a quadratic residue modulo 8 8 .

Thus, if both 2 n + 1 2n+1 and 3 n + 1 3n+1 are perfect squares, then n 0 ( m o d 8 ) n \equiv 0 \pmod 8 .

From the above results we conclude that 5 n 5\mid n and 8 n 8\mid n which implies 40 n 40\mid n . Checking n = 40 n=40 gives 2 n + 1 = 81 = 9 2 2n+1=81=9^2 and 3 n + 1 = 121 = 1 1 2 3n+1=121=11^2 which are indeed perfect squares.

Therefore the minimum value of n n for which both 2 n + 1 2n+1 and 3 n + 1 3n+1 are perfect squares is n = 40 \boxed {n=40} .

For both 2n+1 and 3n+1 to be perfect squares, 2n+1 must be of the form ( 8 p + 1 ) 2 (8p+1)^2 or ( 8 p 1 ) 2 (8p-1)^2 . Then n=32 p 2 p^2 +8p or n=32 p 2 p^2 -8p. With p=1, n =40 or 24. The option n=24 doesn't work. Therefore minimum of n is 40.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...