Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/pkg/grpconst/tst/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 22.0.2024 mit Größe 558 B image not shown  

Quelle  check.g   Sprache: unbekannt

 

for l in [8..10] do
    s := Filtered([1..2000], x -> Length(Factors(x)) = l);
    s := Filtered(s, x -> not IsPrimePowerInt(x));
    s := Filtered(s, x -> not x in [384,576]);
    for i in s do
        grp := ConstructAllGroups(i);
        grp := Flat(grp);
        ids := List(grp, IdGroup);
        if ForAny(ids, x -> x[1] <> i) then Error("wrong order"); fi;
        ids := List(ids, x -> x[2]);
        if Set(ids) <> [1..NumberSmallGroups(i)] then Error("wrong grps"); fi;
        Print(i," done of ",Length(s)," for ",l,"\n");
    od;
od;
        


[ Dauer der Verarbeitung: 0.18 Sekunden  (vorverarbeitet)  ]