Why is it so hard to split a big number into its primes?
In 1977 a magazine hid a message behind a 129-digit number. It took 600 volunteers and 1,600 computers 17 years to read it: 'The Magic Words are Squeamish Ossifrage'.
▶ Start the storySplitting a big number into primes is hard because nobody knows a shortcut. Multiplying is easy, but going backwards, finding which primes were multiplied, seems to require searching. For small numbers you can just try dividing by 2, 3, 5 and so on up to the square root. For huge numbers, that search explodes: as the number of digits grows, the work for any ordinary computer rises drastically. No efficient method is known, though nobody has proved one can't exist.

The hardest cases are numbers made by multiplying two large primes of similar size. That's no accident: such numbers are the keys of RSA encryption. If someone found a fast way to factor, RSA would no longer be secure.
The best story is a magazine puzzle. In August 1977, Martin Gardner's column in Scientific American hid a message behind a 129-digit number. It held out until April 1994, when about 600 volunteers lent some 1,600 computers over the Internet to crack it. The secret message read: The Magic Words are Squeamish Ossifrage. By 2015, the same job took about a day and $30 of cloud computing.
The real threat may be quantum. In 1994 Peter Shor found an algorithm that would factor quickly on a quantum computer, but it may need machines with millions of qubits.
1977
Martin Gardner's column publishes RSA-129
1994
1,600 computers crack RSA-129: Squeamish Ossifrage
1994
Peter Shor's quantum factoring algorithm
2015
RSA-129 factored in a day for about $30
2019
RSA-240 takes about 900 core-years
2020
RSA-250 factored
Quiz me
0/3
Recap
Multiplying primes is easy; un-multiplying them is the hard, unsolved direction.
Surprising fact · Factoring RSA-129 took 1,600 computers in 1994, but only about a day and $30 of cloud computing in 2015.
Sources (3)
No source, no claim. Every fact in this lesson (18 claims) cites at least one of these.