Let us consider $n\ge 3\in\mathbb N$ which satisfy the following condition.
Condition : There exist no set of four non-zero integers $(a,b,c,d)$ such that $$a^2+b^2=c^2\ \ \text{and}\ \ a^2+nb^2=d^2.$$
Then, here is my question.
Question : How can we find every such $n$?
Remark : Please note $n\ge 3$. This is because it is known that $n=2$ satisfies the condition. ($a^2+b^2=c^2,a^2+2b^2=d^2\Rightarrow c^2-b^2=a^2,c^2+b^2=d^2\Rightarrow c^4-b^4=(ad)^2$ and see, for example, here)
The followings are the examples of $n$ which do not satisfy the condition.
For $n=4k^2+5k+1\ (n=10,27,52,85,126,\cdots)$, take $(a,b,c,d)=(3,4,5,8k+5).$
For $n=4k^2+3k\ (n=7,22,45,76,115,162,\cdots)$, take $(a,b,c,d)=(3,4,5,8k+3).$
For $n=9k^2+10k+1\ (n=20,57,112,185,\cdots)$, take $(a,b,c,d)=(4,3,5,9k+5).$
For $n=9k^2+8k\ (n=17,52,105,176,265,\cdots)$, take $(a,b,c,d)=(4,3,5,9k+4).$
We know that $(a,b,c)$ is a Pythagorean triple and we can see that $$\text{$(a,b,d)=\left((s^2-nt^2)u,2stu,(s^2+nt^2)u\right)\ $ satisfy $\ a^2+nb^2=d^2$}.$$ However, I don't have any good idea to find such $n$. Can anyone help?
Added : A user individ found that if there are integers $p,s,t$ such that $$(a,b,c,d,n)=(p-s,2t,p+s,\mp 2n+p+s\pm 2,(p\pm 1)(s\pm 1))\ \ \text{and}\ \ ps=t^2,$$ then the $n$ does not satisfy the condition.
However, this does not say anything about $n$ which satisfy the condition. We still don't know if each of $n=3,4,5,6,8$, for example, satisfies the condition.