WARNING!

This website contains spoilers for Andy Weir’s Project Hail Mary.
It is recommended you read the book before exploring this site.

#78 VIℓ

How many different musical symbol sequences are there in Project Hail Mary?

We saw in #24 that there are 179 instances of the characters:
♩ ♪ ♫
but how many sequences of those characters appear and how many unique such sequences are there?

There are 53 musical sequences with 33 unique patterns.

The sequences occurring 4 times are:

♫♩
♫♩♪♫
♫♪♫

The sequence occurring 3 times is:
♫♪♩♫

The sequences occurring 2 times are:
♩♪♫
♩♫♩♪♪

♫♩♪
♫♪
♫♪♫♪

The sequences occurring 1 time are:
♩♩
♩♪♩
♩♪♫♩♪
♩♪♫♪
♩♫♪♪♫
♪♪
♪♪♩
♪♪♫♪
♪♫♩
♪♫♫♪
♫♩♪♪♪
♫♩♪♪♫
♫♩♪♫♩♪♫
♫♩♪♫♪
♫♩♪♫♫
♫♪♩♪
♫♪♫♩
♫♪♫♪♩
♫♪♫♪♩♩
♫♪♫♫♪
♫♫
♫♫♩

it’s very easy to make a computer identify musical notes and find them in a table.

12.078