Search a number
12791 is a prime number
BaseRepresentation
bin11000111110111
3122112202
43013313
5402131
6135115
752202
oct30767
918482
1012791
119679
12749b
135a8c
144939
153bcb
hex31f7

12791 has 2 divisors, whose sum is σ = 12792. Its totient is φ = 12790.

The previous prime is 12781. The next prime is 12799. The reversal of 12791 is 19721.

It is a strong prime.

It is a cyclic number.

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

It is a Sophie Germain 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 (12799) by changing a digit.

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

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

212791 is an apocalyptic number.

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

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

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

The product of its digits is 126, while the sum is 20.

The square root of 12791 is about 113.0973032393. The cubic root of 12791 is about 23.3866580870.

The spelling of 12791 in words is "twelve thousand, seven hundred ninety-one".