×

# Yet another integral problem

Prove that there are infinitely many perfect squares of the form

$1+2^{x^{2}}+2^{y^{2}}$

where $$(x,y) \in \mathbb{Z}$$

Note by Ankit Kumar Jain
7 months ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$

Sort by:

\begin{align}1+2^{x^2}+2^{y^2}&=1+2\cdot 2^{x^2-1}+2^{y^2}\\\\ \text{now let, }y^2&=2\cdot (x^2-1)\\\\ \implies 1+2^{x^2}+2^{y^2}&=1+2\cdot 2^{x^2-1}+2^{2\cdot (x^2-1)}\\\\ &=1+2\cdot 2^{x^2-1}+\left(2^{(x^2-1)}\right)^2\\\\ &=\left(1+2^{(x^2-1)}\right)^2\end{align}

Thus the above equation is always a perfect square when,

$$y^2=2\cdot (x^2-1)$$

Rewriting we get,

\begin{align}x^2-\dfrac{y^2}{2}=1\end{align}

This is similar to the pell equation which is of the form $$x^2-ny^2=1$$, where $$n$$ is an integer

if we make the substitution $$\dfrac{y^2}{2}=2 z^2$$, we can reduce it to the form of a pell equation in $$x,z$$

now we have $$x^2-2z^2=1$$

we can find the fundamental solution of the pell equation by writing the sequence of convergents ($$\dfrac{h_{i}}{k_{i}}$$) to the continued fractions of $$\sqrt{n}$$ .If $$(x_{1},z_{1})$$ is the fundamental solution of the pell equation then $$x_{1}=h_{i}$$ and $$z_{1}=k_{i}$$ for some $$i$$ such that $$x$$ is minimal

$$\sqrt 2=1+\dfrac{1}{2+\dfrac{1}{2+\dfrac{1}{2+\dfrac{1}{2+\dfrac{1}{2+_\ddots}}}}}$$

we have $$\dfrac{h_1}{k_1}=\dfrac{3}{2}$$

$$(3^2-2\cdot2^2)=1$$

we find that $$(3,2)$$ is the fundamental solution to the given pell equation

Once the fundamental solution is found the general solution $$(x_{k},z_{k})$$ can be calculated by the relation ,

$$(x_{k}+z_{k}\sqrt n)=(x_{1}+z_{1}\sqrt n)^k$$

in the above case we get,

$$(x_{k}+z_{k}\sqrt 2)=(3+2\sqrt 2)^k$$

similarly we have,

$$(x_{k}-z_{k}\sqrt 2)=(3-2\sqrt 2)^k$$,as $$(x_{k}+z_{k}\sqrt 2)\times(x_{k}-z_{k}\sqrt 2)=1$$

thus we get,

$$x_{k}=\dfrac{(3+2\sqrt 2)^k+(3-2\sqrt 2)^k}{2}\\\\ z_{k}=\dfrac{(3+2\sqrt 2)^k-(3-2\sqrt 2)^k}{2\sqrt 2}$$

since we assumed ,$$\dfrac{y^2}{2}=2 z^2$$

we have $$y=2z$$

$$\implies y_{k}=2 z_{k}=\dfrac{(3+2\sqrt 2)^k-(3-2\sqrt 2)^k}{\sqrt 2}$$

Thus for all numbers of the form

$$( x_{k},y_{k})=\left(\dfrac{(3+2\sqrt 2)^k+(3-2\sqrt 2)^k}{2},\dfrac{(3+2\sqrt 2)^k-(3-2\sqrt 2)^k}{\sqrt 2}\right)$$

$$1+2^{x^2}+2^{y^2}$$ will be a perfect square

- 6 months, 4 weeks ago

That is complete brilliance..Mind blowing solution...Just phenomenal..

- 6 months, 4 weeks ago