Search a number
-
+
40791 = 313597
BaseRepresentation
bin1001111101010111
32001221210
421331113
52301131
6512503
7226632
oct117527
961853
1040791
1128713
121b733
131574a
1410c19
15c146
hex9f57

40791 has 4 divisors (see below), whose sum is σ = 54392. Its totient is φ = 27192.

The previous prime is 40787. The next prime is 40801. The reversal of 40791 is 19704.

It is a semiprime because it is the product of two primes.

It is not a de Polignac number, because 40791 - 22 = 40787 is a prime.

It is a D-number.

It is a Duffinian number.

It is a congruent number.

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

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

It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 6796 + ... + 6801.

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

240791 is an apocalyptic number.

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

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

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

The sum of its prime factors is 13600.

The product of its (nonzero) digits is 252, while the sum is 21.

The square root of 40791 is about 201.9678192188. The cubic root of 40791 is about 34.4234809039.

The spelling of 40791 in words is "forty thousand, seven hundred ninety-one".

Divisors: 1 3 13597 40791