Parity (Even/Odd) Math Example 5

Follow the full solution, then compare it with the other examples linked below.

Example 5

medium
In a group of 5050 people, each person shakes hands with every other person exactly once. Is the total number of handshakes odd or even? (Hint: use the formula n(nโˆ’1)2\frac{n(n-1)}{2}).

Solution

  1. 1
    Total handshakes =50ร—492=24502=1225= \dfrac{50 \times 49}{2} = \dfrac{2450}{2} = 1225.
  2. 2
    Parity: 5050 is even, 4949 is odd, product 50ร—49=245050 \times 49 = 2450 is even; divided by 22 gives 12251225, which is odd.

Answer

12251225 handshakes โ€” an odd number.
The handshake formula n(nโˆ’1)2\frac{n(n-1)}{2} counts combinations of 22 from nn people. For n=50n=50: one of nn or nโˆ’1n-1 is always even (consecutive integers), so the product n(nโˆ’1)n(n-1) is divisible by 22, giving an integer โ€” whose parity we then check.

About Parity (Even/Odd)

The classification of integers as even (evenly divisible by 2, with no remainder) or odd (not divisible by 2).

Learn more about Parity (Even/Odd) โ†’

More Parity (Even/Odd) Examples