Search a number
40111 is a prime number
BaseRepresentation
bin1001110010101111
32001000121
421302233
52240421
6505411
7224641
oct116257
961017
1040111
1128155
121b267
1315346
1410891
15bd41
hex9caf

40111 has 2 divisors, whose sum is σ = 40112. Its totient is φ = 40110.

The previous prime is 40099. The next prime is 40123. The reversal of 40111 is 11104.

It is a happy number.

It is a balanced prime because it is at equal distance from previous prime (40099) and next prime (40123).

It is a cyclic number.

It is not a de Polignac number, because 40111 - 27 = 39983 is a prime.

40111 is a modest number, since divided by 111 gives 40 as remainder.

It is a junction number, because it is equal to n+sod(n) for n = 40094 and 40103.

It is a congruent number.

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

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

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

240111 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 4, while the sum is 7.

The square root of 40111 is about 200.2773077510. The cubic root of 40111 is about 34.2311242716.

Adding to 40111 its reverse (11104), we get a palindrome (51215).

It can be divided in two parts, 40 and 111, that added together give a palindrome (151).

The spelling of 40111 in words is "forty thousand, one hundred eleven", and thus it is an iban number.