40693 has 2 divisors, whose sum is σ = 40694.
Its totient is φ = 40692.
The previous prime is 40639. The next prime is 40697. The reversal of 40693 is 39604.
Subtracting from 40693 its reverse (39604), we obtain a square (1089 = 332).
Together with previous prime (40639) it forms an Ormiston pair, because they use the same digits, order apart.
It is a strong prime.
It can be written as a sum of positive squares in only one way, i.e., 33124 + 7569 = 182^2 + 87^2
It is a cyclic number.
It is a de Polignac number, because none of the positive numbers 2k-40693 is a prime.
It is a congruent number.
It is not a weakly prime, because it can be changed into another prime (40697) by changing a digit.
It is a pernicious number, because its binary representation contains a prime number (11) of ones.
It is a good prime.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 20346 + 20347.
It is an arithmetic number, because the mean of its divisors is an integer number (20347).
240693 is an apocalyptic number.
It is an amenable number.
40693 is a deficient number, since it is larger than the sum of its proper divisors (1).
40693 is an equidigital number, since it uses as much as digits as its factorization.
40693 is an odious number, because the sum of its binary digits is odd.
The product of its (nonzero) digits is 648, while the sum is 22.
The square root of 40693 is about 201.7250604164.
The cubic root of 40693 is about 34.3958914329.
The spelling of 40693 in words is "forty thousand, six hundred ninety-three".