In March 2001, a programmer named Phil Carmody found a prime number with a very unusual secret: written in binary, it was a compressed copy of a computer program that lawyers were trying to wipe off the internet.
It was a protest, a math trick and a legal puzzle rolled into one. And it started with a teenager who just wanted to watch DVDs on his computer.
The program that unlocked every DVD
In the late 1990s, commercial DVDs were protected by a system called CSS, the Content Scramble System. If you ran a free operating system like Linux, you simply could not play an encrypted video disc.
On 6 October 1999, a program called DeCSS changed that. It was built by three people, two of whom stayed anonymous. The third was a young Norwegian, Jon Lech Johansen, who wrote its interface and tested it on the movie The Matrix.
The protection turned out to be flimsy. CSS used only 40-bit encryption, and a high-end home computer in 1999 could break it by brute force in about 24 hours. Today it takes seconds.
Lawsuits against websites hosting DeCSS began in November 1999. Norwegian police raided Johansen’s home in 2000, and he faced up to two years in prison. He was acquitted in 2003, and the DVD Copy Control Association dropped its case on 22 January 2004.
Why every file is secretly a number
Here is the idea that turns this story into a math story. Every file on a computer, a photo, a song, a program, is stored as a long string of 0s and 1s. And any string of 0s and 1s can be read as one single, very large binary number.
So if sharing a piece of software is illegal, then sharing the number that encodes it could be illegal too. That is what people started calling an “illegal number”.
Protesters loved the absurdity. They spread the DeCSS code on T-shirts, in dramatic readings, as MIDI music files and even as a haiku. Carmody went one step further.
Why it had to be a prime
The goal was to give the forbidden number a property so special that it would deserve to be published for its own sake. Primality was perfect. Whether a number is prime is a fact of number theory, and it does not depend on the laws of any country.
The PrimePages website keeps public records of prime numbers, including a top 20 list of large primes proven with a technique based on elliptic curves. A big enough prime, certified that way, would earn an official entry.
The clever part was finding one. Carmody’s program was compressed with gzip, a format that ignores anything added after its end marker. He could tack extra bytes onto the end of the file without changing the program at all, which gave him a huge family of numbers that all decompress to the same code. He then tested them until one passed a quick “probably prime” check, and certified it with the elliptic curve method.
A prime you can actually run
In October 2001, Carmody pushed the joke further. He produced a prime number that, written in binary, is not a compressed file but a working Linux program for decrypting DVDs. An illegal, executable prime.
Another programmer, Hannum, found a different route without any compression. He took a short version of the DeCSS source code and kept renaming its variables until the resulting number came out prime.
The 16-byte number that took over a website
The fight came back in 2007 with a new target: a 128-bit key used to protect HD DVD and Blu-ray discs, nicknamed “09 F9” after its first two bytes. The person who published it said: “Nothing was hacked, cracked or even reverse-engineered btw: I only had to watch the “show” in my own memory.”
When the news site Digg removed posts containing the key after a legal notice, its users flooded the site with it, hidden in songs, images and even color codes. Founder Kevin Rose gave in: “You’d rather see Digg go down fighting than bow down to a bigger company.”
Some people turned the key into a “Free Speech Flag”. Split into groups of three bytes, a short number becomes a handful of red, green and blue color values, so the flag was literally the number painted as stripes.
Can anyone own a number?
Underneath the pranks lies a genuinely strange question. If every piece of digital information is a number, then a law against sharing information is, in a sense, a law against writing certain numbers down.
Mathematicians have been studying prime numbers for thousands of years. It took the DVD era to show that one of them could also be a piece of contraband.

