Owner's manual

Table Of Contents
Output: Level 2/Item 1: The quotient.
Level 1/Item 2: The remainder.
Flags: Exact mode must be set (flag -105 clear).
Numeric mode must not be set (flag -03 clear).
Example:
V-' + 4
Find the result of
-----
, modulo the default modulus, 3.
X- - 1
Command: DIV2MOD(X^3+4,X^2-l)
Result: {X X+1}
DIVIS
Type: Command
Description:
Returns a list of divisors of a polynomial or an integer.
Access: Arithmetic, 0®B
Input: A polynomial or an integer.
Output: A list containing the expressions or integers that exactly
divide into the input.
Flags: Exact mode must be set (flag -105 clear).
Numeric mode must not be set (flag -03 clear).
Example: Find the divisors of the following polynomial:
2
X + 3x + 2
Command: DIVIS(X"2+3*X+2)
Result:
{l,X+l,X+2,X^2+3*X+2}
See also: DIV2
DIVMOD
Type: Fimction
Description:
Divides two expressions modulo the current modulus.
Access:
Arithmetic, RiAlTH) MODULO
Input:
Level 2/Ai'gument 1: The dividend.
Level 1/Argument 2: The divisor.
Output: The quotient of the tenns modulo the current modulus.
Computer Algebra Commands
Page 14-15