Real quadratic field
Fundamental unit of a real quadratic field
Let πΎ =β(βπ) be a Real quadratic field
and let π βπΎ be a reduced element1 of discriminant ΞπΎ:β(π) =ΞπΎ:β with simple continued fraction
π=[βββββββπ0;π1,β¦,ππ]
with period π.
Then the fundamental unit of OπΎ is alg
π=ππβ1+πππ,
which is to say by Dirichletβs unit theorem
OΓπΎ={Β±ππ:πββ€}
Monogenic case
If π β‘42,3 then one simple has
π=ππ+ππβπ
tidy | en | SemBr