"Source: Text/Code/CodeFld.text";
"Line: 4922";
"Date: Thu Sep 25 14:47:47 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Code/CodeFld.text, line: 4922
// Example: H165E43 ()
print "Example: H165E43";
ei := GetEchoInput();
SetEchoInput(true);
SetPrintLevel("Minimal");
SetVerbose("BestCode",true);
P<x> := PolynomialRing(GF(2));
a := BKLC(GF(2), 54, 36);
a;
p := x^17 + x^16 + x^15 + x^13 + x^12 + x^8 + x^6 + x^4 +
                                              x^3 + x^2 + 1;
C1 := CyclicCode(63, p);
C1;
C2 := ExtendCode(C1);
C2;
C3 := ShortenCode(C2, {55 .. 64});
C3;
C3 eq a;
assert $1;
SetEchoInput(ei);
