Search a number
BaseRepresentation
bin1001110110100010
32001100121
421312202
52242404
6510454
7225436
oct116642
961317
1040354
1128356
121b42a
13154a2
14109c6
15be54
hex9da2

40354 has 4 divisors (see below), whose sum is σ = 60534. Its totient is φ = 20176.

The previous prime is 40351. The next prime is 40357. The reversal of 40354 is 45304.

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

It is a semiprime because it is the product of two primes.

It is an interprime number because it is at equal distance from previous prime (40351) and next prime (40357).

It can be written as a sum of positive squares in only one way, i.e., 31329 + 9025 = 177^2 + 95^2 .

It is a congruent number.

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

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

240354 is an apocalyptic number.

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

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

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

The sum of its prime factors is 20179.

The product of its (nonzero) digits is 240, while the sum is 16.

The square root of 40354 is about 200.8830505543. The cubic root of 40354 is about 34.3001113478.

Adding to 40354 its reverse (45304), we get a palindrome (85658).

Subtracting 40354 from its reverse (45304), we obtain a triangular number (4950 = T99).

The spelling of 40354 in words is "forty thousand, three hundred fifty-four".

Divisors: 1 2 20177 40354