commit dd753f78b0c39d86a4cccca08996df303762e532
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Thu Jul 28 20:24:46 2016 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Thu Jul 28 20:24:46 2016 +0200
Fix small error in solution for [13] The totient
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/doc/exercises.tex b/doc/exercises.tex
index 4af53e9..ebf8e91 100644
--- a/doc/exercises.tex
+++ b/doc/exercises.tex
_AT_@ -668,7 +668,7 @@ of \texttt{b} with its absolute value.
\noindent
So, if we set $a = n$ and $b = 1$, then we iterate
-of all integers $p$, $2 \le p < n$. For which $p$
+of all integers $p$, $2 \le p \le n$. For which $p$
that is prime, we set $a \gets a \cdot (p - 1)$ and
$b \gets b \cdot p$. After the iteration, $b | a$,
and $\varphi(n) = \frac{a}{b}$.
Received on Thu Jul 28 2016 - 20:24:52 CEST
This archive was generated by hypermail 2.3.0
: Thu Jul 28 2016 - 20:36:13 CEST