Search a number
-
+
40042 = 220021
BaseRepresentation
bin1001110001101010
32000221001
421301222
52240132
6505214
7224512
oct116152
960831
1040042
11280a2
121b20a
13152c2
1410842
15bce7
hex9c6a

40042 has 4 divisors (see below), whose sum is σ = 60066. Its totient is φ = 20020.

The previous prime is 40039. The next prime is 40063. The reversal of 40042 is 24004.

40042 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 can be written as a sum of positive squares in only one way, i.e., 39601 + 441 = 199^2 + 21^2 .

It is an unprimeable number.

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

240042 is an apocalyptic number.

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

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

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

The sum of its prime factors is 20023.

The product of its (nonzero) digits is 32, while the sum is 10.

The square root of 40042 is about 200.1049724520. The cubic root of 40042 is about 34.2114845782.

Adding to 40042 its reverse (24004), we get a palindrome (64046).

It can be divided in two parts, 4004 and 2, that multiplied together give a palindrome (8008).

The spelling of 40042 in words is "forty thousand, forty-two", and thus it is an eban number and an iban number.

Divisors: 1 2 20021 40042