Search a number
-
+
123791 is a prime number
BaseRepresentation
bin11110001110001111
320021210212
4132032033
512430131
62353035
71023623
oct361617
9207725
10123791
1185008
125b77b
1344465
1433183
1526a2b
hex1e38f

123791 has 2 divisors, whose sum is σ = 123792. Its totient is φ = 123790.

The previous prime is 123787. The next prime is 123803. The reversal of 123791 is 197321.

123791 is nontrivially palindromic in base 2.

It is a weak prime.

It is a cyclic number.

It is not a de Polignac number, because 123791 - 22 = 123787 is a prime.

It is a Chen prime.

It is a zygodrome in base 2.

It is a congruent number.

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

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

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

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

2123791 is an apocalyptic number.

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

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

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

The product of its digits is 378, while the sum is 23.

The square root of 123791 is about 351.8394520232. The cubic root of 123791 is about 49.8382774805.

The spelling of 123791 in words is "one hundred twenty-three thousand, seven hundred ninety-one".