Properties

Label 42.42.538...413.1
Degree $42$
Signature $[42, 0]$
Discriminant $5.390\times 10^{88}$
Root discriminant \(129.62\)
Ramified primes $13,43$
Class number not computed
Class group not computed
Galois group $C_{42}$ (as 42T1)

Related objects

Downloads

Learn more

Show commands: Magma / Oscar / PariGP / SageMath

Normalized defining polynomial

sage: x = polygen(QQ); K.<a> = NumberField(x^42 - 19*x^41 + 67*x^40 + 912*x^39 - 7330*x^38 - 9004*x^37 + 242768*x^36 - 354937*x^35 - 4111051*x^34 + 13158257*x^33 + 37396197*x^32 - 210312450*x^31 - 118867851*x^30 + 2001195013*x^29 - 1223049156*x^28 - 12031497467*x^27 + 18144473160*x^26 + 43891669705*x^25 - 114224542965*x^24 - 73238296287*x^23 + 422057640901*x^22 - 103722614436*x^21 - 932184067908*x^20 + 846517600196*x^19 + 1066146428349*x^18 - 1945232843680*x^17 - 118443932597*x^16 + 2136571761785*x^15 - 1169869610784*x^14 - 902235266041*x^13 + 1219560360804*x^12 - 208132634006*x^11 - 383301896284*x^10 + 253863699706*x^9 - 20445279017*x^8 - 39826718532*x^7 + 18233137259*x^6 - 2197742173*x^5 - 610194213*x^4 + 244358694*x^3 - 30584885*x^2 + 1039861*x + 44461)
 
gp: K = bnfinit(y^42 - 19*y^41 + 67*y^40 + 912*y^39 - 7330*y^38 - 9004*y^37 + 242768*y^36 - 354937*y^35 - 4111051*y^34 + 13158257*y^33 + 37396197*y^32 - 210312450*y^31 - 118867851*y^30 + 2001195013*y^29 - 1223049156*y^28 - 12031497467*y^27 + 18144473160*y^26 + 43891669705*y^25 - 114224542965*y^24 - 73238296287*y^23 + 422057640901*y^22 - 103722614436*y^21 - 932184067908*y^20 + 846517600196*y^19 + 1066146428349*y^18 - 1945232843680*y^17 - 118443932597*y^16 + 2136571761785*y^15 - 1169869610784*y^14 - 902235266041*y^13 + 1219560360804*y^12 - 208132634006*y^11 - 383301896284*y^10 + 253863699706*y^9 - 20445279017*y^8 - 39826718532*y^7 + 18233137259*y^6 - 2197742173*y^5 - 610194213*y^4 + 244358694*y^3 - 30584885*y^2 + 1039861*y + 44461, 1)
 
magma: R<x> := PolynomialRing(Rationals()); K<a> := NumberField(x^42 - 19*x^41 + 67*x^40 + 912*x^39 - 7330*x^38 - 9004*x^37 + 242768*x^36 - 354937*x^35 - 4111051*x^34 + 13158257*x^33 + 37396197*x^32 - 210312450*x^31 - 118867851*x^30 + 2001195013*x^29 - 1223049156*x^28 - 12031497467*x^27 + 18144473160*x^26 + 43891669705*x^25 - 114224542965*x^24 - 73238296287*x^23 + 422057640901*x^22 - 103722614436*x^21 - 932184067908*x^20 + 846517600196*x^19 + 1066146428349*x^18 - 1945232843680*x^17 - 118443932597*x^16 + 2136571761785*x^15 - 1169869610784*x^14 - 902235266041*x^13 + 1219560360804*x^12 - 208132634006*x^11 - 383301896284*x^10 + 253863699706*x^9 - 20445279017*x^8 - 39826718532*x^7 + 18233137259*x^6 - 2197742173*x^5 - 610194213*x^4 + 244358694*x^3 - 30584885*x^2 + 1039861*x + 44461);
 
oscar: Qx, x = PolynomialRing(QQ); K, a = NumberField(x^42 - 19*x^41 + 67*x^40 + 912*x^39 - 7330*x^38 - 9004*x^37 + 242768*x^36 - 354937*x^35 - 4111051*x^34 + 13158257*x^33 + 37396197*x^32 - 210312450*x^31 - 118867851*x^30 + 2001195013*x^29 - 1223049156*x^28 - 12031497467*x^27 + 18144473160*x^26 + 43891669705*x^25 - 114224542965*x^24 - 73238296287*x^23 + 422057640901*x^22 - 103722614436*x^21 - 932184067908*x^20 + 846517600196*x^19 + 1066146428349*x^18 - 1945232843680*x^17 - 118443932597*x^16 + 2136571761785*x^15 - 1169869610784*x^14 - 902235266041*x^13 + 1219560360804*x^12 - 208132634006*x^11 - 383301896284*x^10 + 253863699706*x^9 - 20445279017*x^8 - 39826718532*x^7 + 18233137259*x^6 - 2197742173*x^5 - 610194213*x^4 + 244358694*x^3 - 30584885*x^2 + 1039861*x + 44461)
 

\( x^{42} - 19 x^{41} + 67 x^{40} + 912 x^{39} - 7330 x^{38} - 9004 x^{37} + 242768 x^{36} - 354937 x^{35} + \cdots + 44461 \) Copy content Toggle raw display

sage: K.defining_polynomial()
 
gp: K.pol
 
magma: DefiningPolynomial(K);
 
oscar: defining_polynomial(K)
 

Invariants

Degree:  $42$
sage: K.degree()
 
gp: poldegree(K.pol)
 
magma: Degree(K);
 
oscar: degree(K)
 
Signature:  $[42, 0]$
sage: K.signature()
 
gp: K.sign
 
magma: Signature(K);
 
oscar: signature(K)
 
Discriminant:   \(538\!\cdots\!413\) \(\medspace = 13^{21}\cdot 43^{40}\) Copy content Toggle raw display
sage: K.disc()
 
gp: K.disc
 
magma: OK := Integers(K); Discriminant(OK);
 
oscar: OK = ring_of_integers(K); discriminant(OK)
 
Root discriminant:  \(129.62\)
sage: (K.disc().abs())^(1./K.degree())
 
gp: abs(K.disc)^(1/poldegree(K.pol))
 
magma: Abs(Discriminant(OK))^(1/Degree(K));
 
oscar: (1.0 * dK)^(1/degree(K))
 
Galois root discriminant:  $13^{1/2}43^{20/21}\approx 129.6151955955181$
Ramified primes:   \(13\), \(43\) Copy content Toggle raw display
sage: K.disc().support()
 
gp: factor(abs(K.disc))[,1]~
 
magma: PrimeDivisors(Discriminant(OK));
 
oscar: prime_divisors(discriminant((OK)))
 
Discriminant root field:  \(\Q(\sqrt{13}) \)
$\card{ \Gal(K/\Q) }$:  $42$
sage: K.automorphisms()
 
magma: Automorphisms(K);
 
oscar: automorphisms(K)
 
This field is Galois and abelian over $\Q$.
Conductor:  \(559=13\cdot 43\)
Dirichlet character group:    $\lbrace$$\chi_{559}(1,·)$, $\chi_{559}(259,·)$, $\chi_{559}(391,·)$, $\chi_{559}(324,·)$, $\chi_{559}(14,·)$, $\chi_{559}(365,·)$, $\chi_{559}(272,·)$, $\chi_{559}(274,·)$, $\chi_{559}(532,·)$, $\chi_{559}(25,·)$, $\chi_{559}(547,·)$, $\chi_{559}(326,·)$, $\chi_{559}(38,·)$, $\chi_{559}(40,·)$, $\chi_{559}(298,·)$, $\chi_{559}(428,·)$, $\chi_{559}(53,·)$, $\chi_{559}(311,·)$, $\chi_{559}(441,·)$, $\chi_{559}(443,·)$, $\chi_{559}(181,·)$, $\chi_{559}(64,·)$, $\chi_{559}(66,·)$, $\chi_{559}(196,·)$, $\chi_{559}(454,·)$, $\chi_{559}(183,·)$, $\chi_{559}(79,·)$, $\chi_{559}(337,·)$, $\chi_{559}(339,·)$, $\chi_{559}(142,·)$, $\chi_{559}(90,·)$, $\chi_{559}(207,·)$, $\chi_{559}(92,·)$, $\chi_{559}(350,·)$, $\chi_{559}(144,·)$, $\chi_{559}(482,·)$, $\chi_{559}(103,·)$, $\chi_{559}(402,·)$, $\chi_{559}(246,·)$, $\chi_{559}(404,·)$, $\chi_{559}(508,·)$, $\chi_{559}(170,·)$$\rbrace$
This is not a CM field.

Integral basis (with respect to field generator \(a\))

$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}$, $a^{20}$, $a^{21}$, $a^{22}$, $a^{23}$, $a^{24}$, $a^{25}$, $a^{26}$, $a^{27}$, $a^{28}$, $a^{29}$, $a^{30}$, $a^{31}$, $a^{32}$, $a^{33}$, $a^{34}$, $a^{35}$, $a^{36}$, $a^{37}$, $a^{38}$, $a^{39}$, $\frac{1}{59775013457}a^{40}+\frac{3845516951}{59775013457}a^{39}+\frac{24582110822}{59775013457}a^{38}+\frac{17477751692}{59775013457}a^{37}+\frac{18621141935}{59775013457}a^{36}+\frac{2021997463}{59775013457}a^{35}-\frac{28575949981}{59775013457}a^{34}+\frac{23196676798}{59775013457}a^{33}-\frac{28860836890}{59775013457}a^{32}-\frac{12329561075}{59775013457}a^{31}+\frac{24830226425}{59775013457}a^{30}-\frac{29150613835}{59775013457}a^{29}-\frac{4255329489}{59775013457}a^{28}-\frac{16784453232}{59775013457}a^{27}-\frac{5490442125}{59775013457}a^{26}-\frac{21394202801}{59775013457}a^{25}+\frac{29167229584}{59775013457}a^{24}+\frac{23471829160}{59775013457}a^{23}-\frac{28403326286}{59775013457}a^{22}+\frac{5081802683}{59775013457}a^{21}+\frac{4191470145}{59775013457}a^{20}+\frac{19546845268}{59775013457}a^{19}-\frac{27526029838}{59775013457}a^{18}+\frac{20978766827}{59775013457}a^{17}+\frac{3479560153}{59775013457}a^{16}-\frac{14070163094}{59775013457}a^{15}-\frac{13775485550}{59775013457}a^{14}-\frac{10672725091}{59775013457}a^{13}-\frac{29328372407}{59775013457}a^{12}+\frac{14176900978}{59775013457}a^{11}-\frac{10857053946}{59775013457}a^{10}-\frac{23220625636}{59775013457}a^{9}+\frac{8143029247}{59775013457}a^{8}+\frac{16100542435}{59775013457}a^{7}+\frac{29446637782}{59775013457}a^{6}+\frac{18019114071}{59775013457}a^{5}+\frac{22322748817}{59775013457}a^{4}-\frac{22006793820}{59775013457}a^{3}+\frac{24907739021}{59775013457}a^{2}+\frac{24054892943}{59775013457}a+\frac{344396}{1344437}$, $\frac{1}{12\!\cdots\!33}a^{41}+\frac{74\!\cdots\!65}{12\!\cdots\!33}a^{40}+\frac{16\!\cdots\!85}{12\!\cdots\!33}a^{39}-\frac{12\!\cdots\!75}{12\!\cdots\!33}a^{38}+\frac{45\!\cdots\!54}{12\!\cdots\!33}a^{37}+\frac{30\!\cdots\!52}{12\!\cdots\!33}a^{36}+\frac{43\!\cdots\!37}{12\!\cdots\!33}a^{35}-\frac{61\!\cdots\!01}{12\!\cdots\!33}a^{34}+\frac{51\!\cdots\!02}{12\!\cdots\!33}a^{33}-\frac{58\!\cdots\!79}{12\!\cdots\!33}a^{32}+\frac{28\!\cdots\!33}{12\!\cdots\!33}a^{31}+\frac{36\!\cdots\!79}{12\!\cdots\!33}a^{30}-\frac{19\!\cdots\!28}{12\!\cdots\!33}a^{29}+\frac{60\!\cdots\!21}{12\!\cdots\!33}a^{28}-\frac{49\!\cdots\!74}{12\!\cdots\!33}a^{27}-\frac{11\!\cdots\!04}{12\!\cdots\!33}a^{26}+\frac{70\!\cdots\!98}{12\!\cdots\!33}a^{25}-\frac{18\!\cdots\!83}{12\!\cdots\!33}a^{24}-\frac{27\!\cdots\!47}{12\!\cdots\!33}a^{23}+\frac{46\!\cdots\!65}{12\!\cdots\!33}a^{22}+\frac{27\!\cdots\!07}{12\!\cdots\!33}a^{21}+\frac{31\!\cdots\!30}{12\!\cdots\!33}a^{20}+\frac{26\!\cdots\!79}{12\!\cdots\!33}a^{19}-\frac{27\!\cdots\!36}{12\!\cdots\!33}a^{18}+\frac{17\!\cdots\!14}{12\!\cdots\!33}a^{17}-\frac{33\!\cdots\!85}{12\!\cdots\!33}a^{16}+\frac{57\!\cdots\!63}{12\!\cdots\!33}a^{15}-\frac{38\!\cdots\!96}{12\!\cdots\!33}a^{14}+\frac{49\!\cdots\!00}{12\!\cdots\!33}a^{13}+\frac{55\!\cdots\!30}{12\!\cdots\!33}a^{12}-\frac{47\!\cdots\!25}{12\!\cdots\!33}a^{11}+\frac{36\!\cdots\!96}{12\!\cdots\!33}a^{10}-\frac{48\!\cdots\!48}{12\!\cdots\!33}a^{9}-\frac{50\!\cdots\!80}{12\!\cdots\!33}a^{8}+\frac{33\!\cdots\!21}{12\!\cdots\!33}a^{7}+\frac{46\!\cdots\!03}{12\!\cdots\!33}a^{6}-\frac{26\!\cdots\!30}{12\!\cdots\!33}a^{5}-\frac{50\!\cdots\!65}{12\!\cdots\!33}a^{4}-\frac{23\!\cdots\!94}{12\!\cdots\!33}a^{3}-\frac{29\!\cdots\!52}{12\!\cdots\!33}a^{2}+\frac{13\!\cdots\!54}{12\!\cdots\!33}a+\frac{10\!\cdots\!43}{28\!\cdots\!53}$ Copy content Toggle raw display

sage: K.integral_basis()
 
gp: K.zk
 
magma: IntegralBasis(K);
 
oscar: basis(OK)
 

Monogenic:  Not computed
Index:  $1$
Inessential primes:  None

Class group and class number

not computed

sage: K.class_group().invariants()
 
gp: K.clgp
 
magma: ClassGroup(K);
 
oscar: class_group(K)
 

Unit group

sage: UK = K.unit_group()
 
magma: UK, fUK := UnitGroup(K);
 
oscar: UK, fUK = unit_group(OK)
 
Rank:  $41$
sage: UK.rank()
 
gp: K.fu
 
magma: UnitRank(K);
 
oscar: rank(UK)
 
Torsion generator:   \( -1 \)  (order $2$) Copy content Toggle raw display
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)
 

Class number formula

\[ \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 $ not computed \end{aligned}\]

# self-contained SageMath code snippet to compute the analytic class number formula
 
x = polygen(QQ); K.<a> = NumberField(x^42 - 19*x^41 + 67*x^40 + 912*x^39 - 7330*x^38 - 9004*x^37 + 242768*x^36 - 354937*x^35 - 4111051*x^34 + 13158257*x^33 + 37396197*x^32 - 210312450*x^31 - 118867851*x^30 + 2001195013*x^29 - 1223049156*x^28 - 12031497467*x^27 + 18144473160*x^26 + 43891669705*x^25 - 114224542965*x^24 - 73238296287*x^23 + 422057640901*x^22 - 103722614436*x^21 - 932184067908*x^20 + 846517600196*x^19 + 1066146428349*x^18 - 1945232843680*x^17 - 118443932597*x^16 + 2136571761785*x^15 - 1169869610784*x^14 - 902235266041*x^13 + 1219560360804*x^12 - 208132634006*x^11 - 383301896284*x^10 + 253863699706*x^9 - 20445279017*x^8 - 39826718532*x^7 + 18233137259*x^6 - 2197742173*x^5 - 610194213*x^4 + 244358694*x^3 - 30584885*x^2 + 1039861*x + 44461)
 
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))))
 
# self-contained Pari/GP code snippet to compute the analytic class number formula
 
K = bnfinit(x^42 - 19*x^41 + 67*x^40 + 912*x^39 - 7330*x^38 - 9004*x^37 + 242768*x^36 - 354937*x^35 - 4111051*x^34 + 13158257*x^33 + 37396197*x^32 - 210312450*x^31 - 118867851*x^30 + 2001195013*x^29 - 1223049156*x^28 - 12031497467*x^27 + 18144473160*x^26 + 43891669705*x^25 - 114224542965*x^24 - 73238296287*x^23 + 422057640901*x^22 - 103722614436*x^21 - 932184067908*x^20 + 846517600196*x^19 + 1066146428349*x^18 - 1945232843680*x^17 - 118443932597*x^16 + 2136571761785*x^15 - 1169869610784*x^14 - 902235266041*x^13 + 1219560360804*x^12 - 208132634006*x^11 - 383301896284*x^10 + 253863699706*x^9 - 20445279017*x^8 - 39826718532*x^7 + 18233137259*x^6 - 2197742173*x^5 - 610194213*x^4 + 244358694*x^3 - 30584885*x^2 + 1039861*x + 44461, 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)))]
 
/* self-contained Magma code snippet to compute the analytic class number formula */
 
Qx<x> := PolynomialRing(QQ); K<a> := NumberField(x^42 - 19*x^41 + 67*x^40 + 912*x^39 - 7330*x^38 - 9004*x^37 + 242768*x^36 - 354937*x^35 - 4111051*x^34 + 13158257*x^33 + 37396197*x^32 - 210312450*x^31 - 118867851*x^30 + 2001195013*x^29 - 1223049156*x^28 - 12031497467*x^27 + 18144473160*x^26 + 43891669705*x^25 - 114224542965*x^24 - 73238296287*x^23 + 422057640901*x^22 - 103722614436*x^21 - 932184067908*x^20 + 846517600196*x^19 + 1066146428349*x^18 - 1945232843680*x^17 - 118443932597*x^16 + 2136571761785*x^15 - 1169869610784*x^14 - 902235266041*x^13 + 1219560360804*x^12 - 208132634006*x^11 - 383301896284*x^10 + 253863699706*x^9 - 20445279017*x^8 - 39826718532*x^7 + 18233137259*x^6 - 2197742173*x^5 - 610194213*x^4 + 244358694*x^3 - 30584885*x^2 + 1039861*x + 44461);
 
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)));
 
# self-contained Oscar code snippet to compute the analytic class number formula
 
Qx, x = PolynomialRing(QQ); K, a = NumberField(x^42 - 19*x^41 + 67*x^40 + 912*x^39 - 7330*x^38 - 9004*x^37 + 242768*x^36 - 354937*x^35 - 4111051*x^34 + 13158257*x^33 + 37396197*x^32 - 210312450*x^31 - 118867851*x^30 + 2001195013*x^29 - 1223049156*x^28 - 12031497467*x^27 + 18144473160*x^26 + 43891669705*x^25 - 114224542965*x^24 - 73238296287*x^23 + 422057640901*x^22 - 103722614436*x^21 - 932184067908*x^20 + 846517600196*x^19 + 1066146428349*x^18 - 1945232843680*x^17 - 118443932597*x^16 + 2136571761785*x^15 - 1169869610784*x^14 - 902235266041*x^13 + 1219560360804*x^12 - 208132634006*x^11 - 383301896284*x^10 + 253863699706*x^9 - 20445279017*x^8 - 39826718532*x^7 + 18233137259*x^6 - 2197742173*x^5 - 610194213*x^4 + 244358694*x^3 - 30584885*x^2 + 1039861*x + 44461);
 
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))))
 

Galois group

$C_{42}$ (as 42T1):

sage: K.galois_group(type='pari')
 
gp: polgalois(K.pol)
 
magma: G = GaloisGroup(K);
 
oscar: G, Gtx = galois_group(K); G, transitive_group_identification(G)
 
A cyclic group of order 42
The 42 conjugacy class representatives for $C_{42}$
Character table for $C_{42}$

Intermediate fields

\(\Q(\sqrt{13}) \), 3.3.1849.1, 6.6.7511105797.1, 7.7.6321363049.1, 14.14.2507407572395754328761947317.1, \(\Q(\zeta_{43})^+\)

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(b)]
 
magma: L := Subfields(K); L[2..#L];
 
oscar: subfields(K)[2:end-1]
 

Frobenius cycle types

$p$ $2$ $3$ $5$ $7$ $11$ $13$ $17$ $19$ $23$ $29$ $31$ $37$ $41$ $43$ $47$ $53$ $59$
Cycle type ${\href{/padicField/2.14.0.1}{14} }^{3}$ $21^{2}$ $42$ ${\href{/padicField/7.6.0.1}{6} }^{7}$ ${\href{/padicField/11.14.0.1}{14} }^{3}$ R $21^{2}$ $42$ $21^{2}$ $21^{2}$ $42$ ${\href{/padicField/37.6.0.1}{6} }^{7}$ ${\href{/padicField/41.14.0.1}{14} }^{3}$ R ${\href{/padicField/47.14.0.1}{14} }^{3}$ $21^{2}$ ${\href{/padicField/59.14.0.1}{14} }^{3}$

In the table, R denotes a ramified prime. Cycle lengths which are repeated in a cycle type are indicated by exponents.

# to obtain a list of $[e_i,f_i]$ for the factorization of the ideal $p\mathcal{O}_K$ for $p=7$ in Sage:
 
p = 7; [(e, pr.norm().valuation(p)) for pr,e in K.factor(p)]
 
\\ to obtain a list of $[e_i,f_i]$ for the factorization of the ideal $p\mathcal{O}_K$ for $p=7$ in Pari:
 
p = 7; pfac = idealprimedec(K, p); vector(length(pfac), j, [pfac[j][3], pfac[j][4]])
 
// to obtain a list of $[e_i,f_i]$ for the factorization of the ideal $p\mathcal{O}_K$ for $p=7 in Magma:
 
p := 7; [<pr[2], Valuation(Norm(pr[1]), p)> : pr in Factorization(p*Integers(K))];
 
# to obtain a list of $[e_i,f_i]$ for the factorization of the ideal $p\mathcal{O}_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]
 

Local algebras for ramified primes

$p$LabelPolynomial $e$ $f$ $c$ Galois group Slope content
\(13\) Copy content Toggle raw display Deg $42$$2$$21$$21$
\(43\) Copy content Toggle raw display 43.21.20.1$x^{21} + 43$$21$$1$$20$$C_{21}$$[\ ]_{21}$
43.21.20.1$x^{21} + 43$$21$$1$$20$$C_{21}$$[\ ]_{21}$