Search a number
BaseRepresentation
bin1001110101110111
32001022000
421311313
52242221
6510343
7225345
oct116567
961260
1040311
1128317
121b3b3
131546b
1410995
15be26
hex9d77

40311 has 8 divisors (see below), whose sum is σ = 59760. Its totient is φ = 26856.

The previous prime is 40289. The next prime is 40343. The reversal of 40311 is 11304.

Adding to 40311 its reverse (11304), we get a palindrome (51615).

It can be divided in two parts, 403 and 11, that added together give a palindrome (414).

It is not a de Polignac number, because 40311 - 29 = 39799 is a prime.

It is a Harshad number since it is a multiple of its sum of digits (9).

It is an Ulam number.

It is a junction number, because it is equal to n+sod(n) for n = 40293 and 40302.

It is a congruent number.

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

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

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

240311 is an apocalyptic number.

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

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

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

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

The product of its (nonzero) digits is 12, while the sum is 9.

The square root of 40311 is about 200.7759945810. The cubic root of 40311 is about 34.2879239647.

The spelling of 40311 in words is "forty thousand, three hundred eleven", and thus it is an iban number.

Divisors: 1 3 9 27 1493 4479 13437 40311