40804 has 9 divisors (see below), whose sum is σ = 72121. Its totient is φ = 20200.

The previous prime is 40801. The next prime is 40813.

40804 = T_{201} + T_{202}.

The square root of 40804 is 202.

It is a perfect power (a square), and thus also a powerful number.

40804 is nontrivially palindromic in base 10.

It can be written as a sum of positive squares in only one way, i.e., 39204 + 1600 = 198^2 + 40^2 .

It is a Duffinian number.

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

It is a polite number, since it can be written in 2 ways as a sum of consecutive naturals, for example, 354 + ... + 454.

2^{40804} is an apocalyptic number.

40804 is the 202-nd square number.

It is an amenable number.

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

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

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

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

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

The cubic root of 40804 is about 34.4271374108.

Multiplying 40804 by its sum of digits (16), we get a square (652864 = 808^{2}).

The spelling of 40804 in words is "forty thousand, eight hundred four".

• e-mail: info -at- numbersaplenty.com • Privacy notice • done in 0.425 sec. • engine limits •