40123 has 2 divisors, whose sum is σ = 40124. Its totient is φ = 40122.

The previous prime is 40111. The next prime is 40127. The reversal of 40123 is 32104.

It is a strong prime.

It is a cyclic number.

It is a de Polignac number, because none of the positive numbers 2^{k}-40123 is a prime.

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

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

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

2^{40123} is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 24, while the sum is 10.

The square root of 40123 is about 200.3072639721. The cubic root of 40123 is about 34.2345375708.

Adding to 40123 its reverse (32104), we get a palindrome (72227).

It can be divided in two parts, 401 and 23, that added together give a palindrome (424).

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

• e-mail: info -at- numbersaplenty.com • Privacy notice • done in 0.099 sec. • engine limits •