12504 has 16 divisors (see below), whose sum is σ = 31320. Its totient is φ = 4160.
The previous prime is 12503. The next prime is 12511. The reversal of 12504 is 40521.
12504 is nontrivially palindromic in base 5.
It is a Harshad number since it is a multiple of its sum of digits (12).
It is an Ulam number.
It is a self number, because there is not a number n which added to its sum of digits gives 12504.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (12503) by changing a digit.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 237 + ... + 284.
212504 is an apocalyptic number.
It is an amenable number.
12504 is an abundant number, since it is smaller than the sum of its proper divisors (18816).
It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.
It is a Zumkeller number, because its divisors can be partitioned in two sets with the same sum (15660).
12504 is a wasteful number, since it uses less digits than its factorization.
12504 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 530 (or 526 counting only the distinct ones).
The product of its (nonzero) digits is 40, while the sum is 12.
The square root of 12504 is about 111.8212859880. The cubic root of 12504 is about 23.2104194181.
Adding to 12504 its product of nonzero digits (40), we get a square (12544 = 1122).
The spelling of 12504 in words is "twelve thousand, five hundred four".
• e-mail: info -at- numbersaplenty.com • Privacy notice • done in 0.059 sec. • engine limits •