Skip to content

Commit

Permalink
rev correction
Browse files Browse the repository at this point in the history
  • Loading branch information
j4ck4l-24 committed Jun 19, 2024
1 parent 99acaa7 commit 4867a55
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions content/ctf-writeups/bcactf_5.0/rev.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
$$

Expand Down

0 comments on commit 4867a55

Please sign in to comment.