Search a number
-
+
1004221 is a prime number
BaseRepresentation
bin11110101001010111101
31220000112101
43311022331
5224113341
633305101
711351521
oct3651275
91800471
101004221
11626539
12405191
1329211a
141c1d81
1514c831
hexf52bd

1004221 has 2 divisors, whose sum is σ = 1004222. Its totient is φ = 1004220.

The previous prime is 1004209. The next prime is 1004233. The reversal of 1004221 is 1224001.

It is a balanced prime because it is at equal distance from previous prime (1004209) and next prime (1004233).

It can be written as a sum of positive squares in only one way, i.e., 881721 + 122500 = 939^2 + 350^2 .

It is a cyclic number.

It is not a de Polignac number, because 1004221 - 211 = 1002173 is a prime.

It is a junction number, because it is equal to n+sod(n) for n = 1004198 and 1004207.

It is a congruent number.

It is not a weakly prime, because it can be changed into another prime (1034221) by changing a digit.

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

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

It is an arithmetic number, because the mean of its divisors is an integer number (502111).

21004221 is an apocalyptic number.

It is an amenable number.

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

1004221 is an equidigital number, since it uses as much as digits as its factorization.

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

The product of its (nonzero) digits is 16, while the sum is 10.

The square root of 1004221 is about 1002.1082775828. The cubic root of 1004221 is about 100.1405024980.

Adding to 1004221 its reverse (1224001), we get a palindrome (2228222).

It can be divided in two parts, 1004 and 221, that added together give a triangular number (1225 = T49).

The spelling of 1004221 in words is "one million, four thousand, two hundred twenty-one".