Define function $f(x)$ as followed $$\large f(x) = \sqrt{1 - \dfrac{1}{2x^2 + \sqrt{4x^4 + 1}}}, \forall x \in \mathbb Z^+$$. Prove that there are infinitely many positive integers $n$ such that $$\large \sqrt 2[f(1) + f(2) + \cdots + f(n - 1) + f(n)] \in \mathbb Z^+$$
Let $g(x) = f(1) + f(2) + \cdots + f(n - 1) + f(n)$
We have that $$\sqrt{1 - \dfrac{1}{2x^2 + \sqrt{4x^4 + 1}}} = \sqrt{1 + 2x^2 - \sqrt{4x^4 + 1}} = \frac{\sqrt{2x^2 + 2x + 1} - \sqrt{2x^2 - 2x + 1}}{\sqrt 2}$$
Furthermore, we have that $2(n + 1)^2 - 2(n + 1) + 1 = 2n^2 + 2n + 1, \forall n \in \mathbb Z^+$
$$ \implies g(n) = f(1) + f(2) + \cdots + f(n - 1) + f(n) = \frac{\sqrt{2n^2 + 2n + 1} - \sqrt{2 \cdot 1^2 - 2 \cdot 1 + 1}}{\sqrt 2}$$
$$ \implies \sqrt{2} \cdot g(n) = \sqrt{2n^2 + 2n + 1} - 1$$
I'm not sure if my solution is incorrect or there is anything wrong with the problem.