Search a number
-
+
40042157 = 1710123321
BaseRepresentation
bin1001100010111…
…1111010101101
32210100100111212
42120233322231
540222322112
63550124205
7664231661
oct230577255
983310455
1040042157
112066a2a1
12114b0665
1383acaac
1454648a1
1537ae522
hex262fead

40042157 has 8 divisors (see below), whose sum is σ = 42819192. Its totient is φ = 37312000.

The previous prime is 40042153. The next prime is 40042181. The reversal of 40042157 is 75124004.

It can be written as a sum of positive squares in 4 ways, for example, as 21215236 + 18826921 = 4606^2 + 4339^2 .

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

It is a cyclic number.

It is not a de Polignac number, because 40042157 - 22 = 40042153 is a prime.

It is a congruent number.

It is not an unprimeable number, because it can be changed into a prime (40042151) 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, 9944 + ... + 13377.

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

Almost surely, 240042157 is an apocalyptic number.

It is an amenable number.

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

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

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

The sum of its prime factors is 23439.

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

The square root of 40042157 is about 6327.8872461510. The cubic root of 40042157 is about 342.1152929118.

The spelling of 40042157 in words is "forty million, forty-two thousand, one hundred fifty-seven".

Divisors: 1 17 101 1717 23321 396457 2355421 40042157