Search a number
-
+
40158221 is a prime number
BaseRepresentation
bin1001100100110…
…0010000001101
32210120020201112
42121030100031
540240030341
63552421405
7665224235
oct231142015
983506645
1040158221
1120739514
1211547865
13842087c
145494cc5
1537d3aeb
hex264c40d

40158221 has 2 divisors, whose sum is σ = 40158222. Its totient is φ = 40158220.

The previous prime is 40158211. The next prime is 40158263. The reversal of 40158221 is 12285104.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 36735721 + 3422500 = 6061^2 + 1850^2 .

It is a cyclic number.

It is not a de Polignac number, because 40158221 - 210 = 40157197 is a prime.

It is a super-2 number, since 2×401582212 = 3225365427769682, which contains 22 as substring.

It is a congruent number.

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

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

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

Almost surely, 240158221 is an apocalyptic number.

It is an amenable number.

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

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

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

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

The square root of 40158221 is about 6337.0514436921. The cubic root of 40158221 is about 342.4455195991.

The spelling of 40158221 in words is "forty million, one hundred fifty-eight thousand, two hundred twenty-one".