Search a number
-
+
40021271 is a prime number
BaseRepresentation
bin1001100010101…
…0110100010111
32210022021212022
42120222310113
540221140041
63545443355
7664114043
oct230526427
983267768
1040021271
1120655634
12114a055b
1383a3434
14545b023
1537a824b
hex262ad17

40021271 has 2 divisors, whose sum is σ = 40021272. Its totient is φ = 40021270.

The previous prime is 40021259. The next prime is 40021273. The reversal of 40021271 is 17212004.

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

It is a strong prime.

It is a cyclic number.

It is a de Polignac number, because none of the positive numbers 2k-40021271 is a prime.

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

It is a Chen prime.

It is a congruent number.

It is not a weakly prime, because it can be changed into another prime (40021273) 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 as a sum of consecutive naturals, namely, 20010635 + 20010636.

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

Almost surely, 240021271 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 112, while the sum is 17.

The square root of 40021271 is about 6326.2367170380. The cubic root of 40021271 is about 342.0558000901.

Adding to 40021271 its reverse (17212004), we get a palindrome (57233275).

The spelling of 40021271 in words is "forty million, twenty-one thousand, two hundred seventy-one".