homehome Home chatchat Notifications


Primes don't like to repeat themselves: a mathematical conspiracy revealed

Kannan Soundararajan and Robert Lemke Oliver of Stanford University published a paper recently that is leaving mathematicians scratching their heads. Their work exposed a mathematical bias of prime numbers in which a prime repels other would-be primes that end in the same digit. The researchers found some digits are 'preferred' in the detriment of others with various predilections. For instance, a prime ending in 9 is 65 percent likelier to be followed by a prime ending in 1 than one ending in 9.

Tibi Puiu
March 15, 2016 @ 12:18 pm

share Share

Kannan Soundararajan and Robert Lemke Oliver of Stanford University published a paper recently that is leaving mathematicians scratching their heads. Their work exposed a mathematical bias of prime numbers in which a prime repels other would-be primes that end in the same digit. The researchers found some digits are ‘preferred’ in the detriment of others with various predilections. For instance, a prime ending in 9 is 65 percent likelier to be followed by a prime ending in 1 than one ending in 9.

Kannan Soundararajan, left, and Robert Lemke Oliver of Stanford University. Image: Waheeda Khalfan

Kannan Soundararajan, left, and Robert Lemke Oliver of Stanford University. Image: Waheeda Khalfan

“We’ve been studying primes for a long time, and no one spotted this before,” said Andrew Granville, a number theorist at the University of Montreal and University College London. “It’s crazy.”

It’s crazy because it’s one of those things everyone thought was written in stone: primes behave randomly. We should have known better, though, since primes aren’t random and follow a very deterministic path instead.

A prime is any number that’s only divisible by itself and the number one. These are 2, 3, 5, 7, 13 and so on. Twelve is not a prime because it’s divisible by 3 and 2, which are other primes. As you work up the ladder primes become increasingly hard to find. The largest prime found so far is  274,207,281-1 or 2 multiplied by itself more than 74 million times. That’s in the astronomical realm.

Except for the prime numbers 2 and 5, all other primes end in  1, 3, 7 or 9. You’d think that a prime has an equal chance of ending in any of the four, but apparently this is not the case.

Oliver and Soundararajan were inspired to make this research after attending a lecture by  Tadashi Tokieda, of the University of Cambridge. Tokieda mentioned in passing a fun tidbit of coin-tossing: if Alice tosses a coin until she sees a head followed by a tail, and Bob tosses a coin until he sees two heads in a row, then on average, Alice will require four tosses while Bob will require six tosses. This is counter-intuitive because there’s a 50/50 chance any of the two faces showing for any toss. The two mathematicians wondered if any of this spooky action might be found in primes, which are ever mysterious.

The researchers first looked at prime number written in base 3 since it’s a lot easier to spot patterns. In base 3, primes end in either 1 or 2. For primes smaller than 1,000 a prime ending in 1 is more than twice as likely to be followed by a prime ending 2 than another prime ending in 1. The reverse holds true, with primes ending in 2 being much likelier to be followed by those ending in 1. They then looked at the first 400 billion primes and the same predisposition was confirmed. Whether it was base 3, 10 or any other variations, primes seem to have a knack of being followed by another ending in a different digit.

The mathematicians have no explanation yet. It’s not clear either if these ‘random’ behaviour is isolated or tied to other mathematical structures. For sure, others will investigate and who knows what other oddities we’ll learn about primes.

share Share

Archaeologists Discover 6,000 Year Old "Victory Pits" That Featured Mass Graves, Severed Limbs, and Torture

Ancient times weren't peaceful by any means.

Space Solar Panels Could Cut Europe’s Reliance on Land-Based Renewables by 80 Percent

A new study shows space solar panels could slash Europe’s energy costs by 2050.

A 5,000-Year-Old Cow Tooth Just Changed What We Know About Stonehenge

An ancient tooth reshapes what we know about the monument’s beginnings.

Astronomers See Inside The Core of a Dying Star For the First Time, Confirm How Heavy Atoms Are Made

An ‘extremely stripped supernova’ confirms the existence of a key feature of physicists’ models of how stars produce the elements that make up the Universe.

Rejoice! Walmart's Radioactive Shrimp Are Only a Little Radioactive

You could have a little radioactive shrimp as a treat. (Don't eat any more!)

Newly Found Stick Bug is Heavier Than Any Insect Ever Recorded in Australia

Bigger than a cockroach and lighter than a golf ball, a giant twig emerges from the misty mountains.

Chevy’s New Electric Truck Just Went 1,059 Miles on a Single Charge and Shattered the EV Range Record

No battery swaps, no software tweaks—yet the Silverado EV more than doubled its 493-mile range. How’s this possible?

Dolphins and Whales Can Be Friends and Sometimes Hang Out Together

They have a club and you're not invited.

Cats in a Finnish Village Have a Coat Pattern That's Never Been Seen Before

These beautiful and unique cats have similarly unique DNA.

Scientists Uncover 505-Million-Year-Old Penis Worm with a Mouthful of Bizarre Teeth

Evolution was trying things out.