From 16a001c8fe4e5ca99d5aafdd8ed02a35f09b6caa Mon Sep 17 00:00:00 2001
From: Mattias Andrée <maandree@kth.se>
Date: Fri, 13 May 2016 04:38:09 +0200
Subject: Miscellaneous stuff
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mattias Andrée <maandree@kth.se>
---
 doc/arithmetic.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'doc/arithmetic.tex')

diff --git a/doc/arithmetic.tex b/doc/arithmetic.tex
index e90f607..52eae11 100644
--- a/doc/arithmetic.tex
+++ b/doc/arithmetic.tex
@@ -186,8 +186,9 @@ can be expressed as a simple formula
 
 \vspace{-1em}
 \[ \hspace*{-0.4cm}
-    a^b = \prod_{i = 0}^{\lceil \log_2 b \rceil}
-    \left ( a^{2^i} \right )^{\left \lfloor {\displaystyle{b \over 2^i}} \hspace*{-1ex} \mod 2 \right \rfloor}
+    a^b =
+    \prod_{k \in \textbf{Z}_{+} ~:~ \left \lfloor {b \over 2^k} \hspace*{-1ex} \mod 2 \right \rfloor = 1}
+    a^{2^k}
 \]
 
 \noindent
-- 
cgit v1.2.3-70-g09d2

