diff --git a/ALGORITHM.md b/ALGORITHM.md
index 439bc5e..11eb455 100644
--- a/ALGORITHM.md
+++ b/ALGORITHM.md
@@ -75,7 +75,7 @@ Note that this function can be used to calculate a card's current retrievability
Next forget stability:
-$S^\prime_f(D,S,R) = w_{11} \cdot D^{-12}\cdot \Big[(S+1)^{w_{13}} -1 \Big]\cdot e^{w_{14}\cdot (1-R)}$
+$S^\prime_f(D,S,R) = w_{11} \cdot D^{-w_{12}}\cdot \Big[(S+1)^{w_{13}} -1 \Big]\cdot e^{w_{14}\cdot (1-R)}$
Next recall stability: