If we substitute an=2xn−1 in the 2xn−1=2(2xn−1xn−2−xn−1−xn−2+1)−1=(2xn−1−1)(2xn−2−1) we get an=an−1an−2. Initial conditions of the recurrence relation are a1=2⋅2−1=3, a0=2a−1. It is required that a0=2a−1 must be a perfect square. Since a0=(2k+1)2=4k2+4k+1=2a−1, we get a=2k2+2k+1.
Now let us prove that if ∀k∈Z:a=2k2+2k+1 then ∀n∈N, 2x3n−1 are perfect squares.
Moreover it is possible to prove for ∀n∈N terms a3n are perfect squares and terms a3n+1, a3n+2 are of the form 3s2, s∈Z.
Let's proceed by induction. Base of induction is trivial.
If a3n=k2 and a3n+1=3m2 then a3n+2=k2⋅3m2=3(km)2.
If a3n+1=3k2 and a3n+2=3m2 then a3n+3=(3km)2.
If a3n+2=3k2 and a3n+3=m2 then a3n+4=3(km)2.
Thus we conclude for the numbers a=2k2+2k+1, ∀k∈Z all terms of the progression with the form a3n=2x3n−1 are perfect squares.