Search a number
-
+
40258 = 220129
BaseRepresentation
bin1001110101000010
32001020001
421311002
52242013
6510214
7225241
oct116502
961201
1040258
1128279
121b36a
131542a
1410958
15bddd
hex9d42

40258 has 4 divisors (see below), whose sum is σ = 60390. Its totient is φ = 20128.

The previous prime is 40253. The next prime is 40277. The reversal of 40258 is 85204.

It is a happy number.

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., 26569 + 13689 = 163^2 + 117^2 .

It is a plaindrome in base 15.

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

It is a pernicious number, because its binary representation contains a prime number (7) of ones.

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

240258 is an apocalyptic number.

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

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

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

The sum of its prime factors is 20131.

The product of its (nonzero) digits is 320, while the sum is 19.

The square root of 40258 is about 200.6439632782. The cubic root of 40258 is about 34.2728903760.

The spelling of 40258 in words is "forty thousand, two hundred fifty-eight".

Divisors: 1 2 20129 40258