Search a number
BaseRepresentation
bin1001110010111111
32001001012
421302333
52241002
6505435
7224663
oct116277
961035
1040127
112816a
121b27b
1315359
14108a3
15bd52
hex9cbf

40127 has 2 divisors, whose sum is σ = 40128. Its totient is φ = 40126.

The previous prime is 40123. The next prime is 40129. The reversal of 40127 is 72104.

It is a happy number.

It is a strong prime.

It is a cyclic number.

It is not a de Polignac number, because 40127 - 22 = 40123 is a prime.

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

Together with 40129, 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 (40123) by changing a digit.

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

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

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

240127 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 56, while the sum is 14.

The square root of 40127 is about 200.3172483837. The cubic root of 40127 is about 34.2356751860.

The spelling of 40127 in words is "forty thousand, one hundred twenty-seven", and thus it is an iban number.