Search a number
-
+
40789 = 75827
BaseRepresentation
bin1001111101010101
32001221201
421331111
52301124
6512501
7226630
oct117525
961851
1040789
1128711
121b731
1315748
1410c17
15c144
hex9f55

40789 has 4 divisors (see below), whose sum is σ = 46624. Its totient is φ = 34956.

The previous prime is 40787. The next prime is 40801. The reversal of 40789 is 98704.

It is a semiprime because it is the product of two primes, and also a Blum integer, because the two primes are equal to 3 mod 4.

It is a cyclic number.

It is not a de Polignac number, because 40789 - 21 = 40787 is a prime.

It is a Duffinian number.

It is a congruent number.

It is not an unprimeable number, because it can be changed into a prime (40787) 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, 2907 + ... + 2920.

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

240789 is an apocalyptic number.

It is an amenable number.

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

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

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

The sum of its prime factors is 5834.

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

The square root of 40789 is about 201.9628678743. The cubic root of 40789 is about 34.4229182955.

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

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

Divisors: 1 7 5827 40789