## TOOL: PRIME NUMBER CHECKER

#### PRIME NUMBER CHECKER

Enter a whole number greater than 1.

RESULT

57 is NOT a prime number.

DESCRIPTIONS

A prime number has only two factors: 1 and itself. But 57 has 4 factors : 1, 3, 19 and 57. Thus, 57 is NOT a prime number.

OTHER INFORMATION

The prime factors of 57 can be found by upside-down division.

• The prime factors of 57 are 3 and 19.

• The closest prime number greater than 57 is 59.

• The closest prime number less than 57 is 53.

Copied to clipboard
Copy Text

## INFORMATION

### PRIME NUMBERS

A prime number is an integer greater than 1 and has exacly two factors: 1 and itself. The other positive integers are called composite numbers.

### WHAT IS PRIME NUMBER CHECKER?

Prime number checker,

• Tests whether a given number is prime or not,
• Provided that the given number is composite, the prime number checker

• finds the prime factors using upside-down division method,
• lists the factors of the given number,
• finds the closest prime number greater than the given number and
• finds the closest prime number less than the given number.

### HOW TO USE THE PRIME NUMBER CHECKER?

You can use the prime number checker in two ways.

• #### USER INPUTS

You can enter a whole number to the input box and click on the "CHECK" button. The result and explanations appaer below the calculator

• #### RANDOM INPUTS

You can click on the DIE ICON next to the input box. If you use this property, a random number is generated and entered to the calculator, automatically. You can see the result and explanations below the calculator. You can create your own examples and practice using this property.

• #### ILLUSTRATION OF THE RESULT

The result is illustrated by tick and cross icons. Tick means the entered number is prime and the cross symbol on the screen means that the number that you enter is composite.

• #### CLEARING THE INPUT BOX

To check the primality of another number, you can clear the input box by clicking on the CLEAR button under the input box.

• You can copy the generated solution by clicking on the "Copy Text" link, appaers under the solution panel.