Search a number
-
+
40987 = 172411
BaseRepresentation
bin1010000000011011
32002020001
422000123
52302422
6513431
7230332
oct120033
962201
1040987
1128881
121b877
131586b
1410d19
15c227
hexa01b

40987 has 4 divisors (see below), whose sum is σ = 43416. Its totient is φ = 38560.

The previous prime is 40973. The next prime is 40993. The reversal of 40987 is 78904.

It is a semiprime because it is the product of two primes.

It is a cyclic number.

It is not a de Polignac number, because 40987 - 215 = 8219 is a prime.

It is a Duffinian number.

It is not an unprimeable number, because it can be changed into a prime (40927) by changing a digit.

It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 1189 + ... + 1222.

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

240987 is an apocalyptic number.

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

40987 is a wasteful number, since it uses less digits than its factorization.

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

The sum of its prime factors is 2428.

The product of its (nonzero) digits is 2016, while the sum is 28.

The square root of 40987 is about 202.4524635563. The cubic root of 40987 is about 34.4785275613.

It can be divided in two parts, 409 and 87, that added together give a triangular number (496 = T31).

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

Divisors: 1 17 2411 40987