Prime Patterns

There is no known formula for finding prime numbers. All numbers must be tested to determine whether they are prime or not. There are some interesting patterns that pop up in prime numbers, but you never know how long they will hold.

For example:



These types of numbers, where all the digits are the same number except one, are known as near repdigit primes.

Another pattern can be found when adding and subtracting factorials (!). The factorial of a number is the product of that number and all other positive integers less than that number. So for example, 4! = 4 x 3 x 2 x 1.

Alternating adding and subtracting factorials, as shown below, yields primes numbers until you get to 9!.


If you want to see if a number is prime, or find out the factors of number that isn’t prime (those number are called composite), you can check numbers from 1 to 100,000,000 at

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s