Search a number
-
+
40018791 = 339733601
BaseRepresentation
bin1001100010101…
…0001101100111
32210022011110110
42120222031213
540221100131
63545424103
7664103601
oct230521547
983264413
1040018791
112065378a
121149b033
1383a2277
14545a171
1537a7646
hex262a367

40018791 has 8 divisors (see below), whose sum is σ = 53494384. Its totient is φ = 26611200.

The previous prime is 40018757. The next prime is 40018859. The reversal of 40018791 is 19781004.

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

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

It is not a de Polignac number, because 40018791 - 217 = 39887719 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 (40018721) by changing a digit.

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

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

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

Almost surely, 240018791 is an apocalyptic number.

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

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

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

The sum of its prime factors is 34001.

The product of its (nonzero) digits is 2016, while the sum is 30.

The square root of 40018791 is about 6326.0407048959. The cubic root of 40018791 is about 342.0487345482.

Adding to 40018791 its reverse (19781004), we get a palindrome (59799795).

It can be divided in two parts, 400 and 18791, that added together give a palindrome (19191).

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

Divisors: 1 3 397 1191 33601 100803 13339597 40018791