"Source: Text/Code/CodeFld.text";
"Line: 2746";
"Date: Tue May 30 11:26:03 2023";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Code/CodeFld.text, line: 2746
// Example: H161E26 ()
print "Example: H161E26";
ei := GetEchoInput();
SetEchoInput(true);
n := 11;
k := GF(5);
_<x> := PolynomialRing(k);
a := k!3;
f := Factorisation( x^n - a );
f;
f1 := f[2][1];
C1 := ConstaCyclicCode(n, f1, a);
E<p, q> :=  WeightEnumerator(C1);
f2 := f[3][1];
C2 := ConstaCyclicCode(n, f2, a);
iseq := IsEquivalent( C1, C2); iseq;
SetEchoInput(ei);
