Search a number
-
+
1040058 = 23257781
BaseRepresentation
bin11111101111010111010
31221211200200
43331322322
5231240213
634143030
711561145
oct3757272
91854620
101040058
11650458
12421a76
132a5526
141d105c
15158273
hexfdeba

1040058 has 12 divisors (see below), whose sum is σ = 2253498. Its totient is φ = 346680.

The previous prime is 1040057. The next prime is 1040059. The reversal of 1040058 is 8500401.

It is an interprime number because it is at equal distance from previous prime (1040057) and next prime (1040059).

It can be written as a sum of positive squares in only one way, i.e., 751689 + 288369 = 867^2 + 537^2 .

It is a Harshad number since it is a multiple of its sum of digits (18), and also a Moran number because the ratio is a prime number: 57781 = 1040058 / (1 + 0 + 4 + 0 + 0 + 5 + 8).

It is a self number, because there is not a number n which added to its sum of digits gives 1040058.

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

It is a polite number, since it can be written in 5 ways as a sum of consecutive naturals, for example, 28873 + ... + 28908.

21040058 is an apocalyptic number.

1040058 is a gapful number since it is divisible by the number (18) formed by its first and last digit.

1040058 is an abundant number, since it is smaller than the sum of its proper divisors (1213440).

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

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

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

The sum of its prime factors is 57789 (or 57786 counting only the distinct ones).

The product of its (nonzero) digits is 160, while the sum is 18.

The square root of 1040058 is about 1019.8323391617. The cubic root of 1040058 is about 101.3178237844.

Adding to 1040058 its reverse (8500401), we get a palindrome (9540459).

The spelling of 1040058 in words is "one million, forty thousand, fifty-eight".

Divisors: 1 2 3 6 9 18 57781 115562 173343 346686 520029 1040058