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