Search a number
-
+
40504 = 236183
BaseRepresentation
bin1001111000111000
32001120011
421320320
52244004
6511304
7226042
oct117070
961504
1040504
1128482
121b534
1315589
1410a92
15c004
hex9e38

40504 has 16 divisors (see below), whose sum is σ = 78120. Its totient is φ = 19680.

The previous prime is 40499. The next prime is 40507.

40504 is nontrivially palindromic in base 10 and base 11.

40504 is digitally balanced in base 2, because in such base it contains all the possibile digits an equal number of times.

It is an Ulam number.

It is a plaindrome in base 13.

It is a congruent number.

It is not an unprimeable number, because it can be changed into a prime (40507) 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, 447 + ... + 529.

240504 is an apocalyptic number.

It is an amenable number.

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

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

40504 is an evil number, because the sum of its binary digits is even.

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

The product of its (nonzero) digits is 80, while the sum is 13.

The square root of 40504 is about 201.2560558095. The cubic root of 40504 is about 34.3425578213.

The spelling of 40504 in words is "forty thousand, five hundred four".

Divisors: 1 2 4 8 61 83 122 166 244 332 488 664 5063 10126 20252 40504