Search a number
-
+
40778 = 220389
BaseRepresentation
bin1001111101001010
32001221022
421331022
52301103
6512442
7226613
oct117512
961838
1040778
1128701
121b722
131573a
1410c0a
15c138
hex9f4a

40778 has 4 divisors (see below), whose sum is σ = 61170. Its totient is φ = 20388.

The previous prime is 40771. The next prime is 40787. The reversal of 40778 is 87704.

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., 24649 + 16129 = 157^2 + 127^2 .

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

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

240778 is an apocalyptic number.

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

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

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

The sum of its prime factors is 20391.

The product of its (nonzero) digits is 1568, while the sum is 26.

The square root of 40778 is about 201.9356333092. The cubic root of 40778 is about 34.4198236201.

Adding to 40778 its sum of digits (26), we get a palindrome (40804).

It can be divided in two parts, 40 and 778, that added together give a palindrome (818).

The spelling of 40778 in words is "forty thousand, seven hundred seventy-eight".

Divisors: 1 2 20389 40778