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