"Source: Text/Ring/RngLoc.text";
"Line: 3031";
"Date: Fri Apr 14 10:35:14 2023";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Ring/RngLoc.text, line: 3031
// Example: H48E18 ()
print "Example: H48E18";
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);
