sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(5209, base_ring=CyclotomicField(868))
M = H._module
chi = DirichletCharacter(H, M([67]))
gp:[g,chi] = znchar(Mod(1009, 5209))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("5209.1009");
| Modulus: | \(5209\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(5209\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(868\) |
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_{5209}(15,\cdot)\)
\(\chi_{5209}(30,\cdot)\)
\(\chi_{5209}(60,\cdot)\)
\(\chi_{5209}(63,\cdot)\)
\(\chi_{5209}(125,\cdot)\)
\(\chi_{5209}(129,\cdot)\)
\(\chi_{5209}(130,\cdot)\)
\(\chi_{5209}(240,\cdot)\)
\(\chi_{5209}(250,\cdot)\)
\(\chi_{5209}(252,\cdot)\)
\(\chi_{5209}(258,\cdot)\)
\(\chi_{5209}(260,\cdot)\)
\(\chi_{5209}(273,\cdot)\)
\(\chi_{5209}(279,\cdot)\)
\(\chi_{5209}(287,\cdot)\)
\(\chi_{5209}(343,\cdot)\)
\(\chi_{5209}(347,\cdot)\)
\(\chi_{5209}(363,\cdot)\)
\(\chi_{5209}(373,\cdot)\)
\(\chi_{5209}(405,\cdot)\)
\(\chi_{5209}(417,\cdot)\)
\(\chi_{5209}(480,\cdot)\)
\(\chi_{5209}(500,\cdot)\)
\(\chi_{5209}(516,\cdot)\)
\(\chi_{5209}(517,\cdot)\)
\(\chi_{5209}(520,\cdot)\)
\(\chi_{5209}(525,\cdot)\)
\(\chi_{5209}(534,\cdot)\)
\(\chi_{5209}(561,\cdot)\)
\(\chi_{5209}(574,\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 };
\(17\) → \(e\left(\frac{67}{868}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 5209 }(1009, a) \) |
\(1\) | \(1\) | \(e\left(\frac{110}{217}\right)\) | \(e\left(\frac{25}{217}\right)\) | \(e\left(\frac{3}{217}\right)\) | \(e\left(\frac{109}{434}\right)\) | \(e\left(\frac{135}{217}\right)\) | \(e\left(\frac{387}{434}\right)\) | \(e\left(\frac{113}{217}\right)\) | \(e\left(\frac{50}{217}\right)\) | \(e\left(\frac{47}{62}\right)\) | \(e\left(\frac{45}{124}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)