Search a number
-
+
40797 = 331511
BaseRepresentation
bin1001111101011101
32001222000
421331131
52301142
6512513
7226641
oct117535
961860
1040797
1128719
121b739
1315753
1410c21
15c14c
hex9f5d

40797 has 8 divisors (see below), whose sum is σ = 60480. Its totient is φ = 27180.

The previous prime is 40787. The next prime is 40801. The reversal of 40797 is 79704.

It is not a de Polignac number, because 40797 - 211 = 38749 is a prime.

It is a Harshad number since it is a multiple of its sum of digits (27), and also a Moran number because the ratio is a prime number: 1511 = 40797 / (4 + 0 + 7 + 9 + 7).

40797 is a lucky number.

It is a self number, because there is not a number n which added to its sum of digits gives 40797.

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 pernicious number, because its binary representation contains a prime number (11) of ones.

It is a polite number, since it can be written in 7 ways as a sum of consecutive naturals, for example, 729 + ... + 782.

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

240797 is an apocalyptic number.

It is an amenable number.

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

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

40797 is an odious number, because the sum of its binary digits is odd.

The sum of its prime factors is 1520 (or 1514 counting only the distinct ones).

The product of its (nonzero) digits is 1764, while the sum is 27.

The square root of 40797 is about 201.9826725242. The cubic root of 40797 is about 34.4251686190.

The spelling of 40797 in words is "forty thousand, seven hundred ninety-seven".

Divisors: 1 3 9 27 1511 4533 13599 40797