// Magma code for working with Dirichlet character group of modulus 578 // Define the Dirichlet group: G = FullDirichletGroup(578); // Order: Order(G); // Group structure: PrimaryInvariants(G); // Generators: Generators(G);