sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1045, base_ring=CyclotomicField(180))
M = H._module
chi = DirichletCharacter(H, M([135,144,170]))
gp:[g,chi] = znchar(Mod(333, 1045))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1045.333");
| Modulus: | \(1045\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1045\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(180\) |
sage:chi.multiplicative_order()
gp:charorder(g,chi)
magma:Order(chi);
|
| Real: | no |
sage:chi.multiplicative_order() <= 2
gp:charorder(g,chi) <= 2
magma:Order(chi) le 2;
|
| Primitive: | yes |
sage:chi.is_primitive()
gp:#znconreyconductor(g,chi)==1
magma:IsPrimitive(chi);
|
| Minimal: | yes |
| Parity: | even |
sage:chi.is_odd()
gp:zncharisodd(g,chi)
magma:IsOdd(chi);
|
\(\chi_{1045}(3,\cdot)\)
\(\chi_{1045}(48,\cdot)\)
\(\chi_{1045}(53,\cdot)\)
\(\chi_{1045}(97,\cdot)\)
\(\chi_{1045}(108,\cdot)\)
\(\chi_{1045}(147,\cdot)\)
\(\chi_{1045}(148,\cdot)\)
\(\chi_{1045}(192,\cdot)\)
\(\chi_{1045}(203,\cdot)\)
\(\chi_{1045}(212,\cdot)\)
\(\chi_{1045}(223,\cdot)\)
\(\chi_{1045}(257,\cdot)\)
\(\chi_{1045}(262,\cdot)\)
\(\chi_{1045}(268,\cdot)\)
\(\chi_{1045}(317,\cdot)\)
\(\chi_{1045}(333,\cdot)\)
\(\chi_{1045}(357,\cdot)\)
\(\chi_{1045}(383,\cdot)\)
\(\chi_{1045}(412,\cdot)\)
\(\chi_{1045}(432,\cdot)\)
\(\chi_{1045}(433,\cdot)\)
\(\chi_{1045}(477,\cdot)\)
\(\chi_{1045}(478,\cdot)\)
\(\chi_{1045}(488,\cdot)\)
\(\chi_{1045}(542,\cdot)\)
\(\chi_{1045}(553,\cdot)\)
\(\chi_{1045}(592,\cdot)\)
\(\chi_{1045}(603,\cdot)\)
\(\chi_{1045}(642,\cdot)\)
\(\chi_{1045}(687,\cdot)\)
...
sage:chi.galois_orbit()
gp:order = charorder(g,chi)
[ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]
magma:order := Order(chi);
{ chi^k : k in [1..order-1] | GCD(k,order) eq 1 };
\((837,761,496)\) → \((-i,e\left(\frac{4}{5}\right),e\left(\frac{17}{18}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(6\) | \(7\) | \(8\) | \(9\) | \(12\) | \(13\) | \(14\) |
| \( \chi_{ 1045 }(333, a) \) |
\(1\) | \(1\) | \(e\left(\frac{89}{180}\right)\) | \(e\left(\frac{167}{180}\right)\) | \(e\left(\frac{89}{90}\right)\) | \(e\left(\frac{19}{45}\right)\) | \(e\left(\frac{1}{60}\right)\) | \(e\left(\frac{29}{60}\right)\) | \(e\left(\frac{77}{90}\right)\) | \(e\left(\frac{11}{12}\right)\) | \(e\left(\frac{139}{180}\right)\) | \(e\left(\frac{23}{45}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)