Ex 1
the number from 1 to 100, I'll call it x
= (((x + 11) * 6 - 3) / 3 + 5) / 2 - x
= ((6x + 66 - 3) / 3 + 5) / 2 - x
= ((6x + 63) / 3 + 5) / 2 - x
= (2x + 21 + 5) / 2 - x
= (2x + 26) / 2 - x
= x + 13 - x
= 13
finally geez
Ex 2
theres 16 teams.
after a team that loses twice they're out.
1 should be left, therefor 15 teams should be out.
15 * 2 = 30,
there should be 30 or 31 games if the last team alive lost 1 game.