Take a look at these two series of numbers:

6-4-4-3-3-2 5-3-3-2-2-X

What number would you put at X’s place? Would it be 1? I think most people would come to that conclusion. What if you were asked to find the series of six numbers before the 644332 sequence? Wouldn’t you choose 7-5-5-4-4-3? And after the 533221 series, you would probably expect the combination: 4-2-2-1-1-0, right?

Now you have solved a mathematical problem. Does that feel good?

If I told you, that the two series of numbers are from a piece of music, do you think, you can guess which (hint: you probably would have to be Danish to know 🙂 )?

OK, you guessed correctly! They are from the Danish children’s tune, “Jeg ved en lærkerede” (“The lark’s nest“) by Carl Nielsen. It’s a very simple tune, and as a composition, it is brilliantly done. Here you can here the melody, made in Google Song Maker:

The Lark’s Nest – simple midi version of the song

In the melody, the two series of numbers appear in the middle of the song, in note names: C-E-C-F-D-G- -E-A-F-F-E-E-D- – -G-E-E-D-D-C– -A-F-E-E-D-D-C- – –

Looking at the melody in midi notation, we can see, that the logic of the two series can also be immediately grasped, when represented as geometric patterns:

The ‘Lark’s nest’ melody as midi/boomwhacker notation (made in Google Song Maker)

Why does it feel good to solve a math problem? You found that the missing number was 1. And you came to that conclusion via a process of looking for a pattern in the number series, and through logical thinking coming to a conclusion. How is this gratifying? Is it the fact of experiencing a confirmation that the world turned out to be, what you would expected it to be?

When you listen to or sing the melody of ‘The Lark’s Nest’, and you experience the tone C at the end of series two, was this what you expected? And if so: was the feeling of experiencing something in the world that turned out as expected gratifying? Was the feeling related, somehow to the feeling, when solving a math problem? Is listening to and playing music (also) some kind of problem solving?

Sudoku and music

I have a habit. When I need to relax my brain, I play Sudokus. I actually play a version called ‘Killer Sudoku’. In math terms, solving a killer sudoku means using basic adding/subtracting, which is of cours good training, but the satisfying part is the part where it’s actually about solving equations. I’ve been doing this for quite some time, and contrary to other time killer apps, I seem to stick to this one. It means predictability, since I know I will always solve the Sudoku, eventually; I know some tricks that will help me crack the problems; but what is more is, that it means discovering new tricks.

At a session with my composition mentor, Jexper Holmen, we talked about musical form. I am working on a series of variations for piano, and Holmen suggested that I ‘coded’ the variations with certain formal elements, something in the beginning, in the middle, and in the end, that could be easily recognized. These elements should help build a ‘contract’ with the listener, setting up something to expect; once there is expectation, expectation can be fulfilled or not, and in this way there is ‘something at play’.

In the children’s tune ‘The Lark’s Nest’, there is a build up of expectation, within the melody itself, and the fulfilling of this expectation is what makes it a good melody.

The sound of sudoku

Now, with the ideas from my mentor in the back of my head, and sitting, as usual, killing time with my killer sudoku, an idea struck me. This is what I knew:

  • solving a sudoku is basically about solving equations
  • solving equations is a gratifying thing
  • music can be build as series of numbers
  • series that follow a logical sequence, thus fulfilling the listeners expectations, it can be gratifying to listen to

So my idea was of course: What if I turned a (Killer) Sudoku into music? What kind of music would that be? As is the case with turning DNA code into music, the fact that the system used for generating music is foreign to the sound itself, makes the connection between sound and system arbitrary. Just like with letters and phonemes in language. The letters H-O-R-S-E are supposed to sound in a specific way, when spoken. In language, the relation between spoken and written words is arbitrary. However, once established, the system makes sense to the reader.

So, if I want to make a sudoku into music, I need to choose a way of translating the sudoku’s math problems and their solutions into sound. And the choice of a translation system will necessarily be arbitrary. However, there might be a chance, and this is indeed my purpose, that the audible result will make sense in a way similar to the sudoku.

Here is a sudoku, I’ve solved.

A sudoku being solved

How can this mathematical problem solving become a piece of music?

First, let’s establish some points. Solving a Sudoku takes time. For me, this makes a ‘translation’ into music meaningful, since music is a time based art form. The sequence, and maybe duration, of the problem solving in the sudoku could be used as the outset for the unfolding of the composition.

Secondly, a sudoku is based on numbers. In music, sounds and rhythms can be thought of as numbers. The sudoku uses the numbers 1 – 9 in a variety of combinations. In music, I think, it makes sense to use these combinations to generate patterns of pitch (melody, chord, interval) and rhythm. As we saw in the children’s tune, a simple sequence of numbers can generate musically meaningful sequences of pitch.

Thirdly, in a sudoku, you solve one problem at a time, but all problems are ultimately connected; solving one problems makes it possible to solve the next; in some cases, there will be an intermediary situation, where there are 2 – 3 possible solutions to a problem; reducing the problem to that, can help finding the final solution to another problem. In other words: Solving a sudoku means untangling a web of connections between connections. How can this be translated into music?


In order to answer this question, we need to conduct some experiments. Here is a setup, I’m working on.

First of all, I think more instruments are needed. In order to establish a ‘solution’ to a problem, there is a need for something recognizable, and distributing different solutions to different instruments might do the job. The sudoku consists of 9 fields, nine vertical, and 9 horisontal lines, each with the numbers 1 – 9. A single number solution therefore affects a field, and two lines. In order to ‘translate’ this problem solving grid into musical timbre, I suggest that we divide the instruments in groups. In order to cover the whole field of problems, we need a certain number of instruments. How about a sinfonietta*?

Since the occurrence of a solved problem, in a sudoku, is represented in the space of the grid, my idea is to allocate different instruments to different parts of the grid. In order to further enhance the ‘formatting’ of the spatial distribution of the sudoku’s math problem solving, I also coded the grid with pitch differences, going from deep pitches in the bottom left, to high pitches in the top right.

Mapping the spatial logic of the sudoku’s math problem solving onto musical timbre and pitch range.

Each instrument would ‘account’ for a problem solving in a certain region, and groups of instruments would gestalt the vertical and horisontal connections.

An idea for distributing the instruments spatially, mapped on the Sudoku grid

From here to a final result: a lot of hard work….!

* A sinfonietta is a kind of ensemble , typically, consists of 1 of each instrument from the symphony orchestra. In a sinfonietta, we typically have a flute, an oboe, a clarinet, a bassoon, a French horn, a trumpet, a trombone, two percussion players, a piano, a harp, two violins, a viola, a cello and a double bass.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s