Considering this resent post in which $|G|=42$, I am thinking of making this subgroup concrete in GAP environment. Maybe, if the structure of $G$ was known then, we would use an appropriate mapping for this aim by doing the inverse map. However, I started to examine the problem by doing some basic related codes as below, I got an error instead!
gap> g:=GeneralLinearGroup(2,Field(Z(7)));;
e:=Elements(g);;
f:=AllSubgroups(g);;
Filtered(f, t->Order(f[t])=42);
Any suggestions? Thanks for the time.
Edit: I did a terrible job. The codes are changed as:
gap> g:=GeneralLinearGroup(2,Field(Z(7)));;
f:=AllSubgroups(g);;
e:=Elements(f);;
Filtered(e, t->Order(t)=42);
With
AllSubgroups, the correct form is shown below:However, thinking in terms of conjugacy classes may be more efficient for larger groups: