Number properties checker

Type a whole number up to one trillion to see its properties at once: prime factorization, the list and count of divisors, the divisor sum, whether it is perfect, abundant or deficient, square, cube, triangular, a Fibonacci number or a palindrome, plus Euler's totient and the binary form.

From 1 to 1,000,000,000,000.
Perfect, abundant or deficientPerfect: the proper divisors add up to n
Prime or composite
Composite
Prime factorization
2² × 7
Number of divisors
6
Divisors
1, 2, 4, 7, 14, 28
Sum of divisors σ(n)
56
Sum of proper divisors σ(n) − n
28
Even or odd
Even
Perfect square
No
Perfect cube
No
Triangular number
T7
Fibonacci number
No
Palindrome
No
Digit sum
10
Euler's totient φ(n)
12
Binary
11100

Runs in your browser: nothing you enter is sent anywhere.

How to use it

Type a whole number, for example 28. All properties appear at once. Divisors are listed when there are at most 100 of them; their count and sum are always shown. The triangular and Fibonacci rows show the index (T7 means the 7th triangular number, F10 the 10th Fibonacci number).

How it works

The number is factored by trial division. From the factorization n = p₁^e₁ · p₂^e₂ · … come the number of divisors (e₁ + 1)(e₂ + 1)…, the divisor sum σ(n) = ∏ (p^(e+1) − 1)/(p − 1) and Euler’s totient φ(n) = n · ∏ (1 − 1/p). Comparing σ(n) − n with n gives perfect, abundant or deficient. A square or cube is checked with an integer root, a triangular number by testing whether 8n + 1 is a perfect square, and a Fibonacci number by walking the sequence.

Worked example

n = 28 = 2² × 7. It has (2 + 1)(1 + 1) = 6 divisors: 1, 2, 4, 7, 14, 28. Their sum is σ(28) = 7 · 8 = 56, so the proper divisors add up to 56 − 28 = 28: 28 is perfect. It is even, not a square or a cube, triangular (T7 = 7 · 8/2), not a Fibonacci number, its digit sum is 10, φ(28) = 12 and in binary it is 11100.

Tips and common mistakes

  • 1 is neither prime nor composite; it has a single divisor.
  • Large numbers with many small factors can have thousands of divisors; then only the count and sum are shown.
  • All even perfect numbers have the form 2^(p−1)(2^p − 1) with 2^p − 1 prime; no odd perfect number is known.

Frequently asked questions

What is a perfect number?

A number equal to the sum of its proper divisors (all divisors except itself). 6 = 1 + 2 + 3 and 28 = 1 + 2 + 4 + 7 + 14 are the first two; 496 and 8128 come next.

What are abundant and deficient numbers?

If the proper divisors add up to more than the number, it is abundant (12: 1 + 2 + 3 + 4 + 6 = 16). If less, it is deficient; every prime is deficient because its only proper divisor is 1.

How do you know if a number is triangular?

n is triangular, n = k(k + 1)/2, exactly when 8n + 1 is a perfect square. Then k = (√(8n + 1) − 1)/2. For 28, 8 · 28 + 1 = 225 = 15², so k = 7.

How is the number of divisors found?

From the prime factorization n = p₁^e₁ · p₂^e₂ · …: the count is (e₁ + 1)(e₂ + 1)… and the sum is the product of (p^(e+1) − 1)/(p − 1) over the primes.

More in Math

All tools in this category: Math ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.