πŸ”’Prime Number Tool

Free online prime number tool. Check if a number is prime, find the nth prime, and list primes in any range.

Prime Number Tool

Check primality, find the Nth prime, and generate prime sequences.

Tests divisors from 2 up to √n using trial division. Maximum value: 1,000,000,000,000.

97Prime
Trial division limit: √97 β‰ˆ 9
Trial division process
2β†’97 % 2 = 1
3β†’97 % 3 = 1
5β†’97 % 5 = 2
7β†’97 % 7 = 6
9β†’97 % 9 = 7

About Prime Number Tool

The Prime Number Tool checks whether any number is prime, finds the nth prime number, lists all primes in a given range, and performs prime factorization of any integer. It uses BigInt to support very large numbers. All calculation runs locally in your browser.

Features

  • Primality test for any number
  • Find the nth prime number
  • List all primes in a given range
  • Prime factorization of any integer
  • BigInt support for very large numbers

Frequently Asked Questions

How large a number can I test?
The tool uses trial division and BigInt, so it handles numbers up to several dozen digits, though very large composites may take longer.
What is a prime number?
A prime number is a whole number greater than 1 that has exactly two divisors: 1 and itself.