diff --git a/content/ctf-writeups/bcactf_5.0/rev.md b/content/ctf-writeups/bcactf_5.0/rev.md index a18634c..81e7775 100644 --- a/content/ctf-writeups/bcactf_5.0/rev.md +++ b/content/ctf-writeups/bcactf_5.0/rev.md @@ -91,6 +91,7 @@ $$ $$ sum(comb(\{a_1, a_2, a_3\})) = \frac{(a_1 + a_2 + a_3)^2 - (a_1 + a_2 + a_3)}{2} $$ + In general: $$ sum(comb(\{a_1, a_2, a_3, ...a_n\})) = \frac{\sum{a_i}* (\sum{a_i}-1)}{2}