%Copyright (C) 2012-2018 Jan Christian Rohde
%
%This file is part of MACE.
%
%MACE is free software; you can redistribute it and/or modify it under the terms of the
%GNU General Public License as published by the Free Software Foundation; either version 3
%of the License, or (at your option) any later version.
%
%MACE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
%even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
%GNU General Public License for more details.
%
%You should have received a copy of the GNU General Public License
%along with MACE; if not, see http://www.gnu.org/licenses.
%This script resets the output window, sets the characteristic = 5, executes several
%functions on polynomials in characteristic 5 and saves the result in a html-file.
reset
setCharacteristic(2+3)
poly1 = x^2-1:
poly2 = x^2-2x+1:
gcd(poly1,poly2):
lcm(poly1,poly2):
mod(poly1,poly2):
saveAs(char5polys.html)