Search a number
-
+
12504 = 233521
BaseRepresentation
bin11000011011000
3122011010
43003120
5400004
6133520
751312
oct30330
918133
1012504
119438
1272a0
1358cb
1447b2
153a89
hex30d8

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".

Divisors: 1 2 3 4 6 8 12 24 521 1042 1563 2084 3126 4168 6252 12504