Closed pjbruin closed 9 years ago
Dirichlet characters modulo 2 are printed in a strange way:
sage: DirichletGroup(2)[0] Dirichlet character modulo 2 of conductor 1 mapping
After #17337, this also happens for Dirichlet characters modulo 1.
This ticket makes Dirichlet characters modulo 1 and 2 print as
sage: DirichletGroup(1)[0] Dirichlet character modulo 1 of conductor 1 sage: DirichletGroup(2)[0] Dirichlet character modulo 2 of conductor 1
and uses the mapping ... only for conductors >= 3:
mapping ...
sage: DirichletGroup(3)[1] Dirichlet character modulo 3 of conductor 1 mapping 2 |--> -1
Depends on #17337
CC: @jdemeyer
Component: number theory
Keywords: Dirichlet characters
Author: Peter Bruin
Branch/Commit: f431aad
f431aad
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/17338
Branch: u/pbruin/17338-DirichletCharacter_printing
Commit: f431aad
Changed branch from u/pbruin/17338-DirichletCharacter_printing to f431aad
Dirichlet characters modulo 2 are printed in a strange way:
After #17337, this also happens for Dirichlet characters modulo 1.
This ticket makes Dirichlet characters modulo 1 and 2 print as
and uses the
mapping ...
only for conductors >= 3:Depends on #17337
CC: @jdemeyer
Component: number theory
Keywords: Dirichlet characters
Author: Peter Bruin
Branch/Commit:
f431aad
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/17338