Search a number
-
+
1020504 = 233101421
BaseRepresentation
bin11111001001001011000
31220211212110
43321021120
5230124004
633512320
711450142
oct3711130
91824773
101020504
116377a1
124126a0
13299664
141c7c92
15152589
hexf9258

1020504 has 32 divisors (see below), whose sum is σ = 2582640. Its totient is φ = 336000.

The previous prime is 1020491. The next prime is 1020517. The reversal of 1020504 is 4050201.

1020504 is digitally balanced in base 2, because in such base it contains all the possibile digits an equal number of times.

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

It is a Harshad number since it is a multiple of its sum of digits (12).

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

It is a congruent number.

It is an unprimeable number.

It is a polite number, since it can be written in 7 ways as a sum of consecutive naturals, for example, 2214 + ... + 2634.

21020504 is an apocalyptic number.

It is an amenable number.

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

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

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

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

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

The product of its (nonzero) digits is 40, while the sum is 12.

The square root of 1020504 is about 1010.1999802019. The cubic root of 1020504 is about 100.6788478941.

Adding to 1020504 its reverse (4050201), we get a palindrome (5070705).

The spelling of 1020504 in words is "one million, twenty thousand, five hundred four".

Divisors: 1 2 3 4 6 8 12 24 101 202 303 404 421 606 808 842 1212 1263 1684 2424 2526 3368 5052 10104 42521 85042 127563 170084 255126 340168 510252 1020504