kummer-degrees

Compute the degree of Kummer extensions
git clone https://git.tronto.net/kummer-degrees
Download | Log | Files | Refs | README | LICENSE

commit 64cf98091a3ae75ff0566f378644e28ae93e7b60
parent 1437da00eeb4a7581df1b54ffc7680ffb491d690
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date:   Tue, 29 Jun 2021 17:04:25 +0200

Fixed some mistakes in special_element

Diffstat:
Mkummer_degree.sage | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kummer_degree.sage b/kummer_degree.sage @@ -173,8 +173,8 @@ def cyc_embed( b ): # Computes the minimal cyclotomic field containing \zeta_{2^n}\sqrt(b), # where (n,b)=p def special_embed( p ): - n = p.first - n = p.second + n = p[0] + b = p[1] m = squarefree_part(b) if n == 3 and m % 2 == 0: return 4 * cyc_embed(m/2)