Search a number
-
+
40104 = 2332557
BaseRepresentation
bin1001110010101000
32001000100
421302220
52240404
6505400
7224631
oct116250
961010
1040104
1128149
121b260
131533c
1410888
15bd39
hex9ca8

40104 has 24 divisors (see below), whose sum is σ = 108810. Its totient is φ = 13344.

The previous prime is 40099. The next prime is 40111.

40104 is nontrivially palindromic in base 10.

It can be written as a sum of positive squares in only one way, i.e., 39204 + 900 = 198^2 + 30^2 .

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

It is a Harshad number since it is a multiple of its sum of digits (9).

It is an unprimeable number.

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

It is a polite number, since it can be written in 5 ways as a sum of consecutive naturals, for example, 207 + ... + 350.

240104 is an apocalyptic number.

It is an amenable number.

40104 is an abundant number, since it is smaller than the sum of its proper divisors (68706).

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

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

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

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

The product of its (nonzero) digits is 16, while the sum is 9.

The square root of 40104 is about 200.2598312193. The cubic root of 40104 is about 34.2291328660.

It can be divided in two parts, 40 and 104, that added together give a square (144 = 122).

The spelling of 40104 in words is "forty thousand, one hundred four", and thus it is an iban number.

Divisors: 1 2 3 4 6 8 9 12 18 24 36 72 557 1114 1671 2228 3342 4456 5013 6684 10026 13368 20052 40104