PRIME NUMBERS


Before we start with the fun (which involves a trick and a special prime number calculator), there's just one thing you need to know:

Prime numbers are numbers that can only
be divided by themselves or by 1.


12 is not a prime number because it will divide by 1,2,3,4,6 and 12. This means that if you have 12 eggs, there are several different shaped boxes you can neatly fit them all into.


13 is a prime number because it will only divide exactly by 1 or 13. If you have 13 eggs, the only box they will neatly fit into has one row of 13 eggs. If you try boxes that are shorter and wider, you'll never neatly fit all 13 eggs in.

The prime numbers smaller than 100 are:
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97 ...
...and they go on for ever. So far nobody has found a pattern to predict them
and they can't decide if 1 is prime or not!

Mathematicians LOVE prime numbers because just about all of maths is made out of prime numbers. In the same way, scientists LOVE atoms because just about everything we know is made out of atoms. So now we know what prime numbers are, what can we do with them?

Before we see the trick, here's a rather neat toy for you to try. It's a rather special calculator which can tell you if a number is prime or not. All you need to do is type a number in the smaller box, and then hit the "calculate" button. The big box then tells you about your number. (Warning if you put in numbers with more than 6 or 7 digits your computer might get a bit cross!)

Prime Number Calculator

Type in any whole number you like:

Have you tried it out?

What's the BIGGEST prime number you can find? (Without blowing your computer up!)



Here's the good bit!

The Prime Number Trick

Using prime numbers, you can amaze your friends with a prime prediction...

Without knowing which prime number your friends picked, you can still tell them:

There will be a remainder of 6.

(Or if they do the sum on a calculator, the answer will end with " .5")

If you want to try this out yourself right now, use the Prime Number Calculator to find a nice big juicy prime number.
Put your number into this normal calculator (you need to push the buttons with your mouse). First you multiply your prime number by itself then add 17 and finally divide by 12. What do you get?

Go THIS way Go THAT way

For example, if you want to try the trick with the prime number 2801, here's what to push: ...and that's the answer! Now find a new prime number and try it.

The "24" Mystery!

A Murderous Maths fan called OBAID pointed out that if you square ANY prime number bigger then 3, then subtract 1, the answer always divides by 24!

E.g. 112 = 121 then 121 - 1 = 120 and yes 120 does divide by 24.

WHY?

If you understand algebra, (and you've read The Phantom X ) then you'll know that all prime numbers can be written as (6n+1) or (6n-1).

(6n+1)2 = 36n+12n+1. So (6n+1)2 -1 = 36n+12n. This factorises to 12n(3n+1). Either n or (3n+1) must be even, therefore the whole expression must be divisible by 24.

(6n-1)2 = 36n-12n+1. So (6n-1)2 -1 = 36n-12n. This factorises to 12n(3n-1). Either n or (3n-1) must be even, therefore the whole expression must be divisible by 24.

There's a whole section on the history of prime numbers including the rather strange "Mersenne" primes in the eighth Murderous Maths book "NUMBERS: The Key to the Universe".

WARNING! DO NOT CLICK THIS LOGO!
Links:

Tricks and Games

The Mean and Vulgar Bits  
This book explains how to break numbers into prime factors and then use them to simplify calculations.

"NUMBERS: The Key to the Universe"  
This book tells you about patterns of primes and gives more general facts including what Mersenne prime are.

The Murderous Maths main index page

MANY THANKS to the website which supplied these calculators!
You can see for yourself what else they've got at
The JavaScript Source