1,426 views
1 1 vote
At any time, the total number of persons on earth who have shaken hands an odd number of times has to be

 

The answer provided is even number but cannot understand how

1 Answer

1 1 vote

Each handshake involves 2 people.

If the ith person shakes hands $n_{i}$  times, then the sum of the $n_{i}$ be even.

If there were an odd number of odd $n_{i}$ then the sum would be odd.

or proof by parity argument as shown :

Let E be the set of people who have shaken hands an even number of times.

Let O be the set of people who have shaken hands an odd number of times.

Let n be the number of times any hand has shaken another.

Let n_o be the number of times a hand from the set O has shaken another.

Let n_e be the number of times a hand from the set E has shaken another.

 Note: n = n_o + n_e

 Each handshake increases n by two, hence n is even. 

n_e is a sum of even numbers (by definition) and hence is also even.

Since both n and n_e are both even, the equation above tells us that n_o is even as well.

But n_o is a sum of odd numbers (by definition). The only way for n_o to be even then, is if the size of O is even.

  

• edited by
Position:
Show:

Related questions

2 2 votes
1 answers 1 answer
762
762 views
Anjan asked Jan 25, 2018
762 views
In how many different ways can a set A of 3n elements be partitioned into 3 subsets of equal number of elements?My approach :The number of permutations of n objects with...
51 51 votes
6 answers 6 answers
13.9k
13.9k views
Misbah Ghaya asked Nov 29, 2016
13,902 views
How many substrings (of all lengths inclusive) can be formed from a character string of length $n$? Assume all characters to be distinct, prove your answer.
43 43 votes
6 answers 6 answers
17.5k
17.5k views
Kathleen asked Sep 23, 2014
17,450 views
The number of binary strings of $n$ zeros and $k$ ones in which no two ones are adjacent is$^{n-1}C_k$$^nC_k$$^nC_{k+1}$None of the above
51 51 votes
8 answers 8 answers
18.0k
18.0k views
Kathleen asked Sep 14, 2014
17,997 views
A multiset is an unordered collection of elements where elements may repeat any number of times. The size of a multiset is the number of elements in it, counting repetiti...