From 7e8ea5ca2505686932b489e0aa1df0b3f0433e19 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 30 Jul 2016 00:04:21 +0200 Subject: Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/exercises.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3-70-g09d2