Gapplet

Given a, d Q[X], determine the unique representative of a mod d.

Input a,  e.g., X^8
</COMMENT>
Input d,  e.g., X^2+X+1
</COMMENT>
 
unique representative
</COMMENT>
 
(just the remainder of division of a by d
</COMMENT>