Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/tst/teststandard/testLuxPahlings/   (GAP Algebra Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 4 kB image not shown  

Quelle  example_4.12.10.tst   Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

#@local syl, degblock, s, m, degs, d, dd, t, ind, ll, red, ct, perm
#@local b19, gg, t11, pf, ind1, ind2
######################################################################
gap> START_TEST( "example_4.12.10.tst" );

## This is code from Exercise 2.10.1.
gap> syl := function(n,p)
>  local divs, lpd, S;
>  divs := Factors(n); lpd := Last(divs); divs := Combinations(divs);
>  Add(divs[1],1); divs := List( divs, Product );
>  S := Filtered( divs, x-> x mod p = 1 and x > lpd );
>  S := Filtered( S, x -> Gcd( n/x, p-1 ) <> 1 );
>  return( S );
> end;;

## This is code from Exercise 4.12.2.
gap> degblock := function( n, degne, dege, e, p )
>  local dd, d1, d2, de, tup, x;
>  dd:= []; d1:= ShallowCopy( degne ); d2 := ShallowCopy( dege );
>  for x in [2..Length(d1)] do
>    if d1[x] mod p <> d1[1] mod p then d1[x]:=-d1[x]; fi;
>  od;
>  for x in [2..Length(d2)] do
>    if d2[x] mod p <> e  then d2[x]:= -d2[x]; fi;
>  od;
>  tup := UnorderedTuples(d1, e);;
>  for x in tup do
>    if Sum(x) in d2 then Add( dd , [x, Sum(x)] ); fi;
>  od;
>  for x in dd do Sort( x[1] ); od; dd:=Set(dd); Sort(dd);
>  dd:=Filtered(dd, x -> Sum(List(x[1], a -> a^2)) + ((p-1)/e)*x[2]^2 < n);
>  dd:=Filtered(dd, x -> Length(Positions(x,1)) = 1);
>  return(dd);
> end;;

######################################################################
gap> Filtered( syl( 1755605 ), x-> x mod 19 <> 0 and x mod 7 = 0 );
21231 ]

######################################################################
gap> s := Filtered( syl(1755603), x-> x mod 19 <> 0 and x mod 5 = 0 );;
gap> for m in s do Print("19 * ",175560/(m*19)," ,   "); od; Print( "\n" );
19 * 6 ,   19 * 42 ,   19 * 132 ,   19 * 24 ,   19 * 168 ,   

######################################################################
gap> degs := Filtered( [1..419], x ->  IsInt(175560/x) and x <>2 );;
gap> List([1,2] , i -> Filtered( degs, x -> x mod 19 in [i,19-i] ));
[ [ 1205677132210 ], [ 214055154264 ] ]

######################################################################
gap> d := List([1,3], i -> Filtered( degs, x -> x mod 19 in [i,19-i] ));;
gap> d[2]:= Filtered(d[2], x->6*x^2 < 175560 and x mod 7 in [0,2,5]);; d;
[ [ 1205677132210 ], [ 35168 ] ]
gap> dd := degblock( 175560, d[1], d[2], 319 );
[  ]

######################################################################
gap> List(Filtered( syl(175560,5), x -> x mod (7*19) = 0 ), x-> 175560/x);
1011060660 ]

######################################################################
gap> degs := Filtered( degs, x-> x mod 19 in [0,1,6,13,18] and x <> 20);;
gap> d := List( [1,2,3], i-> Filtered(degs, x -> x mod 7 in [i,7-i]) );
[ [ 165776120132190209 ], [ 1944114152285380418 ], 
  [ 3895165228 ] ]
gap> Print(degblock(175560,d[1],d[2],2,7),degblock(175560,d[1],d[3],3,7), "\n");
[  ][  ]

######################################################################
gap> degs := Filtered(degs, x -> x mod 7 in [0,1,6]);;
gap> d := List( [1,6] ,  i-> Filtered(degs, x -> x mod 19 in [i,19-i]) );
[ [ 15677132210 ], [ 670120 ] ]
gap> degblock( 175560, d[1], d[2], 619 );
[  ]

######################################################################
gap> Filtered( degs, x-> x mod 19 = 0 and x mod 11 in [1,10] );
76133 ]

######################################################################
gap> List( [3,5], p -> Filtered( List( syl(175560, p), x -> 175560/x ), 
>                      y -> IsInt( 120/y ) ) );
[ [ 66024 ], [ 1060 ] ]

######################################################################
gap> t := CharacterTable("J1");;
gap> ind := InducedCyclic( t, "all" );; ll := LLL( t, ind );;
gap> List( ll.irreducibles, y -> y[1] );
56561201201207676 ]
gap> red := ReducedClassFunctions( t, [List([1..15],x->1)],ll.remainders);;
gap> List( red.irreducibles, y -> y[1] );
777777133133133209 ]

######################################################################
gap> ct := CharacterTable("J1");; perm := PermChars(ct, 7*11*19);;
gap> b19 := Filtered([1..15], i -> Irr(ct)[i][15] <> 0);;
gap> MatScalarProducts( Irr(ct){b19}, perm );
[ [ 111200111 ] ]

######################################################################
gap> gg := AllSmallGroups(110);;
gap> gg := Filtered(gg,g-> Size(Centralizer(g,SylowSubgroup(g,11)))=11);;
gap> t11 := CharacterTable(gg[1]);; pf:=PossibleClassFusions(t11,ct);
[ [ 124108595948 ], [ 125109484859 ] ]
gap> ind1 := InducedClassFunctionsByFusionMap(t11, ct, Irr(t11), pf[1]);;
gap> ind2 := InducedClassFunctionsByFusionMap(t11, ct, Irr(t11), pf[2]);;
gap> Set(ind1) = Set(ind2);
true
gap> mat:= MatScalarProducts(Irr(ct){b19},ind1);;
gap> First( mat, row -> row[3] = 0 and row[4] = 1 );
010101111 ]

######################################################################
gap> STOP_TEST( "example_4.12.10.tst" );

[Dauer der Verarbeitung: 0.26 Sekunden, vorverarbeitet 2026-06-17]