I need to prove that there is an infinite primitive pythagorean triples such as $b=a+1$ and $2 | a$ but I don't know how.
I know that $(2st, s^2-t^2, s^2+t^2)$ is a primitive pythagorean triple, then I tried to say that: $ \ 2st+1=s^2-t^2$ but it didn't work. I also tried $ \ s^2-t^2+1 = 2st$ but I don't know how to continue.
Thanks in advance
Only the first version should be considered because $2|a$.In that case $2t^2+1= (s-t)^2$, Replace $s-t$ by $x$ and get a Pell equation $x^2-2t^2=1$ which has infinitely many solutions.This gives you infinitely many pairs $(s, t)$ and infinitely many pythagorean triples.