But we do shake hands with enemies!Discrete Mathematics Level 4
We know that Rajdeep doesn't shake hands with enemies. Out of the 2015 8th Graders, 500 are Rajdeep's enemies. Rajdeep can shake hands with everybody else in the room. Archit shakes hands only with Rajdeep's enemies. Parth and Panshul are best friends and they shake hands only with each other.
If all other 2015 people can shake hands with any other person in the room, how many handshakes took place?
Details and Assumptions:
1) If A can shake hands with B, but B can't shake hands with A, they will not shake hands.
2) If A and B can shake hands with each other they will surely shake hands.
3) 2 people can't shake hands with each other multiple times.