Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to solve the second degree Diophantine equation in two variables $ax^{2} -ny^{2} = b$ $(1)$ where a and b are known and n is a parameter; all solutions x= f(n) and y = f(n) ? For example take a =1 and b =1 and solve (1) over the integers, with solutions function of n.

share|cite|improve this question
As usual you can write down all rational solutions if you have one. If you should want integral solutions, the class group will make itself heard. – franz lemmermeyer Jan 28 '13 at 15:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.