Puzzle: Pick Up Lines

Join Our Community of Science Lovers!

Arriving late at a party and after greeting a few people, I found myself standing at the entrance next to a clever and stylish mathematician named Caroline. Skipping any form of greeting, she said, "There are nine people including us at this party. Could each person at this party have shaken hands with a different number of people, given that germophobe Ron over there hasn't shaken hands with anyone?"

I took a while before answering. 

Warm-Up:
How did I answer?


On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


 

Solution:
If this were the case, then the number of hands shaken by each person would be:
0, 1, 2, 3, 4, 5, 6, 7, 8

But if someone shook hands with 8 people, then Ron (who has shaken hands with nobody according to Caroline) would have had to shake hands with that person. This cannot be.

 

Problems:

1. "Not bad," said Caroline, an impish smile crossing her lips. "In fact, only two people have shaken hands with the same number of people. How many hands has each of that pair shaken?"

As a token of recognition of my answer, Caroline deigned to shake my hand. Smooth and cool to the touch, very nice. She didn't allow her hand to linger however. "This raised both our counts by one," she observed. "I have shaken hands with more people than you this evening and you should be able to figure out how many that is. If you do, I'll fetch you a drink."

2. How many people's hands (including mine) had Caroline shaken?

"Orange juice, please" I said to my new friend after I told her my solution, "with a touch of vodka."

It’s Time to Stand Up for Science

If you enjoyed this article, I’d like to ask for your support. Scientific American has served as an advocate for science and industry for 180 years, and right now may be the most critical moment in that two-century history.

I’ve been a Scientific American subscriber since I was 12 years old, and it helped shape the way I look at the world. SciAm always educates and delights me, and inspires a sense of awe for our vast, beautiful universe. I hope it does that for you, too.

If you subscribe to Scientific American, you help ensure that our coverage is centered on meaningful research and discovery; that we have the resources to report on the decisions that threaten labs across the U.S.; and that we support both budding and working scientists at a time when the value of science itself too often goes unrecognized.

In return, you get essential news, captivating podcasts, brilliant infographics, can't-miss newsletters, must-watch videos, challenging games, and the science world's best writing and reporting. You can even gift someone a subscription.

There has never been a more important time for us to stand up and show why science matters. I hope you’ll support us in that mission.

Thank you,

David M. Ewalt, Editor in Chief, Scientific American

Subscribe