Enter Numbers
Use commas, spaces, semicolons, or new lines. You can enter integers, decimals, and fractions such as 4/9.
Example Data Table
| Input | Main Classification | Extra Property | Reason |
|---|---|---|---|
| -7 | Integer, Rational, Real | Odd | It is a negative whole-valued number. |
| 0 | Whole, Integer, Rational, Real | Even | It is not positive or negative. |
| 2/5 | Rational, Real | Proper fraction | It is a ratio of two integers. |
| 16 | Natural, Whole, Integer, Rational, Real | Perfect square | It equals 4 × 4. |
| 28 | Natural, Whole, Integer, Rational, Real | Perfect number | Its proper divisors sum to 28. |
Formula Used
Integer test: A value is an integer when x = round(x).
Even or odd: An integer is even when n mod 2 = 0. Otherwise, it is odd.
Prime test: A positive integer greater than 1 is prime when no integer from 2 to √n divides it.
Rational number: A number is rational when it can be written as a / b, where a and b are integers and b ≠ 0.
Perfect number: A positive integer is perfect when the sum of its proper divisors equals the number.
GCD: The greatest common divisor is found by the Euclidean algorithm.
LCM: For two non-zero integers, LCM(a,b) = |a × b| / GCD(a,b).
How to Use This Calculator
- Enter one or more numbers in the text box.
- Separate values with commas, spaces, semicolons, or new lines.
- Use fractions like
7/8when needed. - Choose the natural number convention.
- Set the decimal precision for displayed values.
- Add custom divisibility tests if needed.
- Press the classify button.
- Review the table, graphs, GCD, and LCM.
- Download the report as CSV or PDF.
Understanding Number Classification
Why Classification Matters
Number classification helps students and teachers understand how values behave. A single value can belong to many sets. For example, 8 is natural, whole, integer, rational, and real. The same value is also even, composite, and a perfect cube. These labels make math problems easier to read. They also support algebra, number theory, and basic proofs.
Sets Used in This Tool
The calculator checks common school math sets. Natural numbers are counting numbers. Whole numbers include zero and positive integers. Integers include negative and positive whole-valued numbers. Rational numbers can be written as a fraction. Real numbers include rational values and irrational values. This tool classifies entered decimals and fractions as rational values. It does not prove symbolic irrational forms like square root expressions.
Integer Properties
Integer checks add deeper insight. The tool tests whether an integer is even or odd. It also tests prime and composite status. Prime numbers have exactly two positive factors. Composite numbers have more than two positive factors. The calculator lists factors when the value is within the selected limit. It also checks perfect square, perfect cube, perfect, abundant, and deficient status.
Fractions and Decimals
Fractions are reduced before reporting. A fraction is proper when its numerator is smaller than its denominator. It is improper when the numerator is greater or equal. The denominator also tells whether the decimal ends or repeats. A denominator using only factors 2 and 5 gives a terminating decimal. Other denominator factors create repeating decimal forms.
Batch Review
Batch input saves time. You can compare many values in one report. The summary shows valid entries, integer count, prime count, and errors. The chart gives a visual comparison of values. Export buttons help save classroom work, homework checks, and study notes.
FAQs
1. What is a natural number?
A natural number is usually a counting number. Many courses start natural numbers at 1. Some courses include 0. This calculator lets you choose either convention.
2. Is every integer a rational number?
Yes. Every integer is rational because it can be written over 1. For example, 6 equals 6/1, and -4 equals -4/1.
3. Can this calculator classify fractions?
Yes. Enter fractions with a slash, such as 3/7 or -9/4. The tool reduces them and checks proper, improper, and decimal behavior.
4. Why is 1 not prime?
A prime number must have exactly two positive factors. The number 1 has only one positive factor, itself. So it is neither prime nor composite.
5. Is zero even?
Yes. Zero is even because it is divisible by 2 without a remainder. It is also a whole number and an integer.
6. What is a perfect number?
A perfect number equals the sum of its proper positive divisors. For example, 28 is perfect because 1 + 2 + 4 + 7 + 14 equals 28.
7. Can decimals be rational?
Yes. Terminating decimals are rational. Repeating decimals are also rational. A decimal is rational when it can be written as a fraction of integers.
8. Why are some large prime tests skipped?
Very large values can require many divisor checks. The calculator skips large prime tests to keep the page fast and responsive.