"Source: Text/Group/GrpPC.text";
"Line: 455";
"Date: Thu Sep 25 14:47:45 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Group/GrpPC.text, line: 455
// Example: H70E3 ()
print "Example: H70E3";
ei := GetEchoInput();
SetEchoInput(true);
F := FreeGroup(2);
for p in [n: n in [3..10] | IsPrime(n)] do
  r := [F.1^3=Id(F), F.2^p=Id(F), F.2^F.1=F.2^2];
  G := quo<GrpPC: F | r: Check:=false>;
  if IsConsistent(G) then
    print "For p=",p," the group is consistent.";
  else
    print "For p=",p," the group is inconsistent.";
  end if;
end for;
SetEchoInput(ei);
