本帖最后由 lilianjie 于 2012-1-4 17:59 编辑 , ^ S* x% W& T1 W, d I6 U( O# d; f% f p( y( c8 D( h; c
Q5:=QuadraticField(5) ;8 g3 w0 b3 i5 t$ Y. R$ D
Q5;! H$ |' s3 D2 v+ f
Q<w> :=PolynomialRing(Q5);Q; ! F* C$ F6 M" L / o- E) B/ K) n3 EEquationOrder(Q5);! N- R3 ]! l: U# R( O
M:=MaximalOrder(Q5) ;- v* Y1 d! p& O1 P o: W
M; p9 v. N2 Y+ ~9 j/ u$ J( zNumberField(M);5 G: K& I) t2 M q8 u9 L0 j7 m& ^7 @
S1:=sub< M | 1 >;S2:=sub< M | 2 >;S3:=sub< M | 3 >;S4:=sub< M | 4 >;S5:=sub< M | 5 >;S25:=sub< M | 25 >;S625888888:=sub< M | 625888888 >;S625888888; 7 P* {0 y% Z- S( \' P7 kIsQuadratic(Q5);IsQuadratic(S1);IsQuadratic(S4);IsQuadratic(S25);IsQuadratic(S625888888);9 ^) }) P- U% p) l: b
Factorization(w^2-3);2 l( g3 t7 ]5 V( V( u8 Z7 y) u$ b9 ~0 O
Discriminant(Q5) ; # e* ^. ]1 G$ o7 \# Y% gFundamentalUnit(Q5) ;% M5 Z4 C' ^8 k1 p6 e! j1 _+ }* M
FundamentalUnit(M); + Y, m9 A- k+ uConductor(Q5) ;# H0 ?/ w7 ^$ U; R
Name(Q5, 1); / q# H! R( k2 k* `) Z* L- l+ rName(M, 1); {0 ~/ e+ |' V9 v5 bConductor(M);3 ]6 ]% ?, y2 ?7 X4 I! Q% l# m& x
ClassGroup(Q5) ;2 O* G$ Y/ f8 U/ ]% V; q/ P
ClassGroup(M);8 m( \ ]& {% {" L/ I
ClassNumber(Q5) ; , D0 s3 _, t) e3 N& d! J2 H& wClassNumber(M) ; - [. d/ k- A/ ?+ m+ o3 p8 }3 k9 r" B! G" P" Z9 A- E
PicardGroup(M) ;) l' w! ]0 K* e6 w+ p5 ~
PicardNumber(M) ;# G. e, u$ f2 `4 N' m. W' e
; [# X4 F" t% ^- T3 N. ^ / x. J9 U s3 I' P# z5 H# PQuadraticClassGroupTwoPart(Q5); 7 g( h3 a. i$ D- u a( E" U1 UQuadraticClassGroupTwoPart(M); 0 A+ B9 x$ n% B' E( X+ H) {! S 5 p/ M$ ^$ c- |- A' @& p7 H. v( S* D) s2 R( f0 q4 [* }2 [% _9 w2 v7 l
NormEquation(Q5, 5) ;- J# A# c+ r- ~5 e9 Y
NormEquation(M, 5) ;1 k7 r, q& D! [% G. {6 D
% m4 {' [& X- l; Y& W J0 K" r5 [7 B
" `" S3 b6 L7 ]/ g. _# j/ m. X
Quadratic Field with defining polynomial $.1^2 - 5 over the Rational Field" s% i. H" v; H) c
Univariate Polynomial Ring in w over Q5 & p2 e3 ~# R6 x w7 bEquation Order of conductor 2 in Q5 7 j9 a$ L. q7 K3 @' E4 S% zMaximal Order of Q54 w/ H: q+ g/ u! {$ K4 l* Q1 R
Quadratic Field with defining polynomial $.1^2 - 5 over the Rational Field- k0 ^9 P8 H0 K7 w9 ]+ Y) O- \3 d
Order of conductor 625888888 in Q5 ' @$ Q V; o7 T& }9 q+ r9 K3 {2 Itrue Quadratic Field with defining polynomial $.1^2 - 5 over the Rational Field3 o* {. N* Q. ?6 |' W! x) M6 q# @. G
true Maximal Order of Q5# X- S" Y% t8 `" l
true Order of conductor 16 in Q5& B( q6 L9 [4 n' n, C
true Order of conductor 625 in Q5& ]8 C% B# r% F3 G9 S
true Order of conductor 391736900121876544 in Q5- H V5 {' {. r- W; h1 I' N
[9 O4 q6 l* q2 ^
<w^2 - 3, 1> 2 j- G: r! p# |; o( d; R" D], `; X; I$ Z4 V* N8 P
5# i J: [2 B/ o+ |# k9 D5 O
1/2*(-Q5.1 + 1)3 u* R' }+ H6 \( K
-$.2 + 1 4 k1 Z* ]1 S. R. j5 " o D+ Z7 G% n" M% l1 l, ^0 ~Q5.1 4 o5 h5 d. k9 X& r# `! j9 r$ t$.2 " j! q0 o, _, f/ l1 . W1 ?" Y# L$ R; [( ]Abelian Group of order 1+ A3 k8 l$ l/ w0 Y* `9 J
Mapping from: Abelian Group of order 1 to Set of ideals of M # T& a. _; Q: \, H' pAbelian Group of order 11 x; L0 |! k% [8 \1 J6 e( O/ o5 l
Mapping from: Abelian Group of order 1 to Set of ideals of M 7 p* X9 L' s) Z" q1* [) K m& Z3 K; Q ~
1& i( G1 l Y; V! e5 X/ G
Abelian Group of order 15 ?0 `0 ^, a; Z( Y* S9 X5 U8 T
Mapping from: Abelian Group of order 1 to Set of ideals of M given by a rule [no ! A- M3 I0 d7 ^% dinverse] 3 \ S( g& s: N/ p& s: D% }19 L3 d# d4 a( ]
Abelian Group of order 13 F/ _" p( d) v% a8 m
Mapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant - G* h" [" D9 z i5 given by a rule [no inverse]9 E- a u! s) h- u
Abelian Group of order 1& ^) G6 ~" t4 ?, |( Q' g
Mapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant 9 L8 ~7 w1 g) d5 given by a rule [no inverse]8 o X [1 v& L u2 A4 q$ {
true [ 1/2*(Q5.1 + 5) ] ( k8 B8 ^ X3 T% Jtrue [ -2*$.2 + 1 ] * n6 {3 w6 F& v1 o/ Z: o ! g( j, |. S3 b) }. u7 Y! p" R s5 x* x/ Z
8 A- l) f! l* u y2 CQ<w> :=PolynomialRing(Q5);Q; 5 O7 U* Z, p! s; ~. h0 LEquationOrder(Q5);2 W% R$ ~7 D9 S- B/ l; _
M:=MaximalOrder(Q5) ; + R' T$ j8 Q' b/ ~) z [2 o$ gM;7 L* I* t% O* M
NumberField(M);. q" _! V: \9 z/ I6 _
S1:=sub< M | 1 >;S2:=sub< M | 2 >;S3:=sub< M | 3 >;S4:=sub< M | 4 >;S5:=sub< M | 5 >;S25:=sub< M | 25 >;S625888888:=sub< M | 625888888 >;S625888888;/ q2 z6 P* ^ w7 u
IsQuadratic(Q5); ' i/ W. }# y; ], x; aIsQuadratic(S1);4 s, V1 |# W9 ]
IsQuadratic(S4); - _2 ]8 K! \/ Z# ^IsQuadratic(S25); : b P5 @7 H7 r9 FIsQuadratic(S625888888);6 X1 F! q9 J# c. V. f# D, _4 {% p$ H
Factorization(w^2-50); 2 P9 K/ n# M% u2 v: D4 D$ }" F
Discriminant(Q5) ;- g4 U! ]& V* _! n
FundamentalUnit(Q5) ; , ^* K( o$ H/ J4 ~* L0 v KFundamentalUnit(M); 0 `, O. Y' \/ b6 l; mConductor(Q5) ;" ?2 c; \6 }. _2 I, O, m! r. V4 V
$ `* p( [0 s. PName(M, 50);+ O/ Z* u* q ^5 ?9 l& T
Conductor(M);8 X5 T! @7 I2 J
ClassGroup(Q5) ; 6 }% E; T8 m; g9 L& _
ClassGroup(M);0 H) }, O6 W5 [& q# \+ ? s
ClassNumber(Q5) ; % q& P; X. t- y) rClassNumber(M) ;4 k# \8 F) Z8 r3 X/ t
PicardGroup(M) ;0 E9 y" y" ]. i; }( j' L
PicardNumber(M) ; 9 o% L" \+ G$ W2 C! V 6 ^0 Y' b% w9 z$ ?% N* O. oQuadraticClassGroupTwoPart(Q5); 8 G3 |* z! ?6 rQuadraticClassGroupTwoPart(M); ( d- W; _; b$ _2 }NormEquation(Q5, 50) ;4 k7 u% P3 e& V- L7 y
NormEquation(M, 50) ; / ~3 M. y$ E5 M + s+ ~ y$ k% Y% F) \Quadratic Field with defining polynomial $.1^2 - 2 over the Rational Field0 Q1 `4 P/ s) s2 I! f; |
Univariate Polynomial Ring in w over Q5 / R0 n/ o) V% A% a; |7 b$ H$ cEquation Order of conductor 1 in Q56 |& |" t. _% L4 m
Maximal Equation Order of Q5" m1 g1 j* _ x% r v% H" {
Quadratic Field with defining polynomial $.1^2 - 2 over the Rational Field " N/ u7 g6 O1 R7 t. d/ |$ @Order of conductor 625888888 in Q5- z! Y2 M! y* R3 t. i
true Quadratic Field with defining polynomial $.1^2 - 2 over the Rational Field8 l7 I" s# ~2 J
true Maximal Equation Order of Q5/ Y9 x( V1 s. d, K c
true Order of conductor 1 in Q55 d" y l9 u" {1 Z/ Z+ D* |
true Order of conductor 1 in Q5) \# |0 E. F) M8 P) `2 T: M6 r
true Order of conductor 1 in Q5 * c7 S1 N% X5 w o+ k. t }" R' j: V[- a! u( S- V: L0 W
<w - 5*Q5.1, 1>,, E5 w7 H, V+ j& y4 ~9 X G3 q
<w + 5*Q5.1, 1>! D' k1 |7 d3 {4 z. E& n
] : U& n5 B Z1 Y4 a5 j1 e. Z8! h- e6 z8 x% k
Q5.1 + 1 - K$ v2 Z4 @' q+ ]0 E6 B$.2 + 1 ! \0 ]* J, P$ V$ p+ y5 e6 s! F4 a/ j$ i82 K, l4 [9 L& \+ s0 r
/ B" s1 T( w9 @, G
>> Name(M, 50); 8 a; p% A7 Q" h) c# ^) ]" j, h3 T ^ - V/ `) ]0 p3 Y ?" F' ?# IRuntime error in 'Name': Argument 2 (50) should be in the range [1 .. 1]( D( ?/ D0 ^$ z- {5 |" R; f1 f# J8 R/ @
! s6 M/ K: k" A
1" q4 x5 o: y8 b+ i& n7 d4 q
Abelian Group of order 1 # V6 M, Z& N; L/ dMapping from: Abelian Group of order 1 to Set of ideals of M : i/ ~$ J, m5 d0 ZAbelian Group of order 1; Y6 E, {' R" }6 p( p$ r
Mapping from: Abelian Group of order 1 to Set of ideals of M % l7 C& n: e7 E9 l5 T; R8 e6 {1 1 V( ~1 _' g$ \' `7 Y$ s/ R1 ' r; _3 a- H, s# a+ X& U6 jAbelian Group of order 1, Q' b( S( d6 S2 @5 [
Mapping from: Abelian Group of order 1 to Set of ideals of M given by a rule [no 4 l/ M+ H" c; o" dinverse] % R6 x& V0 V0 n# V0 Z, `. }6 `5 \1 9 P6 ~7 x9 ?+ x; qAbelian Group of order 1- q+ o$ |4 [* u0 |1 Z- e
Mapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant 7 w1 }' R( t$ p3 v8 given by a rule [no inverse] . J' F0 g% v0 T' Y bAbelian Group of order 1 9 m% I/ J' ~% ?/ B4 X4 TMapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant$ L/ j) F6 T/ ?3 Q
8 given by a rule [no inverse] ! H0 c- {1 D0 r, o1 g9 i g8 [% I& u; |true [ 5*Q5.1 + 10 ] ! K+ G6 u% }2 Y4 {6 xtrue [ -5*$.2 ]