本帖最后由 lilianjie 于 2012-1-4 17:59 编辑 & G3 f* ~/ X! R6 P5 N. { P G/ t$ V' H) Y
Q5:=QuadraticField(5) ; ! b; V$ U/ Z+ Y* FQ5; ' C8 P# f m2 P- `1 E: rQ<w> :=PolynomialRing(Q5);Q; & c, u0 g8 x7 I2 Y& y) O& }! ]. ?/ f$ e" \& m% D1 B
EquationOrder(Q5);; P/ f4 b. m: _7 A6 c( o8 S
M:=MaximalOrder(Q5) ;) g# S3 s, l6 W- C m; [1 ]
M;! c; m$ ?, H) D& a v5 `. R0 u: `
NumberField(M); O8 X0 L! t' }4 x# G; J1 |
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;* W! R+ n5 C2 _/ H
IsQuadratic(Q5);IsQuadratic(S1);IsQuadratic(S4);IsQuadratic(S25);IsQuadratic(S625888888); 9 ], }/ n/ ]' f" ?. jFactorization(w^2-3);; G# G1 X9 q& V! H
Discriminant(Q5) ; - e' A, |6 Q) f- W( c/ o6 b/ XFundamentalUnit(Q5) ;0 `- D( ]# e+ q, }3 S( p
FundamentalUnit(M);; @" W) K2 U0 z0 V: q/ Z
Conductor(Q5) ; % T4 j$ G* F! s' W" `Name(Q5, 1);: l/ Q" J* a G! |' k+ z. C9 S
Name(M, 1);- {: U9 f: q. P3 Z7 U1 C. B
Conductor(M);0 P5 N8 @) X0 g7 g c5 o7 w/ G* `
ClassGroup(Q5) ; * \0 Y$ g4 v) S$ EClassGroup(M);! l0 ^ _! a! [ M: t
ClassNumber(Q5) ; / s( A, R; c# W# U; j4 v; t* \: [ClassNumber(M) ;. z0 g) g2 p; E$ [
0 ^+ ^: R" `! D# ]9 m4 jPicardGroup(M) ;% o" S! T P4 }
PicardNumber(M) ; _5 [- r. z6 d * B$ w5 [2 y7 h. D a1 \& W8 o( w' s4 r. v9 l' n# r8 n' {/ ]
QuadraticClassGroupTwoPart(Q5); + G, G/ X* C9 T7 lQuadraticClassGroupTwoPart(M);) Q: U) ~+ ^) J! k
$ J, o$ A. U+ i) r0 h& O4 d) M
, k* i! k( \: {, \0 Z# q
NormEquation(Q5, 5) ;3 W; P9 e) ?% X$ `) `9 E( m
NormEquation(M, 5) ; $ Q2 F8 ~$ P: a5 q4 P 7 b; }0 O* ?! t* @7 J/ ~1 C- [: C+ T# x# O+ _
Quadratic Field with defining polynomial $.1^2 - 5 over the Rational Field# u0 |- F2 L6 K" y. V b, G( I6 [
Univariate Polynomial Ring in w over Q5' z7 i0 T( P' x( q5 }: y8 f
Equation Order of conductor 2 in Q5/ Z6 W. r7 L2 J8 ]& {0 |. z
Maximal Order of Q5 x. s' J5 x* Z
Quadratic Field with defining polynomial $.1^2 - 5 over the Rational Field Q0 C9 Y" S8 B* d
Order of conductor 625888888 in Q5 * B: n, ^6 G+ y' J4 u @5 ?, ftrue Quadratic Field with defining polynomial $.1^2 - 5 over the Rational Field 4 @' S- s% N& N9 E: X- c& utrue Maximal Order of Q53 ^! D4 @2 B9 L! \
true Order of conductor 16 in Q5 ' ]$ R3 z6 ~- p6 e n7 b% E( @true Order of conductor 625 in Q51 j J( T. o8 R0 v
true Order of conductor 391736900121876544 in Q5. F3 J1 Q( x- }
[ 0 K; ]' K5 R$ s0 g; G, B2 [ <w^2 - 3, 1> 3 B6 N9 @( ~8 I. |# Y3 z]" p% p. I; N w9 a. o0 Y k3 s. d
58 m3 i# O S% X- _
1/2*(-Q5.1 + 1)3 L, V, R" ^9 L, `4 B. h
-$.2 + 1 3 s. t+ [ V, U' X2 q+ K: f# d( x1 T5 4 W+ \# p7 d" aQ5.19 u0 A! x; f# f" M! A+ O# n8 V5 \
$.2" t' ]0 ~( ^* `) R2 Y4 T) a
1' t5 A0 o% l( O4 N/ ^
Abelian Group of order 1& r, i! [( Y- a4 _
Mapping from: Abelian Group of order 1 to Set of ideals of M $ j. m4 [" n# g0 w. K# e! wAbelian Group of order 1% i6 I+ k+ |3 ?0 o9 y* X% s
Mapping from: Abelian Group of order 1 to Set of ideals of M 8 D/ C" S; t3 b: m& ^12 O6 f& y8 N# B5 n9 h r( R
1 : m4 }5 X( p. k: V5 OAbelian Group of order 1 V( M8 Q7 f% i, S
Mapping from: Abelian Group of order 1 to Set of ideals of M given by a rule [no / a3 F0 j, @3 H" T' Q3 d7 R. a5 T1 Cinverse]6 J' `' b6 w8 N1 d o! N
1( e1 F; S' o* m; f+ J
Abelian Group of order 1+ }6 E$ v; I1 Q3 `" F+ W; d$ y; a
Mapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant5 B2 e% Z. h* e- X
5 given by a rule [no inverse] + A. j& u$ u+ W" q8 u1 vAbelian Group of order 1$ a( S1 r* L- S
Mapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant . ^% _1 P8 ?$ _0 Z" e, [2 s; j0 V5 given by a rule [no inverse] ! @' t5 x. P/ h& K# l" P8 itrue [ 1/2*(Q5.1 + 5) ]% t+ J6 {4 ?0 T/ Q) [& Z
true [ -2*$.2 + 1 ]( a% E6 Q- E/ K% h v- Q7 l
; m6 A/ w; _& S1 u1 jQ<w> :=PolynomialRing(Q5);Q; 7 x4 p! V. d) K0 ~EquationOrder(Q5); 7 e1 v; ^, W j1 _. rM:=MaximalOrder(Q5) ; 0 x* _7 |+ `2 rM; s) E* l. c( V& F
NumberField(M);, V% U4 ~" b. r6 }1 R
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 c+ B; B$ f5 t) [IsQuadratic(Q5); 6 F2 {$ C) w: T; ]# t# c- ^IsQuadratic(S1); 8 c5 b! b, o! P2 h" QIsQuadratic(S4); ! b% `% @' M) _5 g3 @6 U; vIsQuadratic(S25);$ m. V9 k6 _; N
IsQuadratic(S625888888); / T4 D7 ~' q0 M, c& n: w, `Factorization(w^2-50); ) v, _2 g9 ^; @( j: G
Discriminant(Q5) ; 6 w! m7 k+ K2 n$ a; pFundamentalUnit(Q5) ; ' n9 C" b+ ?2 [/ e# R# e' mFundamentalUnit(M);: a' r2 l' h/ [2 O
Conductor(Q5) ;! n2 M0 C6 ^ l% H$ E& A
8 k+ ] S" n8 H! ^. `Name(M, 50); 0 ]) B+ }% ]7 c+ v) N2 e4 C" Y- cConductor(M);, z, C) \$ k+ J5 P! b7 O
ClassGroup(Q5) ; ' s; ^& c: [+ UClassGroup(M);, v; u3 u+ T0 o5 Y* c+ E1 Q
ClassNumber(Q5) ;0 w* g6 h9 |$ h8 s7 \! B
ClassNumber(M) ; ' x! \ k$ W" @PicardGroup(M) ;3 Q' V' x) F5 ^- Q6 V" ~* G4 o
PicardNumber(M) ; 1 a5 C, l4 Y4 F& O: v ^: }+ g 0 ]. J, U! F+ \ p; S, O2 eQuadraticClassGroupTwoPart(Q5); - I4 a4 d! @# ~3 R0 z8 Z) HQuadraticClassGroupTwoPart(M);9 N" s: d5 I& @4 _/ L- h( a: E
NormEquation(Q5, 50) ; 5 Z: T. i7 r, |3 T$ `. c/ O. ^NormEquation(M, 50) ; + y& `, s* L+ K / C4 s! Q" [7 I$ g% _Quadratic Field with defining polynomial $.1^2 - 2 over the Rational Field : i# r N; m+ z! kUnivariate Polynomial Ring in w over Q5 3 H' Q& ]1 f) k9 D/ ^' e% e# cEquation Order of conductor 1 in Q5 $ F0 G5 ]/ t" \* i' Q( m9 YMaximal Equation Order of Q5 ' L" c" j$ T8 ~6 U# ~Quadratic Field with defining polynomial $.1^2 - 2 over the Rational Field * F! G M) \$ n3 H1 t" zOrder of conductor 625888888 in Q5+ d7 a Y4 {# R6 \2 Z9 F8 q
true Quadratic Field with defining polynomial $.1^2 - 2 over the Rational Field ! s1 Q4 R+ `9 n: ?2 btrue Maximal Equation Order of Q5 & _: j9 q6 A3 ^3 Atrue Order of conductor 1 in Q5 , l) w% d0 Z( _: ^" jtrue Order of conductor 1 in Q5 6 e, k$ y# @: G T! s Ttrue Order of conductor 1 in Q5$ |/ a2 u$ s1 v+ U+ W1 m% W9 Q
[" U4 x4 z; K1 s9 {+ E
<w - 5*Q5.1, 1>,. W% B( H# F9 D' Q! M% g- E
<w + 5*Q5.1, 1> ~$ _: @4 t2 }- @1 o! T8 i" b] $ g5 G+ Y$ n5 W83 w- w% O2 f$ E
Q5.1 + 1' r* h. X1 Q: c! v) ?, v
$.2 + 14 y; N' P' _$ p2 n/ r
8 ' |/ x$ R- a; ]9 S $ E% F# q; }% F g# S5 c>> Name(M, 50); : R' ^% K4 C# ]: f ^ % y2 U/ O% k3 J$ L" [Runtime error in 'Name': Argument 2 (50) should be in the range [1 .. 1] p# p1 G: u; p; ]- V7 N u 9 k7 n% _+ y: f8 o0 W# ]1 ; ~: N& _% [/ o/ I) u! iAbelian Group of order 1 9 }) {" Q: ~5 m% @8 @8 N8 @; wMapping from: Abelian Group of order 1 to Set of ideals of M! p1 L" }# f1 k1 }) g
Abelian Group of order 1: K: M6 Z+ _# @! B/ d ]3 M0 {* |
Mapping from: Abelian Group of order 1 to Set of ideals of M 9 H0 ?: C% i8 A* f8 K1 9 g& l' Z& _. j8 ^3 M1 _1 ) |: v+ p$ x- M9 T( ~Abelian Group of order 1 4 b5 f* B9 P2 Y; I' K9 A) S+ I5 aMapping from: Abelian Group of order 1 to Set of ideals of M given by a rule [no 0 F5 J3 r% T6 linverse]) Y4 {9 m9 H/ u- M r5 Z
1 2 O4 h* Y+ c- V7 }* E* lAbelian Group of order 1 9 C- T5 j" i9 oMapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant ; s& F! A/ U5 K$ o% ^- F/ j8 given by a rule [no inverse] ( ?2 ~! K- k# n9 C! GAbelian Group of order 14 l' ?; | S- \1 c( g. t
Mapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant$ s3 ?6 o' `- q6 E. R$ t
8 given by a rule [no inverse] / m5 J) ]7 Z) ^0 _5 o! y/ Htrue [ 5*Q5.1 + 10 ]3 B3 A7 O8 p: g$ G; ^/ o
true [ -5*$.2 ]