From 4867a5548de854d6a86fed6cbada6fc10874cfb5 Mon Sep 17 00:00:00 2001 From: j4ck4l-24 Date: Wed, 19 Jun 2024 09:14:45 +0530 Subject: [PATCH] rev correction --- content/ctf-writeups/bcactf_5.0/rev.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/content/ctf-writeups/bcactf_5.0/rev.md b/content/ctf-writeups/bcactf_5.0/rev.md index 80624ac..a18634c 100644 --- a/content/ctf-writeups/bcactf_5.0/rev.md +++ b/content/ctf-writeups/bcactf_5.0/rev.md @@ -91,19 +91,14 @@ $$ $$ 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} $$ +sum(comb(\{a_1, a_2, a_3, ...a_n\})) = \frac{\sum{a_i}* (\sum{a_i}-1)}{2} +$$ -or, +or, -$$ +$$ sum(comb(comb(\{a_1, a_2, a_3, ...a_n\}))) = \frac{\sum{a_i} * (\sum{a_i}-1) * (\sum{a_i}-2) * (\sum{a_i}+1)}{8} $$