Search a number
BaseRepresentation
bin1001110111010010
32001102101
421313102
52243102
6511014
7225535
oct116722
961371
1040402
112839a
121b46a
131550b
1410a1c
15be87
hex9dd2

40402 has 4 divisors (see below), whose sum is σ = 60606. Its totient is φ = 20200.

The previous prime is 40387. The next prime is 40423. The reversal of 40402 is 20404.

Adding to 40402 its reverse (20404), we get a palindrome (60806).

It is a Cunningham number, because it is equal to 2012+1.

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., 40401 + 1 = 201^2 + 1^2 .

It is an unprimeable number.

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

240402 is an apocalyptic number.

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

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

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

The sum of its prime factors is 20203.

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

The square root of 40402 is about 201.0024875468. The cubic root of 40402 is about 34.3137056465.

The spelling of 40402 in words is "forty thousand, four hundred two", and thus it is an iban number.

Divisors: 1 2 20201 40402