# Properties

 Label 840.677 Modulus $840$ Conductor $840$ Order $12$ Real no Primitive yes Minimal yes Parity odd

# Related objects

Show commands: Pari/GP / SageMath
sage: from sage.modular.dirichlet import DirichletCharacter

sage: H = DirichletGroup(840, base_ring=CyclotomicField(12))

sage: M = H._module

sage: chi = DirichletCharacter(H, M([0,6,6,3,10]))

pari: [g,chi] = znchar(Mod(677,840))

## Basic properties

 Modulus: $$840$$ Conductor: $$840$$ sage: chi.conductor()  pari: znconreyconductor(g,chi) Order: $$12$$ sage: chi.multiplicative_order()  pari: charorder(g,chi) Real: no Primitive: yes sage: chi.is_primitive()  pari: #znconreyconductor(g,chi)==1 Minimal: yes Parity: odd sage: chi.is_odd()  pari: zncharisodd(g,chi)

## Galois orbit 840.dh

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(\zeta_{12})$$ Fixed field: 12.0.105433321738752000000000.1

## Values on generators

$$(631,421,281,337,241)$$ → $$(1,-1,-1,i,e\left(\frac{5}{6}\right))$$

## Values

 $$a$$ $$-1$$ $$1$$ $$11$$ $$13$$ $$17$$ $$19$$ $$23$$ $$29$$ $$31$$ $$37$$ $$41$$ $$43$$ $$\chi_{ 840 }(677, a)$$ $$-1$$ $$1$$ $$e\left(\frac{1}{3}\right)$$ $$-i$$ $$e\left(\frac{7}{12}\right)$$ $$e\left(\frac{1}{6}\right)$$ $$e\left(\frac{11}{12}\right)$$ $$-1$$ $$e\left(\frac{5}{6}\right)$$ $$e\left(\frac{5}{12}\right)$$ $$1$$ $$i$$
sage: chi.jacobi_sum(n)

$$\chi_{ 840 }(677,a) \;$$ at $$\;a =$$ e.g. 2

## Gauss sum

sage: chi.gauss_sum(a)

pari: znchargauss(g,chi,a)

$$\tau_{ a }( \chi_{ 840 }(677,·) )\;$$ at $$\;a =$$ e.g. 2

## Jacobi sum

sage: chi.jacobi_sum(n)

$$J(\chi_{ 840 }(677,·),\chi_{ 840 }(n,·)) \;$$ for $$\; n =$$ e.g. 1

## Kloosterman sum

sage: chi.kloosterman_sum(a,b)

$$K(a,b,\chi_{ 840 }(677,·)) \;$$ at $$\; a,b =$$ e.g. 1,2