Search a number
40879 is a prime number
BaseRepresentation
bin1001111110101111
32002002001
421332233
52302004
6513131
7230116
oct117657
962061
1040879
1128793
121b7a7
13157b7
1410c7d
15c1a4
hex9faf

40879 has 2 divisors, whose sum is σ = 40880. Its totient is φ = 40878.

The previous prime is 40867. The next prime is 40883. The reversal of 40879 is 97804.

It is a strong prime.

It is a cyclic number.

It is not a de Polignac number, because 40879 - 25 = 40847 is a prime.

It is a Chen prime.

40879 is a lucky number.

It is a congruent number.

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

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

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

240879 is an apocalyptic number.

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

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

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

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

The square root of 40879 is about 202.1855583369. The cubic root of 40879 is about 34.4482174924.

It can be divided in two parts, 4087 and 9, that added together give a 12-th power (4096 = 212).

The spelling of 40879 in words is "forty thousand, eight hundred seventy-nine".