Each Point has Three Closest Neighbors

I met Alexander Karabegov during the All-Soviet Math Olympiad in Yerevan. He was one year older than me. By then, when I was still competing in 1976, he was already a freshman at Moscow State University. He proposed the following two related puzzles for the Moscow Olympiad, which I had to solve.

Puzzle 1. You are given a finite number of points on a plane. Prove that there exists a point with not more than 3 closest neighbors.

Just in case, by closest neighbors I mean all points at the minimal distance from a given point. I am sure I solved both puzzles at the time. I leave the solution to the first one to the reader.

Puzzle 2. Can you place a finite number of points on the plane in such a way that each point has exactly 3 closest neighbors?

The last problem has an elegant solution with 24 points chosen from a triangular grid. The story continued almost 40 years later, when Alexander sent me an image (below) of such a configuration with 16 points. He conjectures that this is the minimal configuration.

Conjectured minimal configuration

Karabegov’s Conjecture. Any finite planar point configuration in which every point has exactly 3 closest neighbors must contain at least 16 points.

Can you prove it?

Initially, I didn’t want to give the 24-points solution, but the image above is a big hint, so here you go.

24-point configuration

Both constructions reveal the same underlying pattern. The constructions consist of rhombuses formed by two equilateral triangles, and the rhombuses are connected to each other. The 24-point construction consists of 6 rhombuses, while the 16-point construction consists of 4 rhombuses. What will happen if we try the construction with 3 rhombuses? The image below shows such a configuration, which now has extra edges with the shortest distance. We now see 3 points with more than three closest neighbors each, violating the condition. So the conjecture doesn’t break.

12-point configuration

So far, every smaller attempt failed — can you prove that 16 is minimal?


Share:Facebooktwitterredditpinterestlinkedinmail

Dividing Estate

I was teaching my students the Knaster method of dividing an estate, which I learned from my friend Ingrid Daubechies. Let’s look at an example.

Problem. Alice and Bob are divorcing. They have the portrait of Alice’s grandpa and $10,000. Alice values the portrait at $10,000 because of its sentimental value. Bob values it at a market price of $2,000. How do they divide their estate?

Here is what my students initially suggest.

  1. Give Alice the portrait, and give Bob all the cash.
  2. Give Alice the portrait, and divide the cash in half.

Let’s look at these suggestions in greater detail. Alice values the whole estate at $20,000; Bob values it at $12,000. In the first version, Alice gets half of the estate from her point of view; Bob gets the rest, which is more than half in his point of view. The students are obviously rooting for Bob. In the second version, Bob gets half of the estate in his estimate, while Alice gets the rest, which is more than half in her estimate. The students are obviously rooting for Alice. After some discussion, the students agree that there should be a number between $5,000 and $10,000 that Bob gets, which would be a fairer division than the two initial examples. But how do we find such a number?

This is where the Knaster algorithm comes in. The main idea is that each gets the same amount of money on top of their perceived half. In other words, the Knaster method treats the estate like a sealed-bid auction and equalizes bonuses. Alice thinks that her fair half is $10,000, while Bob thinks his half is $6,000. To equalize bonuses, we want Alice and Bob to each receive their perceived half plus the same amount — call it x. Solving gives x = $2,000. Alice gets the portrait and $2,000, while Bob gets $8,000.

This is a beautiful algorithm that allows each person to be very happy, receiving more than one half. The bigger the taste difference, the more each person gets on top of their portion. The next question is: how can people cheat if they know this algorithm is used?

Alice can cheat by claiming that she values the portrait at $2,000 plus epsilon. Epsilon is needed to guarantee she gets the portrait. This way, they both value the estate the same. Alice gets the portrait and $4,000, which is $2,000 more than the honest way. Symmetrically, Bob can cheat by claiming he values the portrait at $10,000 minus epsilon. This way, he gets $10,000, which is $2,000 more than the honest way.

I’ve been teaching this topic several times now. This year, my student Ben had an out-of-the-box idea on how Alice can cheat. Alice declares that she values the portrait at $0. Bob thinks the estate is worth $12,000, while Alice pretends that she values it at $10,000. After the calculation, Bob gets the portrait and $4,500, which is $500 more than his half of the estate in his view. Alice gets $5,500, which is $500 more than half of the estate in her declaration. Then she buys the portrait from Bob for $2,000. In the end, Alice gets the portrait and $3,500, way more than she would get after an honest use of the algorithm.

The first cheating method seems more profitable than the new one. But still, I love it when my students suggest unexpected ideas.


Share:Facebooktwitterredditpinterestlinkedinmail

A Story about a Scam

Recently, I gave my STEP students the following discussion question.

Puzzle. A long time ago, before anyone had ever heard of ultrasound, there was a psychic who could predict the gender of a future child. No one ever filed a complaint against her. Why?

I based this puzzle on a story I once read. In the story, the psychic kept a neat little journal where she wrote down each client’s name and the predicted gender — except she secretly wrote down the opposite of what she told them. When someone came back complaining that she was wrong, she would calmly open her journal and say, “Oh, you must have misheard”.

This scam demonstrates conditional probability. The satisfied customers never came back; only the unhappy ones did — and those she could ‘prove’ wrong. Understanding probability can help my students detect and expose scams.

My students, of course, had their own theories. The most mathematical one was a pay-on-delivery scheme: if the psychic was right, she got paid; if not, she didn’t. Another innocent idea was for the psychic to keep moving. By the time the babies were born, she’d be long gone predicting future children’s genders somewhere far away.

ChatGPT offered a different explanation: the psychic never said whose future child she was predicting. If the prediction failed, she could always clarify that she meant someone else’s child. After some prodding, the idea evolved and became even sneakier: If the prediction failed, she could always clarify that she meant the couple’s next child, or, if they weren’t planning more children, a grandchild. Another brilliant, but unrealistic idea was to never charge anyone. Hard to sue someone who never took your money.

One student suggested that the psychic wasn’t wrong at all — she was predicting the baby’s true inner gender. In today’s world, rather than in the world before ultrasound, that one almost sounds plausible!

And finally, I’ll leave you to guess one more explanation — proposed, surprisingly, by several students. (Hint: they were disturbingly creative.)

To conclude: I enjoy teaching my students. Understanding probability won’t let them predict the future, but it might make them less gullible.

Share:Facebooktwitterredditpinterestlinkedinmail

Card Dealing Math

Once I wrote a blog essay titled Seven, Ace, Queen, Two, Eight, Three, Jack, Four, Nine, Five, King, Six, Ten. It was about a “magic” card trick. Magic trick. Take a deck of cards face down. Move the top card to the bottom, then deal the new top card face-up on the table. Repeat this process until all the cards are dealt. And — abracadabra — the cards come out in perfect order!

If you want to perform this trick with one suit, the title of that earlier post tells you exactly how to stack your deck.

In the fall of 2023, I gave this trick as a homework problem to my STEP students. The result? We ended up writing a 40-page paper, Card Dealing Math, now available on the arXiv. At one point, we seriously considered calling it The Art of the Deal, but decided against it.

In the homework version, the deck consisted of cards from a single suit, but we generalized it to a deck of N cards labeled 1 through N. The dealing process we studied is called under–down dealing: you alternate between placing one card under the deck and then dealing the next one face-up. It’s very similar to down–under dealing, where you start by dealing the first card instead. These two patterns are often, unsurprisingly, called the Australian dealings.

The under-down dealing turns out to be mathematically equivalent to the Josephus problem. In that famous ancient problem, people are arranged in a circle, and you repeatedly skip one person and execute the next (much grimmer than playing with cards). The classic question asks: given N people, who survives? In our card context, this corresponds to asking where the card labeled N ends up in the prepared deck.

More generally, the Josephus problem can ask the following question. If we number the people in a circle 1 through N, in what order are they eliminated? In our research, we flipped the question around: how should we number the people in the circle so that they’re eliminated in increasing order?

Naturally, we couldn’t stop there. We explored several other dealing patterns, discovered delightful mathematical properties, and along the way added 44 new sequences to the OEIS. The funnest part? We also invented a few brand-new card tricks.


Share:Facebooktwitterredditpinterestlinkedinmail

Do Nothing

Puzzle. How can you make the following equation correct without changing it: 8 + 8 = 91?

The intended answer: turn the paper over! When flipped upside down, the equation becomes 16 = 8 + 8.

As you might expect, my blog post doesn’t stop there. I’d like to share some creative ideas my students came up with when they tackled this puzzle as part of their homework.

The most common suggestion was to interpret the equation modulo some number. For example, it works modulo 75. By extension, it also works modulo any divisor of 75: 3, 5, 15, or 25.

They also suggested interpreting the equation in base 5/3.

One far-fetched but imaginative submission proposed the following: Suppose the equation is written in an alien language whose symbols look identical to ours but have different meanings. In this alien base-10 system, the symbols + and = mean the same as on Earth, but an 8 represents 6, a 9 represents 1, and a 1 represents 2. Then the alien equation 8 + 8 = 91 translates to 6 + 6 = 12 in human, which is perfectly true.

But my favorite answer was the following:

  • Interpret the question mark as a variable and solve the equation. This gives ? = 16/91. We didn’t change the equation — just solved it!

Share:Facebooktwitterredditpinterestlinkedinmail

Egg, Banana, Apple, Walnut, Tangerine, and Avocado

The title sounds like a list of healthy foods. However, this list is from the homework I gave to my students.

Puzzle. Which one doesn’t belong: egg, banana, apple, walnut, tangerine, or avocado?

The book answer was apple as the only one which we can eat without peeling.

Other students suggested a lot of reasons why egg is the odd one out.

  • Egg is the only one not grown from a plant.
  • Egg is the only one without a letter a.
  • Egg is the only one you can’t eat without cooking.

Overall, the students found reasons for each of them. In addition to the above, we have the following.

  • Banana is the only one not in a spherical or ellipsoidal shape.
  • Walnut is the only word without repeated letters.
  • Tangerine is the only word with a square number of letters, and it is also the only citrus.
  • Avocado is the only word with more vowels than consonants.

Share:Facebooktwitterredditpinterestlinkedinmail

Friends on a Walk

I start my homework with warm-up puzzles.

Puzzle. Two friends went for a walk and found $20. How much money would they have found if there were four of them?

The answer, of course, is $20. The number of people doesn’t change the amount of money lying around. Even ChatGPT gave this answer. Duh!

My hope was to catch them not paying attention and mindlessly multiply to get $40.

To my surprise, some of them answered $80. The ‘them’ in the problem is not specified. It appears that they read the puzzle as if they found one 20-dollar bill, and them was referring to bills.

One student wrote a thoughtful reply: Having more friends most likely wouldn’t change the amount of money found, considering the amount of money is independent of the number of people, meaning the friends would still find $20. However, with double the people, they may find more money in other locations. There is also a chance that the 2 extra friends would make the group walk a different path, meaning they wouldn’t find money at all.


Share:Facebooktwitterredditpinterestlinkedinmail

Non-Identical Identical Triplets

I recently posted the following puzzle about identical triplets.

Puzzle. Three brothers who are identical triplets live on the seventh, eighth, and ninth floors of the same apartment building. Their apartments are identical and vertically stacked. One day, all three step onto their balconies, standing in the same upright posture. The brother on the eighth floor shouts, “AAAA!” Which of the other two will hear him first?

Most readers got it right: our mouths sit lower than our ears. That means the distance from the mouth of the brother on the eighth floor to the ears of the brother on the seventh floor is shorter than the distance to the ears of the brother on the ninth floor. So the seventh-floor brother hears it first.

However, one reader, Ivan, taught me something I didn’t know: identical twins aren’t always identical. He even sent a photo of Mark and Scott Kelly — identical twins of different heights.

Of course, as a first approximation, we can assume identical triplets are identical. But mathematicians are nitpicky and like precision. Ivan (clearly a mathematician at heart) also noted that even identical twins might wear shoes with different heel heights, which could tweak the distances.

Here’s another reader submission that made me smile:

  • The seventh-floor brother will hear it first, because the eighth-floor brother has fallen off the balcony and is screaming as he plummets towards the earth.

Nitpicking again: that’s a stretch, since the problem says they’re standing — but it’s still funny.


Share:Facebooktwitterredditpinterestlinkedinmail

Pavel Likes Pets

Here’s a problem from our 2025 STEP entrance test, taken by nearly a hundred students.

Problem. Pavel likes pets. All his pets except two are dogs. All his pets except two are cats. All his pets except two are parrots. The rest of the pets are cockroaches. How many pets of each kind does Pavel have?

Here is a solution from one student: one cat, one dog, and one parrot. No cockroaches—phew. Most students (and ChatGPT) found this one. By the way, I ran my whole test through ChatGPT, and this was the only mistake it made. ChatGPT, along with many students, missed the second solution: Pavel has two cockroaches.

Two more students’ answers made me smile:

  • His pet cockroach is named Two. It follows that Pavel has zero cats, zero dogs, zero parrots, and one cockroach named Two.
  • The parrots would eat the cockroaches, the cats would eat the parrots, and the dogs would eat the cats. Whatever he has now, he’ll be left with only dogs.

Share:Facebooktwitterredditpinterestlinkedinmail

Pledge of Honor

Guarantee of Honor

When I graduated high school, I got a special certificate I was absurdly proud of. It wasn’t about grades — students voted for these, supposedly to honor strength of character. The award was called the Pledge of Honor.

When you open it, the left-hand side has a quote attributed to Friedrich Engels: “A human is defined not only by what he does, but also by how he does it.”

I couldn’t find the official translation of this quote, so the above translation is my own. While I was searching, I found another quote: “The less you eat, drink, and read books, the less you have to shit, pee, and talk.” But I digress.

Before I explain what’s on the right-hand side of the award, a little context. I was a member of Komsomol, the Leninist Young Communist League in the Soviet Union. About 99% of students were members — not because of boundless zeal, but because not joining could hurt your chances of getting into college or landing a job. Back in high school, I was brainwashed into believing that the Komsomol was trying to do good, so I signed up as soon as I was eligible — I wasn’t thinking then about colleges or jobs.

Now I am ready to translate the right-hand side, which said: “The Komsomol organization of Moscow School No. 444 PLEDGES ON ITS HONOR that Tanya Khovanova will never, ever, anywhere disgrace the high calling of a Komsomol member.”

I lost my rose-colored glasses right after high school. How that happened is another story, but let’s just say the “never, ever” promise had a shelf life of about a month.

There was another, more prestigious certificate called the Torch-Carrier of Communism. Two students in my class received this honor. One of the torches soon moved to Israel.


Share:Facebooktwitterredditpinterestlinkedinmail