Ask Your Question

Revision history [back]

click to hide/show revision 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]]

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]]