Search a number
-
+
1040797 is a prime number
BaseRepresentation
bin11111110000110011101
31221212201001
43332012131
5231301142
634150301
711563252
oct3760635
91855631
101040797
11650a6a
12422391
132a5974
141d1429
151585b7
hexfe19d

1040797 has 2 divisors, whose sum is σ = 1040798. Its totient is φ = 1040796.

The previous prime is 1040783. The next prime is 1040803. The reversal of 1040797 is 7970401.

It is a strong prime.

It can be written as a sum of positive squares in only one way, i.e., 820836 + 219961 = 906^2 + 469^2 .

It is a cyclic number.

It is a de Polignac number, because none of the positive numbers 2k-1040797 is a prime.

It is a Chen prime.

It is a congruent number.

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

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

It is a good prime.

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

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

21040797 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 1764, while the sum is 28.

The square root of 1040797 is about 1020.1945892819. The cubic root of 1040797 is about 101.3418148006.

The spelling of 1040797 in words is "one million, forty thousand, seven hundred ninety-seven".