Infographic: Visualizing Prime Numbers, For People Who Suck At Math

Numbers hide complex relationships that are tough to imagine. So here’s a pretty picture that brings them to light.

Infographic: Visualizing Prime Numbers, For People Who Suck At Math

The world belongs to the mathematicians and the physicists. We lay people may pump our minds with Discovery Channel specials, but they’re the ones who get to understand how it all really works–how the numbers add up into atoms and stars and gravity. Well…usually.

Click to enlarge.

Jason Davies, a data visualization specialist and computer scientist, created a graphic for the rest of us to picture the unique relationships between prime numbers. For those who don’t remember, prime numbers are the special numbers divisible only by 1 and themselves. 2, 3, 5 and 7 are all primes, while 4 (since it’s also divisible by 2) doesn’t make the cut.

In his visualization, you can highlight any natural number (the normal numbers we count) on the number line and see how it relates to its fellow numbers. The wavy lines are divisors (numbers that divide evenly into other numbers). So 11 is marked as a prime number–a number only divisible by 1 and itself. And when you highlight 11, you’ll see its waveform, which flows through 11, then 22, then 33 (and so on). It’s an interesting relationship to behold, especially when you highlight 11’s neighbor, 12.

Click to enlarge.

When highlighting 12, we see all sorts of other divisors that are related to this number. Waveforms that begin at 2, 3, 4 and 6 all intersect, as this highly divisible number becomes a interlinked in a chain with all of its compatible friends.

As a math deficient liberal arts major, I asked Davies if his visualization offers us a glimpse into how he “sees” numbers, a peek behind the curtain of a mathematical mind. Interestingly enough, it’s not how he normally sees numbers at all.

Click to enlarge.

“I must admit, I hadn’t thought of visualising the number line in this way prior to creating this. So it’s probably not how most mathematicians “see” the number line, or primes,” Davies tells me. ”But it’s incredibly interesting, even for hardcore math geeks, because it allows you to explore the compositeness of a whole set of numbers all at once. You don’t have to type a number into a box and press a button; you can just see a number and its neighbours all together simply by moving a mouse.”

It’s a salient point. In school, we learn to calculate numbers by hand, and these calculations are fundamentally, always about relationships between the numbers. But how often were we shown these relationships or the visual consequences of these relationships? It’s no wonder why so many people say geometry was their favorite math class: The numbers become something they can actually see. Case in point, I took a year of trigonometry from a teacher who never once uttered the word “triangle.”

[Ha tip: Infosthetics]

About the author

Mark Wilson is a writer who started, a simple way to give back every day. His work has also appeared at Gizmodo, Kotaku, PopMech, PopSci, Esquire, American Photo and Lucky Peach.



More Stories