Works on this device
Number Properties Checker
Enter a whole number to see which properties it has: even or odd, prime, perfect, square, cube, palindrome, Fibonacci, Armstrong, happy and more, each with a reason. Other modes sort a number into its number sets and work with perfect squares in algebra.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Check.
Your result
How it was worked out
How to use this checker
- Choose what you want to check, for example Properties of a whole number.
- Enter a whole number from 0 to 1,000,000,000,000,000.
- Choose Check. The table gives Yes or No for each property and the reason. The divisors are listed below it.
- For algebra, choose Perfect square trinomial or Difference of two squares and enter the numbers of your expression.
What the properties mean
- Even numbers can be divided by 2. Odd numbers leave the remainder 1.
- A prime number has exactly two divisors, 1 and itself. A composite number has more. 0 and 1 are neither.
- A perfect number equals the sum of its divisors below itself, such as 28 = 1 + 2 + 4 + 7 + 14. If the sum is larger the number is abundant; if it is smaller the number is deficient.
- A perfect square is a whole number times itself, and a perfect cube is a whole number used three times as a factor.
- A triangular number is 1 + 2 + 3 + … up to some number. A Fibonacci number is in the list 0, 1, 1, 2, 3, 5, 8, 13, …
- A palindrome reads the same from both ends. An Armstrong number equals the sum of its digits, each raised to the number of digits, such as 153 = 1³ + 5³ + 3³.
- A happy number reaches 1 when you keep replacing it by the sum of the squares of its digits. A Harshad number can be divided by its digit sum.
- A number is square-free when no prime divides it twice. A semiprime is a product of exactly two primes.
Perfect squares in algebra
- Perfect square trinomial: (p·x + q)² = p²·x² + 2·p·q·x + q². A trinomial a·x² + b·x + c is one when b² = 4 × a × c and a is a perfect square.
- Completing the square: the number c that makes a·x² + b·x + c a perfect square is b² ÷ (4 × a).
- Difference of two squares: a² − b² = (a − b) × (a + b). For example 4x² − 25 = (2x − 5) × (2x + 5).
- A whole number is a difference of two squares unless it leaves the remainder 2 when divided by 4.
Worked examples
28 is even, composite, perfect, triangular (1 + 2 + … + 7) and happy (68, 100, 1). Its divisors are 1, 2, 4, 7, 14 and 28, and the ones below 28 add up to 28.
153 is an Armstrong number, because 1³ + 5³ + 3³ = 1 + 125 + 27 = 153. It is also triangular and a Harshad number: 153 ÷ 9 = 17.
4x² + 12x + 9 is a perfect square trinomial: 12² = 144 = 4 × 4 × 9, and it equals (2x + 3)².
53² − 47² = (53 − 47) × (53 + 47) = 6 × 100 = 600.
√2 is irrational, √16 = 4 is a natural number, and 0.75 = 3/4 is rational but not an integer.
Limits you should know
- The largest whole number for the properties is 1,000,000,000,000,000 (10^15). Negative numbers are not accepted there.
- Divisors are listed when there are at most 5,000 of them.
- Palindrome, Armstrong, happy and Harshad are tested on the usual base-10 digits.
- The number-type mode decides for fractions, square roots, and a fraction times one known irrational number such as π. For other expressions, such as π + e, it says that it cannot decide.
- A decimal that you type has an end, so it counts as rational. Type a fraction such as 1/3 for a repeating decimal.
- For a full list of prime factors with steps, use the prime and factor tool.