Search a number
40397 = 729199
BaseRepresentation
bin1001110111001101
32001102012
421313031
52243042
6511005
7225530
oct116715
961365
1040397
1128395
121b465
1315506
1410a17
15be82
hex9dcd

40397 has 8 divisors (see below), whose sum is σ = 48000. Its totient is φ = 33264.

The previous prime is 40387. The next prime is 40423. The reversal of 40397 is 79304.

It is a sphenic number, since it is the product of 3 distinct primes.

It is not a de Polignac number, because 40397 - 210 = 39373 is a prime.

It is a Duffinian number.

It is a congruent number.

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

It is a polite number, since it can be written in 7 ways as a sum of consecutive naturals, for example, 104 + ... + 302.

It is an arithmetic number, because the mean of its divisors is an integer number (6000).

240397 is an apocalyptic number.

It is an amenable number.

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

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

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

The sum of its prime factors is 235.

The product of its (nonzero) digits is 756, while the sum is 23.

The square root of 40397 is about 200.9900495049. The cubic root of 40397 is about 34.3122900763.

The spelling of 40397 in words is "forty thousand, three hundred ninety-seven".

Divisors: 1 7 29 199 203 1393 5771 40397