Search a number
-
+
5791 is a prime number
BaseRepresentation
bin1011010011111
321221111
41122133
5141131
642451
722612
oct13237
97844
105791
114395
123427
132836
142179
151ab1
hex169f

5791 has 2 divisors, whose sum is σ = 5792. Its totient is φ = 5790.

The previous prime is 5783. The next prime is 5801. The reversal of 5791 is 1975.

It is a weak prime.

It is a cyclic number.

It is not a de Polignac number, because 5791 - 23 = 5783 is a prime.

It is a Chen prime.

It is a plaindrome in base 16.

It is a congruent number.

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

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

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

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

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

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

The product of its digits is 315, while the sum is 22.

The square root of 5791 is about 76.0986202240. The cubic root of 5791 is about 17.9577196953.

Subtracting from 5791 its product of digits (315), we obtain a square (5476 = 742).

The spelling of 5791 in words is "five thousand, seven hundred ninety-one".