Search a number
-
+
40954 = 220477
BaseRepresentation
bin1001111111111010
32002011211
421333322
52302304
6513334
7230254
oct117772
962154
1040954
1128851
121b84a
1315844
1410cd4
15c204
hex9ffa

40954 has 4 divisors (see below), whose sum is σ = 61434. Its totient is φ = 20476.

The previous prime is 40949. The next prime is 40961. The reversal of 40954 is 45904.

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., 29929 + 11025 = 173^2 + 105^2 .

It is a Smith number, since the sum of its digits (22) coincides with the sum of the digits of its prime factors. Since it is squarefree, it is also a hoax number.

It is an unprimeable number.

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

240954 is an apocalyptic number.

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

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

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

The sum of its prime factors is 20479.

The product of its (nonzero) digits is 720, while the sum is 22.

The square root of 40954 is about 202.3709465314. The cubic root of 40954 is about 34.4692718062.

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

The spelling of 40954 in words is "forty thousand, nine hundred fifty-four".

Divisors: 1 2 20477 40954