sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1002, base_ring=CyclotomicField(166))
M = H._module
chi = DirichletCharacter(H, M([0,57]))
gp:[g,chi] = znchar(Mod(271, 1002))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1002.271");
| Modulus: | \(1002\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(167\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(166\) |
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: | no, induced from \(\chi_{167}(104,\cdot)\) |
sage:chi.is_primitive()
gp:#znconreyconductor(g,chi)==1
magma:IsPrimitive(chi);
|
| Minimal: | yes |
| Parity: | odd |
sage:chi.is_odd()
gp:zncharisodd(g,chi)
magma:IsOdd(chi);
|
\(\chi_{1002}(13,\cdot)\)
\(\chi_{1002}(37,\cdot)\)
\(\chi_{1002}(43,\cdot)\)
\(\chi_{1002}(55,\cdot)\)
\(\chi_{1002}(67,\cdot)\)
\(\chi_{1002}(73,\cdot)\)
\(\chi_{1002}(79,\cdot)\)
\(\chi_{1002}(91,\cdot)\)
\(\chi_{1002}(103,\cdot)\)
\(\chi_{1002}(109,\cdot)\)
\(\chi_{1002}(139,\cdot)\)
\(\chi_{1002}(145,\cdot)\)
\(\chi_{1002}(151,\cdot)\)
\(\chi_{1002}(163,\cdot)\)
\(\chi_{1002}(187,\cdot)\)
\(\chi_{1002}(193,\cdot)\)
\(\chi_{1002}(235,\cdot)\)
\(\chi_{1002}(241,\cdot)\)
\(\chi_{1002}(247,\cdot)\)
\(\chi_{1002}(253,\cdot)\)
\(\chi_{1002}(259,\cdot)\)
\(\chi_{1002}(271,\cdot)\)
\(\chi_{1002}(277,\cdot)\)
\(\chi_{1002}(301,\cdot)\)
\(\chi_{1002}(307,\cdot)\)
\(\chi_{1002}(313,\cdot)\)
\(\chi_{1002}(325,\cdot)\)
\(\chi_{1002}(331,\cdot)\)
\(\chi_{1002}(349,\cdot)\)
\(\chi_{1002}(373,\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 };
\((335,673)\) → \((1,e\left(\frac{57}{166}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(5\) | \(7\) | \(11\) | \(13\) | \(17\) | \(19\) | \(23\) | \(25\) | \(29\) | \(31\) |
| \( \chi_{ 1002 }(271, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{57}{166}\right)\) | \(e\left(\frac{43}{83}\right)\) | \(e\left(\frac{51}{83}\right)\) | \(e\left(\frac{61}{166}\right)\) | \(e\left(\frac{33}{166}\right)\) | \(e\left(\frac{76}{83}\right)\) | \(e\left(\frac{165}{166}\right)\) | \(e\left(\frac{57}{83}\right)\) | \(e\left(\frac{42}{83}\right)\) | \(e\left(\frac{75}{83}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)