Diophantine equation **x ^{2}-ny^{2}=±1** is called

This equation always has non-trivial solution ("trivial solution" is x=1, y=0.)

Sometimes x and y becomes large for some n. For example,

**
227528 ^{2} - 103 * 22419^{2} = 1**

8890182^{2} - 109 * 851525^{2} = -1

In this chapter, first try to find the solutions for all n under 100 in primitive way,

and next, solve by using continued fraction expansion of sqrt(n).

And also show the Excel sheet to solve Pell equation.

In order to understand the difficulty of this problem, please try to solve the following questions.

- Q1 : x
^{2}-61y^{2}= -1 - Q2 : x
^{2}-94y^{2}= 1

- Solution by brute force method
- Solution by continued fraction expansion
- Repeating sequence of continued fraction

[1] Albert H. Beiler, "Recreations in the Theory of Numbers (Second Edition),

The Queen of Mathematics Entertains", Dover (1966)

Chapter 7 Collatz's Conjecture |
"Mathematician's Secret Room" | Chapter 9 Amicable Numbers |
---|---|---|

Chapter 7 (Japanese) | index (Japanese) | Chapter 9 (Japanese) |

E-mail : kc2h-msm@asahi-net.or.jpHisanori Mishima