Pretty Cells

My e-friend and coauthor, Konstantin Knop, designed the following problem for the 2011 All-Russia Olympiad:

Some cells of a 100 by 100 board have one chip placed on them. We call a cell pretty if it has an even number of neighboring cells with chips. Neighbors are the cells that share a side. Is it possible for exactly one cell to be pretty?

The problem is not easy. Only one person at the Olympiad received full credit for it.

Share:Facebooktwitterredditpinterestlinkedinmail

Polite Gender Bias

From time to time my female colleagues share stories with me of great unfairness or horrible sexual harassment in the world of mathematics. I can’t reciprocate — certainly not on that level.

I do not have any horror stories to tell. Generally I am treated with great respect, at least to my face. In fact, some men have told me that I am the smartest person they ever met.

The stories I want to share are not about harassment. No single incident is a big deal. But when these things happened time after time after time, I realized: this is gender bias.

First story. A guy told me, “Your proof is unbelievably amazing.”

What can I say? It is just a compliment. Though I am not sure why the word “unbelievable” was included. Is it difficult to believe that I can produce an amazing proof? I encounter surprise too often to my taste.

Second story. Another guy tells me after I explain a solution to a math problem, “I didn’t realize it was so simple.”

Actually it wasn’t simple. When I explained the solution, it may have seemed simple, but that was because I was able to explain it to him with such clarity. People tend to downgrade their opinion of the problem, rather than upgrade their opinion of my ability. It actually affects my reputation as a mathematician.

Third story. Another guy said to me (and I quote!), “I am so dumb. I tried for a week to write the program that computes these numbers and you did it in one hour. I feel so dumb. I didn’t expect myself to be so dumb. Why am I so dumb?”

After the fourth “dumb”, I started wondering what it was all about. Many guys try to compete with me. And they hate losing to a woman. It creates a strong motivation for them to discard my brilliance and to explain away my speed, even if they have to claim temporary dumbness.

Fourth story. Someone asked me, “What is the source of the solutions and math ideas in your blog? Can you refer me to the literature?”

I do invest extra effort in citing the sources of the math puzzles I discuss. Everything else — the solutions, the ideas, new definitions, new sequences — I invent myself. I have even started inventing math puzzles. This is my blog. I thought of it myself, I wrote it myself. Has anyone ever asked Terence Tao where he takes the solutions for his blog from?

Unfortunately, this attitude damages my career. When people think that my ideas come from someone else, they do not cite me.

But all these stories however minor happen all the time, not only to me but to all my female colleagues. Gender bias is real. Next time someone tells me how unbelievably amazing my proof is, I will explode.

Share:Facebooktwitterredditpinterestlinkedinmail

All Roads Lead to Philosophy

Recently I stumbled on a cute xkcd comic with the hidden message:

Wikipedia trivia: if you take any article, click on the first link in the article text not in parentheses or italics, and then repeat, you will eventually end up at “Philosophy”.

Naturally, I started to experiment. The first thing I tried was mathematics. Here is the path: Mathematics — Quantity — Property — Modern philosophy — Philosophy.

Then I tried physics, which led me to mathematics: Physics — Natural science — Science — Knowledge — Fact — Information — Sequence — Mathematics.

Then I tried Pierre de Fermat, who for some strange reason led to physics first: Pierre de Fermat — French — France — Unitary state — Sovereign state — State — Social sciences — List of academic disciplines — Academia — Community — Living — Life — Objects — Physics.

The natural question is: what about philosophy? Yes, philosophy goes in a cycle: Philosophy — Reason — Rationality — philosophy.

The original comic talks about spark plugs. So I tried that and arrived at physics: Spark plug — Cylinder head — Internal combustion engine — Engine — Machine — Machine (mechanical) — Mechanical system — Power — Physics.

Then I tried to get far away from philosophy and attempted sex, unsuccessfully: Sex — Biology — Natural science. Then I tried dance: Dance — Art — Sense — Physiology — Science.

It is interesting to see how many steps it takes to get to philosophy. Here is the table for the words I tried:

Word # Steps
Mathematics 4
Physics 11
Pierre de Fermat 24
Spark plug 19
Sex 12
Dance 13

Mathematics wins. It thoroughly beats all the other words I tried. For now. Fans of sex might be disappointed by these results, and tomorrow they might change the wiki essay about sex to start as:

Modern philosophy considers sex …

Share:Facebooktwitterredditpinterestlinkedinmail

I Was Attacked

Not personally. Someone hacked into my website.

I would like to thank my readers Qiaochu Yuan, Mark Rudkin, “ano” and Paul who alerted me to the problem. Viewers who were using the Google Chrome browser and who tried to visit my website got this message: “This site contains content from howmanyoffers.com, a site known to distribute malware.”

It took me some time to figure out what was going on. It appears that on June 19 someone from 89-76-135-50.dynamic.chello.pl hacked into my hosting account and added a script to all my html files and to my blog header. It seems that the script was dormant and wasn’t yet doing bad things.

As soon as I grasped what was going on, I replaced all the affected files.

I have had my website for many years without changing my hosting password. Unfortunately, passwords, not dissimilar to humans, have this annoying tendency to become weaker with age. I wasn’t paying attention to the declining strength of my password and so I was punished.

Now I have fixed the website and my new password is: qwP35q2054uWiedfj052!@#$%.

Just kidding.

Share:Facebooktwitterredditpinterestlinkedinmail

A Chat with a Calculator

by Gregory Marton

I recently had the following chat with a particular calculator:

  • e^(e^(e^(e^e))) = 10^(10^(10^6.219196780089781))
  • e^(e^(e^(e^(e^e)))) = 10^(10^(10^(10^6.219196780089781)))
  • e^(e^(e^(e^(e^(e^(e^(e^(e^e))))))) = 10^(10^(10^(10^(10^(10^(10^(10^6.219196780089781)))))))

It seems odd to me that putting a few more e’s down the bottom should result in it thinking there were the same number of extra 10s at the bottom. In fact, I’ve never seen a calculator answer in this form at all. I’m especially intrigued that the final power of ten seems to be the same in all three cases, so it can’t even just be estimating. Do you have any thoughts on what screwy counting could be behind these particular answers?

Share:Facebooktwitterredditpinterestlinkedinmail

May the Force Be with You!

May the Mass times the Acceleration be with you!

Share:Facebooktwitterredditpinterestlinkedinmail

Tell Time Looking at the Night Sky

John Conway taught me how to tell time at night. But first I need to explain the notions of the “time in the sky” and the “time in the year.”

The clock in the sky. Look at Polaris and treat it as the center of a clock. The up direction corresponds to 12:00. Now we need to find a hand. If you find Polaris the way I do, first you locate the Big Dipper. Then you draw a line through the two stars that are furthest away from the Big Dipper’s handle. The line passes through Polaris and is your “hour” hand. Now you can read the time in the sky.

The hand of the clock in the sky makes a full rotation in approximately 24 hours. So if you stare at the sky for a long time, you can calculate the time you spent staring. Keep in mind that the hand in the sky clock is twice as slow as the hour hand, and it turns counter-clockwise. So to figure out how long you’re looking into the sky, take the sky-time when you start staring, subtract the sky-time when you stop staring and multiply the result by 2.

To calculate the absolute time, we need to adjust for the day in the year.

The clock in the year. A year has twelve months and a clock has twelve hours. How convenient. You can treat each month as one hour. In addition as a month has about 30 days and an hour has exactly 60 minutes, we should count a day as two minutes. Thus, January 25 is 1:50.

Fact: on March 7th at midnight the clock in the sky shows 12:00. March 7th corresponds to 3:15. So to calculate the solar time you need to add up the time in the sky and the time in the year and multiply it by 2. Then subtracting the result from 6:30, which is twice 3:15, you get the solar time.

You are almost ready. You might need to adjust for daylight savings time or for peculiarities of your time zone.

This time formula is not very precise. But if you are looking into the sky and you do not have your watch or cell phone with you, you probably do not need to know the time precisely.

Share:Facebooktwitterredditpinterestlinkedinmail

Math as an Aphrodisiac

In my life as a female mathematician I have quite often encountered a mathematician’s wife who, despite not knowing me, already hated me. It was clear that it had nothing to do with me personally, so being clueless and naive, I assumed that most men were cheaters and that their wives were extremely insecure and jealous.

Then one day one of the wives decided to be frank about her feelings. It wasn’t about cheating, she told me. It was that she felt distant from her husband. He lived in a world of mathematics from which she was excluded. I on the other hand shared this world with him.

It was very sad. It meant that I incurred their jealousy, not because of my sins, but because I am a female mathematician.

Let me tell you another story that helped me realize how all-encompassing this world of mathematics can be for some people. Once I had a very close friend who we will call Jack. I do not want to name him as he is a famous mathematician. Jack told me that the strongest emotions he feels are related to mathematics. He can only feel close to someone if he can share a mathematical discussion with them.

Now I understand the wives better. Husbands like Jack invest so much more in their math world and their colleagues than they do in their home life, that it is not surprising the wives are jealous. Because women mathematicians are scarce, when I appear in their husbands’ world, it adds another layer of worry.

Another thing that Jack told me is that he gets such a euphoric feeling when he discovers a new math idea that it is better than any orgasm. Of course, this statement made me question the quality of Jack’s orgasms, but in any case, for some mathematicians math is an aphrodisiac.

If math is an aphrodisiac, then tattooing a formula on the lover’s body may well enhance the orgasm. I just remembered the movie by Ed Frenkel. But I digress.

If math is an aphrodisiac, then I understand jealous wives even better. Without sex I can give their husbands pleasure they can’t.

Share:Facebooktwitterredditpinterestlinkedinmail

Translated from Russian

* * *

I am taking my dog to tweet. He’ll check other dog’s posts at every pole and will leave his comments.

* * *

Not many people know that 1000 chameleons is a chabillion.

* * *

The Internet paradox: it connects people who are far apart, and disconnects those who are close.

* * *

We bought a cell phone for our TV set. We attached it to the remote control, so that we can call our TV when the remote is lost.

* * *

Mary’s mom failed arithmetic. Actually, that is why Mary was born.

* * *

Your call is very important to us. Please, hold. And in the meantime, to protect your health, our customer care team encourages you to drink a glass of water at least every two hours.

* * *

Who is your favorite computer game character?
The stick from Tetris.

* * *

Our new boss invited everyone to bring their keyboards to his office. He kept the employees who had worn letters and laid off the ones with worn arrows.

* * *

My son will be a hacker. He started his career before he was born: he found a flaw in the condom.

Share:Facebooktwitterredditpinterestlinkedinmail

Complexity of Periodic Strings

I recently stumbled upon some notes (in Russian) of a public lecture given by Vladimir Arnold in 2006. In this lecture Arnold defines a notion of complexity for finite binary strings.

Consider a set of binary strings of length n. Let us first define the Ducci map acting on this set. The result of this operator acting on a string a1a2…an is a string of length n such that its i-th character is |ai − a(i+1)| for i < n, and the n-th character is |an − a1|. We can view this as a difference operator in the field F2, and we consider strings wrapped around. Or we can say that strings are periodic and infinite in both directions.

Let’s consider as an example the action of the Ducci map on strings of length 6. Since the Ducci map respects cyclic permutation as well as reflection, I will only check strings up to cyclic permutation and reflection. If I denote the Ducci map as D, then the Ducci operator is determined by its action on the following 13 strings, which represent all 64 strings up to cyclic permutation and reflection: D(000000) = 000000, D(000001) = 000011, D(000011) = 000101, D(000101) = 001111, D(000111) = 001001, D(001001) = 011011, D(001011) = 011101, D(001111) = 010001, D(010101) = 111111, D(010111) = 111101, D(011011) = 101101, D(011111) = 100001, D(111111) = 000000.

Now suppose we take a string and apply the Ducci map several times. Because of the pigeonhole principle, this procedure is eventually periodic. On strings of length 6, there are 4 cycles. One cycle of length 1 consists of the string 000000. One cycle of length 3 consists of the strings 011011, 101101 and 110110. Finally, there are two cycles of length 6: the first one is 000101, 001111, 010001, 110011, 010100, 111100, and the second one is shifted by one character.

We can represent the strings as vertices and the Ducci map as a collection of directed edges between vertices. All 64 vertices corresponding to strings of length 6 generate a graph with 4 connected components, each of which contains a unique cycle.

The Ducci map is similar to a differential operator. Hence, sequences that end up at the point 000000 are similar to polynomials. Arnold decided that polynomials should have lower complexity than other functions. I do not completely agree with that decision; I don’t have a good explanation for it. In any case, he proposes the following notion of complexity for such strings.

Strings that end up at cycles of longer length should be considered more complex than strings that end up at cycles with shorter length. Within the connected component, the strings that are further away from the cycle should have greater complexity. Thus the string 000000 has the lowest complexity, followed by the string 111111, as D(111111) = 000000. Next in increasing complexity are the strings 010101 and 101010. At this point the strings that represent polynomials are exhausted and the next more complex strings would be the three strings that form a cycle of length three: 011011, 101101 and 110110. If we assign 000000 a complexity of 1, then we can assign a number representing complexity to any other string. For example, the string 111111 would have complexity 2, and strings 010101 and 101010 would have complexity 3.

I am not completely satisfied with Arnold’s notion of complexity. First, as I mentioned before, I think that some high-degree polynomials are so much uglier than other functions that there is no reason to consider them having lower complexity. Second, I want to give a definition of complexity for periodic strings. There is a slight difference between periodic strings and finite strings that are wrapped around. Indeed, the string 110 of length 3 and the string 110110 of length 6 correspond to the same periodic string, but as finite strings it might make sense to think of string 110110 as more complex than string 110. As I want to define complexity for periodic strings, I want the complexity of the periodic strings corresponding to 110 and 110110 to be the same. So this is my definition of complexity for periodic strings: let’s call the complexity of the string the number of edges we need to traverse in the Ducci graph until we get to a string we saw before. For example, let us start with string 011010. Arrows represent the Ducci map: 011010 → 101110 → 110011 → 010100 → 111100 → 000101 → 001111 → 010001 → 110011. We saw 110011 before, so the number of edges, and thus the complexity, is 8.

The table below describes the complexity of the binary strings of length 6. The first column shows one string in a class up to a rotation or reflections. The second column shows the number of strings in a class. The next column provides the Ducci map of the given string, followed by the length of the cycle. The last two columns show Arnold’s complexity and my complexity.

String s # of Strings D(s) Length of the end cycle Arnold’s complexity My complexity
000000 1 000000 1 1 1
000001 6 000011 6 9 8
000011 6 000101 6 8 7
000101 6 001111 6 7 6
000111 6 001001 3 6 5
001001 3 011011 3 5 4
001011 12 011101 6 9 8
001111 6 010001 6 7 6
010101 2 111111 1 3 3
010111 6 111001 6 8 7
011011 3 101101 3 4 3
011111 6 100001 6 9 8
111111 1 000000 1 2 2

As you can see, for examples of length six my complexity doesn’t differ much from Arnold’s complexity, but for longer strings the difference will be more significant. Also, I am pleased to see that the sequence 011010, the one that I called The Random Sequence in one of my previous essays, has the highest complexity.

I know that my definition of complexity is only for periodic sequences. For example, the binary expansion of pi will have a very high complexity, though it can be represented by one Greek letter. But for periodic strings it always gives a number that can be used as a measure of complexity.

Share:Facebooktwitterredditpinterestlinkedinmail