Search a number
-
+
1040657 is a prime number
BaseRepresentation
bin11111110000100010001
31221212111212
43332010101
5231300112
634145505
711562662
oct3760421
91855455
101040657
11650952
12422295
132a5897
141d1369
15158522
hexfe111

1040657 has 2 divisors, whose sum is σ = 1040658. Its totient is φ = 1040656.

The previous prime is 1040651. The next prime is 1040659. The reversal of 1040657 is 7560401.

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

It is a strong prime.

It can be written as a sum of positive squares in only one way, i.e., 839056 + 201601 = 916^2 + 449^2 .

It is a cyclic number.

It is not a de Polignac number, because 1040657 - 212 = 1036561 is a prime.

Together with 1040659, it forms a pair of twin primes.

It is a Chen prime.

It is a nialpdrome in base 16.

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

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

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

21040657 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 840, while the sum is 23.

The square root of 1040657 is about 1020.1259726132. The cubic root of 1040657 is about 101.3372706900.

The spelling of 1040657 in words is "one million, forty thousand, six hundred fifty-seven".