Related objects

Learn more about

Show commands for: Pari/GP / SageMath
sage: from dirichlet_conrey import DirichletGroup_conrey # requires nonstandard Sage package to be installed
sage: H = DirichletGroup_conrey(118354)
sage: chi = H[1]
pari: [g,chi] = znchar(Mod(1,118354))

Basic properties

Modulus: \(118354\)
Conductor: \(1\)
sage: chi.conductor()
pari: znconreyconductor(g,chi)
Order: \(1\)
sage: chi.multiplicative_order()
pari: charorder(g,chi)
Real: yes
Primitive: no, induced from \(\chi_{1}(None,\cdot)\)
sage: chi.is_primitive()
pari: #znconreyconductor(g,chi)==1 \\ if not primitive returns [cond,factorization]
Parity: even
sage: chi.is_odd()
pari: zncharisodd(g,chi)

Galois orbit 118354.


sage: chi.galois_orbit()
pari: order = charorder(g,chi)
pari: [ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]

Related number fields

Field of values: \(\Q\)