// Magma code for working with Dirichlet character orbit 4335.bx // Define the Dirichlet character orbit: // Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code chi := DirichletCharacter("4335.152"); order := Order(chi); { chi^k : k in [1..order-1] | GCD(k,order) eq 1 }; // Modulus: Modulus(chi); // Conductor: Conductor(chi); // Order: Order(chi); // Whether the character is real: Order(chi) le 2; // If the character is primitive: IsPrimitive(chi); // Parity: IsOdd(chi);