"Source: Text/Ring/RngLoc.text";
"Line: 3045";
"Date: Fri Sep 26 14:29:19 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Ring/RngLoc.text, line: 3045
// Example: H49E18 ()
print "Example: H49E18";
ei := GetEchoInput();
SetEchoInput(true);
SetSeed(1);
L := pAdicRing(5, 20);
R<x> := PolynomialRing(L);
elts := [Random(L) : i in [1..3]];
f := (x - elts[1])^3 * (x - elts[2])^2 * (x - elts[3]);
f;
GCD(f, Derivative(f));
f mod $1;
(x - elts[1])^2 * (x - elts[2]);
ChangePrecision($1, 18);
SetEchoInput(ei);
