diff options
| -rw-r--r-- | doc/exercises.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/exercises.tex b/doc/exercises.tex index 755390e..e36ee86 100644 --- a/doc/exercises.tex +++ b/doc/exercises.tex @@ -284,7 +284,7 @@ Implement the function \noindent which calculates $r = {}^n{}b \text{ mod } m$, where ${}^0{}b = 1$, ${}^1{}b = b$, ${}^2{}b = b^b$, -${}^3{}b = b^{b^b}$, ${}^b{}b = b^{b^{b^b}}$, and so on. +${}^3{}b = b^{b^b}$, ${}^4{}b = b^{b^{b^b}}$, and so on. You can assume $b > 0$ and $m > 0$. You can also assume \texttt{r}, \texttt{b}, and \texttt{m} are mutually unique pointers. |
