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