Search a number
-
+
40787 is a prime number
BaseRepresentation
bin1001111101010011
32001221122
421331103
52301122
6512455
7226625
oct117523
961848
1040787
112870a
121b72b
1315746
1410c15
15c142
hex9f53

40787 has 2 divisors, whose sum is σ = 40788. Its totient is φ = 40786.

The previous prime is 40771. The next prime is 40801. The reversal of 40787 is 78704.

It is a strong prime.

It is a cyclic number.

It is not a de Polignac number, because 40787 - 24 = 40771 is a prime.

It is a Chen prime.

It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 40787.

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

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

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

240787 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 1568, while the sum is 26.

The square root of 40787 is about 201.9579164083. The cubic root of 40787 is about 34.4223556686.

It can be divided in two parts, 407 and 87, that added together give a palindrome (494).

The spelling of 40787 in words is "forty thousand, seven hundred eighty-seven".