Let $ m,n$ be integers such that $ 0\le m\le 2n$. Then prove that the number $ 2^{2n + 2} + 2^{m + 2} + 1$ is perfect square iff $ m = n$.
Problem
Source: IZO 1 Junior Problem 2
Tags: number theory, greatest common divisor, number theory proposed
16.12.2008 07:58
16.12.2008 11:56
Note that $ 2^{2n + 2}$ is a perfect square. If $ 2^{2n + 2} + 2^{m + 2} + 1$ is a perfect square, we must have $ 2^{2n + 2} + 2^{m + 2} + 1 \ge (2^{n + 1} + 1)^2$ from which we get $ m \ge n$ Now, since the given expression is odd, we can write $ 2^{2n + 2} + 2^{m + 2} + 1 = 4k^2 + 4k + 1 \Rightarrow 2^{2n} + 2^m = k(k + 1)$ or $ 2^m(2^{2n - m} + 1) = k(k + 1)$ We must factorise LHS into two consecutive factors. This can be done as $ (2^m p) (q)$ where $ pq = 2^{2n - m} + 1$ and q is odd However, if m>n, then $ 2^m - 2^{2n - m} > 1$. Hence this factorisation is rendered impossible. If m = n then the expression is $ (2^{n + 1} + 1)^2$ which is a perfect square. Hence $ 2^{2n + 2} + 2^{m + 2} + 1$ is a perfect square iff m = n
16.12.2008 20:37
Nice solution quatto. But ur arguement can be simplified We see $ y^2-1$ = $ 2^2n+2$+$ 2^m+2$ Then observing that y+1 and y-1 have gcd max of 2 We can prove that m=n by proving that m cannot be less than or greater than n by plugging in the above equation. Will complete my proof later coz i am in school.
25.12.2008 11:04
02.06.2013 22:52
Let 'i' be some number 2^(2n+2) + 2^(m+2) + 1 = i^2 I factored a 4 out of the left side to make it simpler 4 ( 2^(2n) + 2^(m) + (1/4) ) = i^2 2^(2n) + 2^(m) + (1/4) = (i/2)^2 Since n = m, I plugged in m for n 2^(2m) + 2^(m) + (1/4) = (i/2)^2 Then you can factor the left side (2^(m) + (1/2))^2 = (i/2)^2 By taking the square root of both sides 2^m + (1/2) = (i/2) Multiply both sides by 2 i = 2^(m+1) + 1 Since m is an integer, i must also be an integer. I think that would work as a proof, but I didn't use the initial condition 0<m<=2n at all.
02.06.2013 23:04
No, that will not work as a proof. You only took a large number of lines to prove that, if $m=n$, then $2^{2n+2} + 2^{m+2} + 1$ is a perfect square, which is obvious since $2^{2n+2} + 2^{n+2} + 1 = \left (2^{n+1} + 1\right )^2$. But the problem asked for if and only if (iff is shorthand for it). No wonder you did not use $0\leq m \leq 2n$, since for $m= 4n$ we again have $2^{2n+2} + 2^{4n+2} + 1 \left (2^{2n+1} + 1\right )^2$.
03.06.2013 00:35
Oops I thought they just spelled 'if' wrong when they copied the problem down
06.12.2021 19:29
inequality