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 0a98cb2 commit 99acaa7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions content/ctf-writeups/bcactf_5.0/rev.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,19 +89,21 @@ sum(comb(\{a_1, a_2, a_3\})) = \frac{2a_1a_2 + 2a_2a_3 + 2a_1a_3 + {a_1}^2 + {a_
$$

$$
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 99acaa7

Please sign in to comment.