Search a number
-
+
40904 = 235113
BaseRepresentation
bin1001111111001000
32002002222
421333020
52302104
6513212
7230153
oct117710
962088
1040904
1128806
121b808
1315806
1410c9a
15c1be
hex9fc8

40904 has 8 divisors (see below), whose sum is σ = 76710. Its totient is φ = 20448.

The previous prime is 40903. The next prime is 40927.

40904 is nontrivially palindromic in base 10.

It can be written as a sum of positive squares in only one way, i.e., 40804 + 100 = 202^2 + 10^2 .

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

It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 40904.

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

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

240904 is an apocalyptic number.

It is an amenable number.

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

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

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

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

The product of its (nonzero) digits is 144, while the sum is 17.

The square root of 40904 is about 202.2473732833. The cubic root of 40904 is about 34.4552384562.

The spelling of 40904 in words is "forty thousand, nine hundred four".

Divisors: 1 2 4 8 5113 10226 20452 40904