本帖最后由 lilianjie 于 2012-1-4 17:59 编辑 ) j7 K8 h8 b8 N6 Y7 X: s9 Z6 [" ?/ B
Q5:=QuadraticField(5) ;+ \$ v# U% L$ y5 t! p' @, ^
Q5; * X. [, g: f' S/ y6 H& tQ<w> :=PolynomialRing(Q5);Q; * b! b' c7 o* Q4 t6 p+ {& a ( R2 X# }! w4 s# @: Y/ a) OEquationOrder(Q5);1 D1 s: [; E0 q' O; k9 M) h4 F
M:=MaximalOrder(Q5) ;6 Q' M% [, c% b) l7 O: T
M;% O7 B" v2 \- p6 ^3 G( j
NumberField(M); ! S2 S0 M5 j5 t7 D2 iS1:=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;$ Q4 H. V- \7 N/ ?3 a
IsQuadratic(Q5);IsQuadratic(S1);IsQuadratic(S4);IsQuadratic(S25);IsQuadratic(S625888888);/ V. T0 ~ V+ e! m
Factorization(w^2-3); N. i6 a% w( h" a6 M* t8 i+ ?Discriminant(Q5) ;7 A) x& K( U6 y, e1 a2 K5 \) |
FundamentalUnit(Q5) ; & U6 L6 @; j; S) oFundamentalUnit(M); 7 N/ Q- o3 n3 W# r ZConductor(Q5) ;2 f/ M1 J. v! w/ F
Name(Q5, 1); & k9 ~1 e, A' ^& PName(M, 1); . `( F$ B: |# v/ QConductor(M); 5 a4 S0 M# e2 R4 ~, uClassGroup(Q5) ; 1 ]) X! ~& ~0 @9 g! bClassGroup(M);% b+ |9 Y, }! m7 c% L3 s9 K9 q% D& @
ClassNumber(Q5) ; ( f: K9 q' v; M( C4 `% M8 F& a( P7 eClassNumber(M) ; / I7 j% E/ B8 [" d4 X7 F . N0 e2 D+ t$ @: \# oPicardGroup(M) ;% e0 k/ f, `) C8 g, f# W2 y
PicardNumber(M) ; 2 L- B* \0 _ d/ Q( M( s4 s; l 0 o+ ^. H# Q F" ^7 `9 K ) P6 s/ s" d/ MQuadraticClassGroupTwoPart(Q5);% r) ?" V0 }# m. W3 l
QuadraticClassGroupTwoPart(M); 1 o T; f ]5 ]) _3 j0 m" B1 R# Z& c4 C8 S! q1 I! v& P/ \$ [4 O
- r2 [0 u8 o, K6 e- j6 E% }% dNormEquation(Q5, 5) ; + u) P9 l9 C& j w" O0 @2 G* QNormEquation(M, 5) ; . C. g5 z4 a& Y4 T# d1 H3 k ' E+ B9 Q5 s8 K- C5 h( b+ [5 D7 v& M5 v* h
Quadratic Field with defining polynomial $.1^2 - 5 over the Rational Field # T. G" C: Q/ J& y5 M+ `4 \3 aUnivariate Polynomial Ring in w over Q5 7 h* E+ u' g6 u5 D8 XEquation Order of conductor 2 in Q5 8 j/ U* [/ h0 I" M$ @/ ]4 N6 BMaximal Order of Q57 B: J, `6 |% m. n/ X5 v3 H8 H
Quadratic Field with defining polynomial $.1^2 - 5 over the Rational Field$ B. n8 i! x3 \' t% Y; \
Order of conductor 625888888 in Q5 u2 a3 Z$ u+ W5 z8 Y# w3 X1 _, \
true Quadratic Field with defining polynomial $.1^2 - 5 over the Rational Field - N! m" F! q) i) I$ e+ P5 @true Maximal Order of Q5; W/ k. O$ G6 T) d- i
true Order of conductor 16 in Q50 D. c; c7 J/ v8 G" T$ u0 `' t7 M
true Order of conductor 625 in Q59 T; M+ M- B: \/ D( Q
true Order of conductor 391736900121876544 in Q5% I, |6 O! o- L D- T+ ^
[ & f( z8 R5 \% C5 | <w^2 - 3, 1> 2 j+ [/ b0 r* Z. S] , { w; o7 U) p& _5 B5 : a' [3 b! h1 e0 }5 [1/2*(-Q5.1 + 1)# ?* |; C0 v; J% p4 x( w$ A! G# y
-$.2 + 1 , J0 o( q" J* o3 p9 i7 T8 r5! V+ X4 x* W% @% x
Q5.1 * ?1 N# L' S; G( l5 T$.2 ; n4 K! b1 H7 y3 g3 {, U8 Q0 \0 S1& w5 E) B8 F( M$ \* P# z
Abelian Group of order 1% n: B" V5 I+ i. c$ N2 F) R8 r7 `
Mapping from: Abelian Group of order 1 to Set of ideals of M b9 W9 x8 G) b5 EAbelian Group of order 1 " @/ i4 G$ q( u9 b( a3 LMapping from: Abelian Group of order 1 to Set of ideals of M. D5 B4 G7 Z: w) R
1 : |2 {0 N5 R! m& a+ a1$ ^. @- E5 i' G( @: `" A% s
Abelian Group of order 1 ( q$ x+ |/ M5 R: q: ]Mapping from: Abelian Group of order 1 to Set of ideals of M given by a rule [no: x. R5 R: j* H# @; Q
inverse] 2 J8 W5 q& A- @. Q4 T Y0 o7 O1 $ k2 r( x0 |* y1 T$ G* nAbelian Group of order 1* O- i- R7 c+ d- j
Mapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant 7 S* x8 S7 P- I5 }5 given by a rule [no inverse]$ O4 A2 R0 M7 s9 @6 ^, j+ a$ c
Abelian Group of order 1) A7 B' O! ?5 T X6 `! W! F
Mapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant9 R: W/ \: r8 V; N" z8 n. U
5 given by a rule [no inverse]/ B8 i2 l! V: }6 x, z
true [ 1/2*(Q5.1 + 5) ] 6 F& e, S2 _' o5 Ytrue [ -2*$.2 + 1 ]7 J* d4 s, U J5 q {2 g8 O% `
6 x8 u; Z/ y; o- gQuadratic Field with defining polynomial $.1^2 - 2 over the Rational Field: |" f/ Q7 {# a0 j1 C
Univariate Polynomial Ring in w over Q5 ! z: e- A' X; Q/ e$ D1 S3 r5 Z3 yEquation Order of conductor 1 in Q5, B) R8 ~. O+ B; A
Maximal Equation Order of Q5 1 e2 A# p- F, T, q6 m6 Z, p$ \; ` gQuadratic Field with defining polynomial $.1^2 - 2 over the Rational Field 7 u8 X- n* D5 j' eOrder of conductor 625888888 in Q5# r2 Q! e. f) u( |9 [* C2 i
true Quadratic Field with defining polynomial $.1^2 - 2 over the Rational Field: p; D+ m3 R. g; h' x! p
true Maximal Equation Order of Q51 q, c0 }! a& H8 K( E' |
true Order of conductor 1 in Q5 * ~& v6 q- ~- A0 J b* i# mtrue Order of conductor 1 in Q5 $ o) b; D+ Q) s' A) f" y% Mtrue Order of conductor 1 in Q5* L# C5 [1 F- s$ d8 Q
[ ' x _& m/ W8 d. @( z! ? <w - 5*Q5.1, 1>, 5 x9 q X3 E' h3 ?- j" w$ A <w + 5*Q5.1, 1> 6 }+ r6 G$ {0 s: N4 O]% K5 X/ J% M! u, L, f8 O
8" h1 s( q: k% U& U: z% G
Q5.1 + 11 b0 \3 G- o& q. t
$.2 + 1) o! S+ o Z# g4 ?# J7 C
8; l4 y/ _0 @' `, _+ Z) N
' C1 p( c; M; |& Z- o- _>> Name(M, 50);! d8 P5 z" L9 @. c
^ [( h, i$ j# sRuntime error in 'Name': Argument 2 (50) should be in the range [1 .. 1]% p1 A2 X0 _4 Z e. V7 r* _# _8 _
4 u9 h% S& c% L+ n. i) G. M1% m) z- f! W: r1 }: ?# M9 d
Abelian Group of order 1 * `! y N. |' R/ r2 B SMapping from: Abelian Group of order 1 to Set of ideals of M, y. v, Y s+ U
Abelian Group of order 1 ' y! W% b4 x2 m- OMapping from: Abelian Group of order 1 to Set of ideals of M : P2 p! f- A5 L5 e. |1 ! @5 r" {1 ^+ X, \! @' ?: a1) f2 a2 v5 j; B% e* T+ G/ R3 N
Abelian Group of order 1 8 W/ ~9 w/ z* X/ B: SMapping from: Abelian Group of order 1 to Set of ideals of M given by a rule [no, C' m$ V% E d" r' M" V/ E7 F
inverse]/ M$ C0 G3 E" @- @* N* P" I# K- c1 R
19 Y( e' z( t) T& V- n! N
Abelian Group of order 1 5 U: e' _: {3 e! D9 K: K9 WMapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant5 {& G" g+ ~6 c2 u
8 given by a rule [no inverse]& _; L3 N4 A" o- V
Abelian Group of order 1 - \! x. ?; J) b( z" W6 u: fMapping from: Abelian Group of order 1 to Binary quadratic forms of discriminant. Q0 ~2 o0 m2 G/ M5 z
8 given by a rule [no inverse] N# R7 v4 j3 e/ c$ I
true [ 5*Q5.1 + 10 ] ) y% N3 T3 s1 n) N# Wtrue [ -5*$.2 ]