How to Confuse a Traveling Mathematician

An embellished account of a border crossing

Getty Images/iStockphoto Thinkstock Images/photoncatcher

Join Our Community of Science Lovers!

This article was published in Scientific American’s former blog network and reflects the views of the author, not necessarily those of Scientific American


“How many days will you be staying?” The immigration officer’s question made my blood run cold. I could easily tell him my origin city, nationality, flight number, and eventual destination, but this question was different. It was a fencepost question.

Fencepost questions, dealing as they do with the difference between count and duration, discrete and continuous, have always been difficult for me. May 1st and 8th were both Sundays. There are 7 days in a week, and 8-1 is 7. 9 am on May 8th is 7 days after 9 am on May 1st, but if I do something every day from the 1st to the 8th, I do it 8 times. If someone asks me about something that takes place from the 1st to the 8th, mere subtraction is not enough. I need to know the context of the question and what type of answer is expected.

For this trip, I left on the 14th and would return on the 24th. 24-14 is 10, but I would be there for portions of 11 calendar days and the entirety of only 9 of them. I arrived at 5 pm and would leave at 10 am, so I would be there for less than 240 hours, the length of 10 days. On the other hand, I would be away from my home for well over 240 hours. Would the officer just look at my arrival and departure dates, subtract, and be done with it? Would it confuse him if I said 11? Or did he know about fenceposts too? Was he trying to trap me? Luring me into the false certainty of subtraction, ready to pounce when I gave him a number that failed to reflect the nuances of my visit?


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.


I felt like a cornered animal who doesn’t know whether, if I do something every other day, I do it 3 or 4 times in a week, and if I do it 4 times, whether that means a week has 8 days in it.

My mind was racing, my palms sweaty. The officer looked at me expectantly. Would he think I was flustered because I had something to hide? Would I be dragged away for more questioning, as another mathematician was last week

Trying to keep my voice steady, I replied: “Ten.” I resisted the urge to explain the situation further.

I held my breath. As if in slow motion, he looked down, reached for the stamp, and flipped to a blank page in my passport. “Have a nice visit.”

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