"Source: Text/Group/GrpPC.text";
"Line: 455";
"Date: Thu Apr  1 11:57:57 2021";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Group/GrpPC.text, line: 455
// Example: H69E3 ()
print "Example: H69E3";
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);
