<div id="comment:0"></div> ``` sage: x = polygen(ZZ) sage: pow(x,100,x+1) x^100 ``` CC: @roed314 @jdemeyer @pjbruin @sagetrac-jakobkroeker Component: **algebra** Stopgaps: **wrongAnswerMarker** Author: **Shashwat Singh** Branch/Commit: **[u/gh-shashwat1002/mod_exponentation_polynom](https://github.com/sagemath/sagetrac-mirror/tree/u/gh-shashwat1002/mod_exponentation_polynom) @ [`c37ccc8`](https://github.com/sagemath/sagetrac-mirror/commit/c37ccc82230f9a45444a7d7e7096c8dbf50c496f)** _Issue created by migration from https://trac.sagemath.org/ticket/15867_