Cipher 9: Christmas cryptography

Being simultaneously Christmas Day and Cipher Tuesday, I have a lot of material to get through.


Firstly, happy 370th birthday to Sir Isaac Newton, who succeeded Isaac Barrow as the Lucasian Professor of Mathematics (both from Trinity, yay!). This gives a nice segue into the topic of Isaacs, one of whom is obsessed with putting counters on chessboards in problems on the British Mathematical Olympiad:

Isaac has a large supply of counters, and places one in each of the squares of a 8 by 8 chessboard. Each counter is either red, white or blue. A particular pattern of coloured counters is called an arrangement. Determine whether there are more arrangements which contain an even number of red counters or more arrangements which contain an odd number of red counters.

This was from BMO1 2010/11. There are 1716841910146256242328924544641 arrangements with an even number of red counters, whereas there are merely 1716841910146256242328924544640 with an odd number of red counters. A random ‘even’ configuration is shown below:


If you solve it with Burnside’s lemma to treat rotations as equivalent, the difference is much more pronounced (429210477536564523837299872481 compared with 429210477536564060582231136160).

A couple of years later, for BMO 2012/13, Isaac resurfaced again:

Isaac places some counters onto the squares of an 8 by 8 chessboard so that there is at most one counter in each of the 64 squares. Determine, with justification, the maximum number that he can place without having five or more counters in the same row, or in the same column, or on either of the two long diagonals.

Some of the solutions people submitted were rather interesting. One person got a result of 39 instead of 32 by allowing counters to straddle boundaries between squares. Because this is a slightly less trivial problem than the intended question, I’ll include a solution to this misinterpretation:


Solution with 4.875 counters in each row and column, and 1.75 on each long diagonal

Another submission involved an expletive (‘we rearrange the chessboard and this is s**t’). I don’t know whether he was describing the problem as trivial, or whether he was trying to describe the permutation (1 4) in S4 (which does rearrange ‘this’ to ‘s**t’).

Joseph Myers enumerated the number of possible solutions to the problem, arriving at 43346734009 (fourth term of A220350, which Joseph added to the OEIS recently). For the misinterpretation, there are obviously 2^aleph-null solutions.

Christmas crackers

Secondly, here are a few mathematically-themed potential Christmas cracker jokes. I apologise that these are nowhere near as good as Vishal’s puns, but it’s a well-known fact that Christmas cracker jokes are meant to be terrible. For instance, there are a few oldies based on fruit and vegetables:


Fred Lunnon and I were responsible for the penultimate and final jokes, respectively. Slightly less family-friendly is this dreadful one of mine:


Even more racy is the Story of Polly Nomial, which for some peculiar reason is on the website of Susan Stepney (one of the people to investigate cellular automata on Penrose tilings). Stranger still is the fact that we haven’t yet co-authored a paper together. I don’t know who wrote the story, but I was informed of its existence by James Gazet.

Anyway, you’re probably eagerly awaiting this:

The cipher

I think that my last bunch of cryptographical conundrums was slightly too difficult (possibly frustratingly so). So, this is not particularly hard by comparison:



Some of the cp4space readership are going to Hungary the day after tomorrow. If you fall into this category, then I hope you thoroughly enjoy it. Interestingly, it was in precisely the same hotel (the Öreg-tó Club) that the idea of Complex Projective 4-Space was first popularised. Hence, I suppose you could consider it to be the birthplace of this blog.

Merry Christmas!

This entry was posted in Ciphers. Bookmark the permalink.

0 Responses to Cipher 9: Christmas cryptography

  1. James Cranch says:

    The Isaac relevant to BMO, by the way, is Jeremy King’s son. You may already know this, of course.

Leave a Reply