Is there any integer solution in-terms of $R,S$ for the equation $Rx^2+Sy^2=1$ , .
For example $(\frac{1}{\sqrt {2R}},\frac{1}{\sqrt {2S}})$ is a solution but not integer solution .
Is there any integer solution tuple for the equation in terms of R and S?
If not , is there any simple efficient algorithm to get integer solution ?