Translation problem between Sage and Gap for cyclotomic field
Something strange is happening with the command CyclotomicField? and the order of the associated generator. Everything works very well for n which is different from 2 mod 4 but does not work for n =2 mod 4 as seen in the following lines.
This is right:
sage: K7.<s> = CyclotomicField(7)
sage: gap(K7)
CF(7)
sage: gap(s)
E(7)
sage: K7(_)
s
This is wrong
sage: K6.<s> = CyclotomicField(6)
sage: gap(K6)
CF(3)
sage: gap(s) # this is wrong!
E(3)
sage: K6(_) # coherent with above
s  1
Note that the following works fine
sage: UCF = UniversalCyclotomicField()
sage: UCF(s)
E(3)^2
sage: K6(_)
s
Change History (22)
Milestone: 
sage6.1 →
sage6.2

Milestone: 
sage6.2 →
sage6.3

Description: 
modified (diff)

Description: 
modified (diff)

Milestone: 
sage6.3 →
sage6.4

Stopgaps: 
→ incorrectAnswerMarker

Authors: 
Vincent Beck

Description: 
modified (diff)

Milestone: 
sage6.4 →
sage7.3

Authors: 
→ u/vdelecroix/15276

Status: 
new →
needs_review

Stopgaps: 
incorrectAnswerMarker

Authors: 
u/vdelecroix/15276 →
Vincent Delecroix

Branch: 
→ u/vdelecroix/15276

Commit: 
→ 35df7dda766c0fc46eacdbcb0a7fb7b1f1bd6fe6

Status: 
needs_review →
needs_work

Commit: 
35df7dda766c0fc46eacdbcb0a7fb7b1f1bd6fe6 →
5db5bf3d792f9d14a864fb4054d1a7a60f73bd5d

Status: 
needs_work →
needs_review

Cc: 
Volker Braun JeanPhilippe Labbé Christian Stump added

Status: 
needs_review →
needs_work

Commit: 
5db5bf3d792f9d14a864fb4054d1a7a60f73bd5d →
7abb3560849ca3337f2cf4528eb418b34c8ca7ab

Status: 
needs_work →
needs_review

Reviewers: 
→ Frédéric Chapoton

Status: 
needs_review →
positive_review

Branch: 
u/vdelecroix/15276 →
7abb3560849ca3337f2cf4528eb418b34c8ca7ab

Resolution: 
→ fixed

Status: 
positive_review →
closed

better presentation.