Sunday, April 13, 2014

PriNuCker: Prime Number Checker

Prime Number

A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. A natural number greater than 1 that is not a prime number is called a composite number.
~from Dear Wikipedia

In programming, it's also called as primality test.
Anyway, to get the factors of certain number, type input ≤ 320,000. Above that, you'll only get the PRIME or NOT prime result. PriNuCker doesn't use array(s) of table look up for this. PriNuCker is iteration-based.
Because of that, to prevent browser crash, the input value above of 320,000 (thirty twoenty, three hundred and twenty thousand) won't produce the factors.

Find out whether a number is a prime number or not with this tool below.
A front-end application by Monkey Raptor.

Prime number checker

use factoring
bypass factoring


Main function idea

Go to this JavaScript code repository.