Multi-sensorial pattern recognition is useful for education and research as each composite number sequentially matches the corresponding sense variations.

Colors and numbers are discovered, not created. See the patterns of the universe emerge among primes with our diverse spectrum of colors.

Be in tune with the music of prime numbers. Each prime comes with its corresponding note, frequency, and MIDI note number.

Prime numbers are at the tip of your tongue! Associate each prime with its very own savory flavor, and taste the patterns of the universe.

The nose knows! With over a hundred distinct scents, you can track down individual primes or enjoy the array of smells that come with them all.

Even surfaces are unique. Reach out, make contact with each prime, and feel the randomness become a pattern.

We have a feeling you're in the right place. Complete your experience of prime numbers with emotions - the strongest association of all.

You're only a few simple steps away

First, choose the Start and Stop for the range of numbers you wish to search and enter them in the form below.

Now you can toggle the optional "Show prime number details" on or off, then when you're ready, click "Explore"!

Below you'll find your numbers and all their corresponding senses and details.

Show prime number details:

- General:
- Prime density: ~7.86
- Prev. prime gap: 1
- Base Conversions:
- 11
- 3
- 3
- Isolated Primes:
- Is isolated: false
- Isolated density: ~0.00
- Prime Types:
- Is palindrome: true
- Palindrome density: ~0.01
- Is twin: true
- Twin density: ~1.64
- Is cousin: false
- Cousin density: ~1.63
- Is sexy: false
- Sexy density: ~2.52
- Is reversible: false
- Reversible density: ~1.12
- Is pandigital: false
- Pandigital density: ~0.00
- Is repunit: false
- Repunit density: ~0.00
- Is Mersenne: true
- Mersenne density: ~0.00
- Is Fibonacci: true
- Fibonacci density: ~0.00

- General:
- Prime density: ~7.86
- Prev. prime gap: 2
- Base Conversions:
- 101
- 5
- 5
- Isolated Primes:
- Is isolated: false
- Isolated density: ~0.00
- Prime Types:
- Is palindrome: true
- Palindrome density: ~0.01
- Is twin: true
- Twin density: ~1.64
- Is cousin: false
- Cousin density: ~1.63
- Is sexy: false
- Sexy density: ~2.52
- Is reversible: false
- Reversible density: ~1.12
- Is pandigital: false
- Pandigital density: ~0.00
- Is repunit: false
- Repunit density: ~0.00
- Is Mersenne: false
- Mersenne density: ~0.00
- Is Fibonacci: true
- Fibonacci density: ~0.00

- General:
- Prime density: ~7.86
- Prev. prime gap: 2
- Base Conversions:
- 111
- 11
- 7
- Isolated Primes:
- Is isolated: false
- Isolated density: ~0.00
- Prime Types:
- Is palindrome: true
- Palindrome density: ~0.01
- Is twin: true
- Twin density: ~1.64
- Is cousin: true
- Cousin density: ~1.63
- Is sexy: false
- Sexy density: ~2.52
- Is reversible: false
- Reversible density: ~1.12
- Is pandigital: false
- Pandigital density: ~0.00
- Is repunit: false
- Repunit density: ~0.00
- Is Mersenne: true
- Mersenne density: ~0.00
- Is Fibonacci: false
- Fibonacci density: ~0.00

- General:
- Prime density: ~7.86
- Prev. prime gap: 4
- Base Conversions:
- 1011
- 15
- b
- Isolated Primes:
- Is isolated: false
- Isolated density: ~0.00
- Prime Types:
- Is palindrome: true
- Palindrome density: ~0.01
- Is twin: true
- Twin density: ~1.64
- Is cousin: true
- Cousin density: ~1.63
- Is sexy: false
- Sexy density: ~2.52
- Is reversible: false
- Reversible density: ~1.12
- Is pandigital: false
- Pandigital density: ~0.00
- Is repunit: true
- Repunit density: ~0.00
- Is Mersenne: false
- Mersenne density: ~0.00
- Is Fibonacci: false
- Fibonacci density: ~0.00

- General:
- Prime density: ~7.86
- Prev. prime gap: 2
- Base Conversions:
- 1101
- 21
- d
- Isolated Primes:
- Is isolated: false
- Isolated density: ~0.00
- Prime Types:
- Is palindrome: false
- Palindrome density: ~0.01
- Is twin: true
- Twin density: ~1.64
- Is cousin: true
- Cousin density: ~1.63
- Is sexy: false
- Sexy density: ~2.52
- Is reversible: true
- Reversible density: ~1.12
- Is pandigital: false
- Pandigital density: ~0.00
- Is repunit: false
- Repunit density: ~0.00
- Is Mersenne: false
- Mersenne density: ~0.00
- Is Fibonacci: true
- Fibonacci density: ~0.00

- General:
- Prime density: ~7.86
- Prev. prime gap: 4
- Base Conversions:
- 10001
- 25
- 11
- Isolated Primes:
- Is isolated: false
- Isolated density: ~0.00
- Prime Types:
- Is palindrome: false
- Palindrome density: ~0.01
- Is twin: true
- Twin density: ~1.64
- Is cousin: true
- Cousin density: ~1.63
- Is sexy: false
- Sexy density: ~2.52
- Is reversible: true
- Reversible density: ~1.12
- Is pandigital: false
- Pandigital density: ~0.00
- Is repunit: false
- Repunit density: ~0.00
- Is Mersenne: false
- Mersenne density: ~0.00
- Is Fibonacci: false
- Fibonacci density: ~0.00

- General:
- Prime density: ~7.86
- Prev. prime gap: 2
- Base Conversions:
- 10011
- 31
- 13
- Isolated Primes:
- Is isolated: false
- Isolated density: ~0.00
- Prime Types:
- Is palindrome: false
- Palindrome density: ~0.01
- Is twin: true
- Twin density: ~1.64
- Is cousin: true
- Cousin density: ~1.63
- Is sexy: false
- Sexy density: ~2.52
- Is reversible: false
- Reversible density: ~1.12
- Is pandigital: false
- Pandigital density: ~0.00
- Is repunit: false
- Repunit density: ~0.00
- Is Mersenne: false
- Mersenne density: ~0.00
- Is Fibonacci: false
- Fibonacci density: ~0.00

- General:
- Prime density: ~7.86
- Prev. prime gap: 4
- Base Conversions:
- 10111
- 35
- 17
- Isolated Primes:
- Is isolated: false
- Isolated density: ~0.00
- Prime Types:
- Is palindrome: false
- Palindrome density: ~0.01
- Is twin: false
- Twin density: ~1.64
- Is cousin: true
- Cousin density: ~1.63
- Is sexy: true
- Sexy density: ~2.52
- Is reversible: false
- Reversible density: ~1.12
- Is pandigital: false
- Pandigital density: ~0.00
- Is repunit: false
- Repunit density: ~0.00
- Is Mersenne: false
- Mersenne density: ~0.00
- Is Fibonacci: false
- Fibonacci density: ~0.00

Prime Numbers API is a tool for requesting prime numbers or data associated with a prime or composite (non-prime) number. With five endpoints, users can request a random prime number, check if a number is prime, gather all the prime numbers between two numbers, get density values of primes in a certain range, get an isolated random prime that's super far from a neighbor, get tons of information about their results, and more! Prime numbers are extremely useful to many, including mathematicians, data scientists, and security experts, to name a few.

They are difficult to acquire, though. Think about it, how many numbers are there?**Infinite**--that's how many. How many prime numbers are there? Good question. How many APIs have had 10 active servers running for years on end, non-stop, to count and calculate each individual number? **One: Prime Numbers API**

No other database in the world even comes remotely close to 5+ billion primes and 130+ composite numbers! Prime Numbers API aims to be the one-stop-shop for anyone in need of prime numbers and their respective data. It is a truly unique API.

They are difficult to acquire, though. Think about it, how many numbers are there?

No other database in the world even comes remotely close to 5+ billion primes and 130+ composite numbers! Prime Numbers API aims to be the one-stop-shop for anyone in need of prime numbers and their respective data. It is a truly unique API.

Visit Prime-Numbers-API.com and register an account. Choose a plan and enjoy! The Free Plan is an excellent choice to give our API a test drive!

Absolutely! If you visit our Documentation page and select any of the docs for an endpoint, Get Isolated Random Prime (paid) for example, you can view example requests, their headers, and responses!

We offer four API plans:

- Free ($0/month)
- Maths is Fun ($7.99/month)
- Scientist ($19.99/month)
- Expert ($29.99/month)

Here you can view the complete pricing details

The API key is visible in the messages related to each one of the orders.

We offer a multitude of Code Examples, as well as Documentation for each request endpoint, in a host of languages to help you get started with integrating Prime Numbers API calls into your application!

The output has been translated into the eight most commonly spoken languages in the world, besides english including Mandarin Mandarin, Hindi Hindi, Spanish Spanish, France French, GermanGerman, Italian Italian, Japan Japanese, and Russian Russian, making the Prime Numbers the most accessible API for finding prime numbers in the world!

database of prime numbers in the world

Whether you're a scientist, security expert, or simply love maths,

Prime Numbers API has something to offer you!

Prime Numbers API has something to offer you!