Search a number
-
+
40518 = 2322251
BaseRepresentation
bin1001111001000110
32001120200
421321012
52244033
6511330
7226062
oct117106
961520
1040518
1128495
121b546
131559a
1410aa2
15c013
hex9e46

40518 has 12 divisors (see below), whose sum is σ = 87828. Its totient is φ = 13500.

The previous prime is 40507. The next prime is 40519. The reversal of 40518 is 81504.

40518 is digitally balanced in base 2, because in such base it contains all the possibile digits an equal number of times.

It is a Smith number, since the sum of its digits (18) coincides with the sum of the digits of its prime factors.

It is a Harshad number since it is a multiple of its sum of digits (18), and also a Moran number because the ratio is a prime number: 2251 = 40518 / (4 + 0 + 5 + 1 + 8).

It is a plaindrome in base 13.

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

It is a congruent number.

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

40518 is an untouchable number, because it is not equal to the sum of proper divisors of any number.

It is a polite number, since it can be written in 5 ways as a sum of consecutive naturals, for example, 1108 + ... + 1143.

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

240518 is an apocalyptic number.

40518 is an abundant number, since it is smaller than the sum of its proper divisors (47310).

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

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

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

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

The product of its (nonzero) digits is 160, while the sum is 18.

The square root of 40518 is about 201.2908343666. The cubic root of 40518 is about 34.3465141419.

The spelling of 40518 in words is "forty thousand, five hundred eighteen".

Divisors: 1 2 3 6 9 18 2251 4502 6753 13506 20259 40518