40627 has 2 divisors, whose sum is σ = 40628.
Its totient is φ = 40626.
The previous prime is 40609. The next prime is 40637. The reversal of 40627 is 72604.
It is a strong prime.
It is a cyclic number.
It is not a de Polignac number, because 40627 - 27 = 40499 is a prime.
It is equal to p4258 and since 40627 and 4258 have the same sum of digits, it is a Honaker prime.
It is not a weakly prime, because it can be changed into another prime (40637) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 20313 + 20314.
It is an arithmetic number, because the mean of its divisors is an integer number (20314).
240627 is an apocalyptic number.
40627 is a deficient number, since it is larger than the sum of its proper divisors (1).
40627 is an equidigital number, since it uses as much as digits as its factorization.
40627 is an evil number, because the sum of its binary digits is even.
The product of its (nonzero) digits is 336, while the sum is 19.
The square root of 40627 is about 201.5614050358.
The cubic root of 40627 is about 34.3772857984.
The spelling of 40627 in words is "forty thousand, six hundred twenty-seven".