sage: x = polygen(QQ); K.<a> = NumberField(x^24 - 7*x^23 + 103*x^22 - 4684*x^21 + 42792*x^20 - 604234*x^19 + 11225948*x^18 - 78745502*x^17 + 1051548701*x^16 - 14383137583*x^15 + 85657689791*x^14 - 1003459690667*x^13 + 8787147531598*x^12 - 36282628808304*x^11 + 256040228284787*x^10 - 322407516412444*x^9 + 1013019224328463*x^8 + 66615430857564618*x^7 - 632051043110538544*x^6 - 5702081496796538363*x^5 - 10851373311045042219*x^4 + 92249536788217761648*x^3 + 1122067748117692054268*x^2 + 3802216454740899657001*x + 1175531490184802981207)
gp: K = bnfinit(y^24 - 7*y^23 + 103*y^22 - 4684*y^21 + 42792*y^20 - 604234*y^19 + 11225948*y^18 - 78745502*y^17 + 1051548701*y^16 - 14383137583*y^15 + 85657689791*y^14 - 1003459690667*y^13 + 8787147531598*y^12 - 36282628808304*y^11 + 256040228284787*y^10 - 322407516412444*y^9 + 1013019224328463*y^8 + 66615430857564618*y^7 - 632051043110538544*y^6 - 5702081496796538363*y^5 - 10851373311045042219*y^4 + 92249536788217761648*y^3 + 1122067748117692054268*y^2 + 3802216454740899657001*y + 1175531490184802981207, 1)
magma: R<x> := PolynomialRing(Rationals()); K<a> := NumberField(x^24 - 7*x^23 + 103*x^22 - 4684*x^21 + 42792*x^20 - 604234*x^19 + 11225948*x^18 - 78745502*x^17 + 1051548701*x^16 - 14383137583*x^15 + 85657689791*x^14 - 1003459690667*x^13 + 8787147531598*x^12 - 36282628808304*x^11 + 256040228284787*x^10 - 322407516412444*x^9 + 1013019224328463*x^8 + 66615430857564618*x^7 - 632051043110538544*x^6 - 5702081496796538363*x^5 - 10851373311045042219*x^4 + 92249536788217761648*x^3 + 1122067748117692054268*x^2 + 3802216454740899657001*x + 1175531490184802981207);
oscar: Qx, x = polynomial_ring(QQ); K, a = number_field(x^24 - 7*x^23 + 103*x^22 - 4684*x^21 + 42792*x^20 - 604234*x^19 + 11225948*x^18 - 78745502*x^17 + 1051548701*x^16 - 14383137583*x^15 + 85657689791*x^14 - 1003459690667*x^13 + 8787147531598*x^12 - 36282628808304*x^11 + 256040228284787*x^10 - 322407516412444*x^9 + 1013019224328463*x^8 + 66615430857564618*x^7 - 632051043110538544*x^6 - 5702081496796538363*x^5 - 10851373311045042219*x^4 + 92249536788217761648*x^3 + 1122067748117692054268*x^2 + 3802216454740899657001*x + 1175531490184802981207)
\( x^{24} - 7 x^{23} + 103 x^{22} - 4684 x^{21} + 42792 x^{20} - 604234 x^{19} + 11225948 x^{18} + \cdots + 11\!\cdots\!07 \)
sage: K.defining_polynomial()
gp: K.pol
magma: DefiningPolynomial(K);
oscar: defining_polynomial(K)
Degree : $24$
sage: K.degree()
gp: poldegree(K.pol)
magma: Degree(K);
oscar: degree(K)
Signature : $(4, 10)$
sage: K.signature()
gp: K.sign
magma: Signature(K);
oscar: signature(K)
Discriminant :
\(52912165668287367688067162825230050544672851174254901707172393798828125\)
\(\medspace = 5^{39}\cdot 149^{20}\)
sage: K.disc()
gp: K.disc
magma: OK := Integers(K); Discriminant(OK);
oscar: OK = ring_of_integers(K); discriminant(OK)
Root discriminant : \(884.74\)
sage: (K.disc().abs())^(1./K.degree())
gp: abs(K.disc)^(1/poldegree(K.pol))
magma: Abs(Discriminant(OK))^(1/Degree(K));
oscar: OK = ring_of_integers(K);
(1.0 * abs(discriminant(OK)))^(1/degree(K))
Galois root discriminant : $5^{39/20}149^{9/10}\approx 2083.814952609198$
Ramified primes :
\(5\), \(149\)
sage: K.disc().support()
gp: factor(abs(K.disc))[,1]~
magma: PrimeDivisors(Discriminant(OK));
oscar: prime_divisors(discriminant(OK))
Discriminant root field : \(\Q(\sqrt{5}) \)
$\Aut(K/\Q)$ :
$C_4$
sage: K.automorphisms()
magma: Automorphisms(K);
oscar: automorphism_group(K)
This field is not Galois over $\Q$.
This is not a CM field .
This field has no CM subfields.
$1$, $a$, $a^{2}$, $a^{3}$, $a^{4}$, $a^{5}$, $a^{6}$, $a^{7}$, $a^{8}$, $a^{9}$, $a^{10}$, $a^{11}$, $a^{12}$, $a^{13}$, $a^{14}$, $a^{15}$, $a^{16}$, $a^{17}$, $a^{18}$, $a^{19}$, $\frac{1}{2}a^{20}-\frac{1}{2}a^{18}-\frac{1}{2}a^{17}-\frac{1}{2}a^{14}-\frac{1}{2}a^{12}-\frac{1}{2}a^{9}-\frac{1}{2}a^{6}-\frac{1}{2}a^{4}-\frac{1}{2}a^{3}-\frac{1}{2}a-\frac{1}{2}$, $\frac{1}{2}a^{21}-\frac{1}{2}a^{19}-\frac{1}{2}a^{18}-\frac{1}{2}a^{15}-\frac{1}{2}a^{13}-\frac{1}{2}a^{10}-\frac{1}{2}a^{7}-\frac{1}{2}a^{5}-\frac{1}{2}a^{4}-\frac{1}{2}a^{2}-\frac{1}{2}a$, $\frac{1}{70}a^{22}+\frac{3}{14}a^{21}+\frac{17}{70}a^{20}+\frac{2}{7}a^{19}+\frac{1}{14}a^{18}-\frac{1}{5}a^{17}+\frac{1}{14}a^{16}-\frac{33}{70}a^{15}+\frac{3}{14}a^{14}-\frac{3}{14}a^{13}+\frac{13}{35}a^{12}+\frac{3}{14}a^{11}-\frac{33}{70}a^{10}+\frac{3}{7}a^{9}+\frac{1}{14}a^{8}-\frac{9}{70}a^{7}-\frac{3}{14}a^{6}-\frac{4}{35}a^{5}-\frac{3}{14}a^{4}-\frac{5}{14}a^{3}-\frac{2}{35}a^{2}+\frac{5}{14}a+\frac{16}{35}$, $\frac{1}{10\cdots 50}a^{23}+\frac{15\cdots 19}{98\cdots 50}a^{22}+\frac{23\cdots 47}{10\cdots 50}a^{21}-\frac{10\cdots 63}{77\cdots 75}a^{20}-\frac{23\cdots 87}{30\cdots 10}a^{19}-\frac{21\cdots 77}{54\cdots 25}a^{18}+\frac{81\cdots 59}{10\cdots 50}a^{17}-\frac{14\cdots 33}{10\cdots 50}a^{16}-\frac{42\cdots 77}{10\cdots 50}a^{15}+\frac{62\cdots 17}{21\cdots 70}a^{14}+\frac{28\cdots 84}{77\cdots 75}a^{13}-\frac{16\cdots 51}{10\cdots 50}a^{12}-\frac{72\cdots 99}{15\cdots 50}a^{11}-\frac{87\cdots 46}{54\cdots 25}a^{10}+\frac{26\cdots 43}{21\cdots 70}a^{9}+\frac{42\cdots 21}{10\cdots 50}a^{8}+\frac{14\cdots 49}{10\cdots 50}a^{7}-\frac{12\cdots 99}{54\cdots 25}a^{6}+\frac{37\cdots 13}{10\cdots 50}a^{5}-\frac{95\cdots 11}{21\cdots 70}a^{4}-\frac{19\cdots 12}{54\cdots 25}a^{3}+\frac{86\cdots 39}{10\cdots 50}a^{2}+\frac{14\cdots 96}{54\cdots 25}a+\frac{16\cdots 49}{54\cdots 25}$
sage: K.integral_basis()
gp: K.zk
magma: IntegralBasis(K);
oscar: basis(OK)
Ideal class group : not computed
sage: K.class_group().invariants()
gp: K.clgp
magma: ClassGroup(K);
oscar: class_group(K)
Narrow class group : not computed
sage: K.narrow_class_group().invariants()
gp: bnfnarrow(K)
magma: NarrowClassGroup(K);
sage: UK = K.unit_group()
magma: UK, fUK := UnitGroup(K);
oscar: UK, fUK = unit_group(OK)
Rank : $13$
sage: UK.rank()
gp: K.fu
magma: UnitRank(K);
oscar: rank(UK)
Torsion generator :
\( -1 \)
(order $2$)
sage: UK.torsion_generator()
gp: K.tu[2]
magma: K!f(TU.1) where TU,f is TorsionUnitGroup(K);
oscar: torsion_units_generator(OK)
Fundamental units : not computed
sage: UK.fundamental_units()
gp: K.fu
magma: [K|fUK(g): g in Generators(UK)];
oscar: [K(fUK(a)) for a in gens(UK)]
Regulator : not computed
sage: K.regulator()
gp: K.reg
magma: Regulator(K);
oscar: regulator(K)
Unit signature rank : not computed
\[
\begin{aligned}\lim_{s\to 1} (s-1)\zeta_K(s) =\mathstrut & \frac{2^{r_1}\cdot (2\pi)^{r_2}\cdot R\cdot h}{w\cdot\sqrt{|D|}}\cr = \mathstrut &\frac{2^{4}\cdot(2\pi)^{10}\cdot R \cdot h}{2\cdot\sqrt{52912165668287367688067162825230050544672851174254901707172393798828125}}\cr\mathstrut & \text{
some values not computed }
\end{aligned}\]
sage: # self-contained SageMath code snippet to compute the analytic class number formula
x = polygen(QQ); K.<a> = NumberField(x^24 - 7*x^23 + 103*x^22 - 4684*x^21 + 42792*x^20 - 604234*x^19 + 11225948*x^18 - 78745502*x^17 + 1051548701*x^16 - 14383137583*x^15 + 85657689791*x^14 - 1003459690667*x^13 + 8787147531598*x^12 - 36282628808304*x^11 + 256040228284787*x^10 - 322407516412444*x^9 + 1013019224328463*x^8 + 66615430857564618*x^7 - 632051043110538544*x^6 - 5702081496796538363*x^5 - 10851373311045042219*x^4 + 92249536788217761648*x^3 + 1122067748117692054268*x^2 + 3802216454740899657001*x + 1175531490184802981207)
DK = K.disc(); r1,r2 = K.signature(); RK = K.regulator(); RR = RK.parent()
hK = K.class_number(); wK = K.unit_group().torsion_generator().order();
2^r1 * (2*RR(pi))^r2 * RK * hK / (wK * RR(sqrt(abs(DK))))
gp: \\ self-contained Pari/GP code snippet to compute the analytic class number formula
K = bnfinit(x^24 - 7*x^23 + 103*x^22 - 4684*x^21 + 42792*x^20 - 604234*x^19 + 11225948*x^18 - 78745502*x^17 + 1051548701*x^16 - 14383137583*x^15 + 85657689791*x^14 - 1003459690667*x^13 + 8787147531598*x^12 - 36282628808304*x^11 + 256040228284787*x^10 - 322407516412444*x^9 + 1013019224328463*x^8 + 66615430857564618*x^7 - 632051043110538544*x^6 - 5702081496796538363*x^5 - 10851373311045042219*x^4 + 92249536788217761648*x^3 + 1122067748117692054268*x^2 + 3802216454740899657001*x + 1175531490184802981207, 1);
[polcoeff (lfunrootres (lfuncreate (K))[1][1][2], -1), 2^K.r1 * (2*Pi)^K.r2 * K.reg * K.no / (K.tu[1] * sqrt (abs (K.disc)))]
magma: /* self-contained Magma code snippet to compute the analytic class number formula */
Qx<x> := PolynomialRing(Rationals()); K<a> := NumberField(x^24 - 7*x^23 + 103*x^22 - 4684*x^21 + 42792*x^20 - 604234*x^19 + 11225948*x^18 - 78745502*x^17 + 1051548701*x^16 - 14383137583*x^15 + 85657689791*x^14 - 1003459690667*x^13 + 8787147531598*x^12 - 36282628808304*x^11 + 256040228284787*x^10 - 322407516412444*x^9 + 1013019224328463*x^8 + 66615430857564618*x^7 - 632051043110538544*x^6 - 5702081496796538363*x^5 - 10851373311045042219*x^4 + 92249536788217761648*x^3 + 1122067748117692054268*x^2 + 3802216454740899657001*x + 1175531490184802981207);
OK := Integers(K); DK := Discriminant(OK);
UK, fUK := UnitGroup(OK); clK, fclK := ClassGroup(OK);
r1,r2 := Signature(K); RK := Regulator(K); RR := Parent(RK);
hK := #clK; wK := #TorsionSubgroup(UK);
2^r1 * (2*Pi(RR))^r2 * RK * hK / (wK * Sqrt(RR!Abs(DK)));
oscar: # self-contained Oscar code snippet to compute the analytic class number formula
Qx, x = polynomial_ring(QQ); K, a = number_field(x^24 - 7*x^23 + 103*x^22 - 4684*x^21 + 42792*x^20 - 604234*x^19 + 11225948*x^18 - 78745502*x^17 + 1051548701*x^16 - 14383137583*x^15 + 85657689791*x^14 - 1003459690667*x^13 + 8787147531598*x^12 - 36282628808304*x^11 + 256040228284787*x^10 - 322407516412444*x^9 + 1013019224328463*x^8 + 66615430857564618*x^7 - 632051043110538544*x^6 - 5702081496796538363*x^5 - 10851373311045042219*x^4 + 92249536788217761648*x^3 + 1122067748117692054268*x^2 + 3802216454740899657001*x + 1175531490184802981207);
OK = ring_of_integers(K); DK = discriminant(OK);
UK, fUK = unit_group(OK); clK, fclK = class_group(OK);
r1,r2 = signature(K); RK = regulator(K); RR = parent(RK);
hK = order(clK); wK = torsion_units_order(K);
2^r1 * (2*pi)^r2 * RK * hK / (wK * sqrt(RR(abs(DK))))
$\GL(2,5)$ (as 24T1353 ):
sage: K.galois_group()
gp: polgalois(K.pol)
magma: GaloisGroup(K);
oscar: G, Gtx = galois_group(K);
degree(K) > 1 ? (G, transitive_group_identification(G)) : (G, nothing)
Fields in the database are given up to isomorphism. Isomorphic
intermediate fields are shown with their multiplicities.
sage: K.subfields()[1:-1]
gp: L = nfsubfields(K); L[2..length(L)]
magma: L := Subfields(K); L[2..#L];
oscar: subfields(K)[2:end-1]
$p$
$2$
$3$
$5$
$7$
$11$
$13$
$17$
$19$
$23$
$29$
$31$
$37$
$41$
$43$
$47$
$53$
$59$
Cycle type
${\href{/padicField/2.8.0.1}{8} }^{3}$
$24$
R
${\href{/padicField/7.4.0.1}{4} }^{5}{,}\,{\href{/padicField/7.2.0.1}{2} }^{2}$
${\href{/padicField/11.5.0.1}{5} }^{4}{,}\,{\href{/padicField/11.1.0.1}{1} }^{4}$
${\href{/padicField/13.4.0.1}{4} }^{5}{,}\,{\href{/padicField/13.1.0.1}{1} }^{4}$
${\href{/padicField/17.8.0.1}{8} }^{3}$
$20{,}\,{\href{/padicField/19.4.0.1}{4} }$
${\href{/padicField/23.4.0.1}{4} }^{5}{,}\,{\href{/padicField/23.1.0.1}{1} }^{4}$
${\href{/padicField/29.12.0.1}{12} }^{2}$
${\href{/padicField/31.5.0.1}{5} }^{4}{,}\,{\href{/padicField/31.1.0.1}{1} }^{4}$
$24$
${\href{/padicField/41.6.0.1}{6} }^{4}$
${\href{/padicField/43.8.0.1}{8} }^{3}$
${\href{/padicField/47.4.0.1}{4} }^{5}{,}\,{\href{/padicField/47.2.0.1}{2} }^{2}$
${\href{/padicField/53.4.0.1}{4} }^{5}{,}\,{\href{/padicField/53.2.0.1}{2} }^{2}$
$20{,}\,{\href{/padicField/59.4.0.1}{4} }$
In the table, R denotes a ramified prime.
Cycle lengths which are repeated in a cycle type are indicated by
exponents.
sage: # to obtain a list of [e_i,f_i] for the factorization of the ideal pO_K for p=7 in Sage:
p = 7; [(e, pr.norm().valuation(p)) for pr,e in K.factor(p)]
gp: \\ to obtain a list of [e_i,f_i] for the factorization of the ideal pO_K for p=7 in Pari:
p = 7; pfac = idealprimedec(K, p); vector(length(pfac), j, [pfac[j][3], pfac[j][4]])
magma: // to obtain a list of [e_i,f_i] for the factorization of the ideal pO_K for p=7 in Magma:
p := 7; [<pr[2], Valuation(Norm(pr[1]), p)> : pr in Factorization(p*Integers(K))];
oscar: # to obtain a list of [e_i,f_i] for the factorization of the ideal pO_K for p=7 in Oscar:
p = 7; pfac = factor(ideal(ring_of_integers(K), p)); [(e, valuation(norm(pr),p)) for (pr,e) in pfac]
(0) (0) (2) (3) (5) (7) (11) (13) (17) (19) (23) (29) (31) (37) (41) (43) (47) (53) (59)