From 84841a19e21f23a4ae0ea804156a318a112c691c Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Thu, 17 Sep 2020 17:43:00 -0400 Subject: fix exponents in megolm spec --- docs/megolm.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/megolm.md b/docs/megolm.md index baf4c5e..d2372a2 100644 --- a/docs/megolm.md +++ b/docs/megolm.md @@ -41,26 +41,26 @@ advanced as follows: \begin{aligned} R_{i,0} &= \begin{cases} - H_0\left(R_{2^24(n-1),0}\right) &\text{if }\exists n | i = 2^24n\\ + H_0\left(R_{2^{24}(n-1),0}\right) &\text{if }\exists n | i = 2^{24}n\\ R_{i-1,0} &\text{otherwise} \end{cases}\\ R_{i,1} &= \begin{cases} - H_1\left(R_{2^24(n-1),0}\right) &\text{if }\exists n | i = 2^24n\\ - H_1\left(R_{2^16(m-1),1}\right) &\text{if }\exists m | i = 2^16m\\ + H_1\left(R_{2^{24}(n-1),0}\right) &\text{if }\exists n | i = 2^{24}n\\ + H_1\left(R_{2^{16}(m-1),1}\right) &\text{if }\exists m | i = 2^{16}m\\ R_{i-1,1} &\text{otherwise} \end{cases}\\ R_{i,2} &= \begin{cases} - H_2\left(R_{2^24(n-1),0}\right) &\text{if }\exists n | i = 2^24n\\ - H_2\left(R_{2^16(m-1),1}\right) &\text{if }\exists m | i = 2^16m\\ + H_2\left(R_{2^{24}(n-1),0}\right) &\text{if }\exists n | i = 2^{24}n\\ + H_2\left(R_{2^{16}(m-1),1}\right) &\text{if }\exists m | i = 2^{16}m\\ H_2\left(R_{2^8(p-1),2}\right) &\text{if }\exists p | i = 2^8p\\ R_{i-1,2} &\text{otherwise} \end{cases}\\ R_{i,3} &= \begin{cases} - H_3\left(R_{2^24(n-1),0}\right) &\text{if }\exists n | i = 2^24n\\ - H_3\left(R_{2^16(m-1),1}\right) &\text{if }\exists m | i = 2^16m\\ + H_3\left(R_{2^{24}(n-1),0}\right) &\text{if }\exists n | i = 2^{24}n\\ + H_3\left(R_{2^{16}(m-1),1}\right) &\text{if }\exists m | i = 2^{16}m\\ H_3\left(R_{2^8(p-1),2}\right) &\text{if }\exists p | i = 2^8p\\ H_3\left(R_{i-1,3}\right) &\text{otherwise} \end{cases} -- cgit v1.2.3