| 1 | initial version |
Look https://wstein.org/books/ant/ant.pdf, page 93
K.< sqrt21 > = QuadraticField (21)
G = K.unit_group ()
u0,u1=gg=G.gens()
u=K(u1);u
-1/2*sqrt21 + 5/2
[ list (u^i ) for i in range(3,20,3)]
[[55, -12],
[6049, -1320],
[665335, -145188],
[73180801, -15969360],
[8049222775, -1756484412],
[885341324449, -193197315960]]
| 2 | No.2 Revision |
Look https://wstein.org/books/ant/ant.pdf, page 93
K.< sqrt21 > = QuadraticField (21)
G = K.unit_group ()
u0,u1=gg=G.gens()
u0,u1=G.gens()
u=K(u1);u
-1/2*sqrt21 + 5/2
[ list (u^i ) for i in range(3,20,3)]
[[55, -12],
[6049, -1320],
[665335, -145188],
[73180801, -15969360],
[8049222775, -1756484412],
[885341324449, -193197315960]]
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.