Search a number
-
+
2504 = 23313
BaseRepresentation
bin100111001000
310102202
4213020
540004
615332
710205
oct4710
93382
102504
111977
121548
1311a8
14cac
15b1e
hex9c8

2504 has 8 divisors (see below), whose sum is σ = 4710. Its totient is φ = 1248.

The previous prime is 2503. The next prime is 2521. The reversal of 2504 is 4052.

2504 is nontrivially palindromic in base 5 and base 14.

It can be written as a sum of positive squares in only one way, i.e., 2500 + 4 = 50^2 + 2^2 .

It is a sliding number, since 2504 = 4 + 2500 and 1/4 + 1/2500 = 0.2504.

It is a tau number, because it is divible by the number of its divisors (8).

2504 is an undulating number in base 14.

It is not an unprimeable number, because it can be changed into a prime (2503) by changing a digit.

It is a pernicious number, because its binary representation contains a prime number (5) of ones.

It is a polite number, since it can be written as a sum of consecutive naturals, namely, 149 + ... + 164.

2504 is a Friedman number, since it can be written as 50^2+4, using all its digits and the basic arithmetic operations.

It is an amenable number.

2504 is a deficient number, since it is larger than the sum of its proper divisors (2206).

2504 is a wasteful number, since it uses less digits than its factorization.

2504 is an odious number, because the sum of its binary digits is odd.

The sum of its prime factors is 319 (or 315 counting only the distinct ones).

The product of its (nonzero) digits is 40, while the sum is 11.

The square root of 2504 is about 50.0399840128. The cubic root of 2504 is about 13.5793226729.

Adding to 2504 its reverse (4052), we get a palindrome (6556).

It can be divided in two parts, 250 and 4, that multiplied together give a cube (1000 = 103).

The spelling of 2504 in words is "two thousand, five hundred four".

Divisors: 1 2 4 8 313 626 1252 2504