Search a number
-
+
40118791 is a prime number
BaseRepresentation
bin1001100100001…
…0101000000111
32210111020122011
42121002220013
540232300131
63551515051
7665001256
oct231025007
983436564
1040118791
1120711929
1211528a87
13840893b
14548479d
1537c70b1
hex2642a07

40118791 has 2 divisors, whose sum is σ = 40118792. Its totient is φ = 40118790.

The previous prime is 40118789. The next prime is 40118801. The reversal of 40118791 is 19781104.

It is a weak prime.

It is a cyclic number.

It is not a de Polignac number, because 40118791 - 21 = 40118789 is a prime.

Together with 40118789, it forms a pair of twin primes.

It is a congruent number.

It is not a weakly prime, because it can be changed into another prime (40118731) by changing a digit.

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

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

Almost surely, 240118791 is an apocalyptic number.

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

40118791 is an equidigital number, since it uses as much as digits as its factorization.

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

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

The square root of 40118791 is about 6333.9396113320. The cubic root of 40118791 is about 342.3334043363. Note that the first 3 decimals are identical.

Adding to 40118791 its reverse (19781104), we get a palindrome (59899895).

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