Search a number
-
+
38791 is a prime number
BaseRepresentation
bin1001011110000111
31222012201
421132013
52220131
6455331
7221044
oct113607
958181
1038791
1127165
121a547
131486c
14101cb
15b761
hex9787

38791 has 2 divisors, whose sum is σ = 38792. Its totient is φ = 38790.

The previous prime is 38783. The next prime is 38803. The reversal of 38791 is 19783.

It is a weak prime.

It is a cyclic number.

It is not a de Polignac number, because 38791 - 23 = 38783 is a prime.

38791 is a lucky number.

It is a nialpdrome in base 15.

It is a congruent number.

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

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

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

238791 is an apocalyptic number.

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

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

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

The product of its digits is 1512, while the sum is 28.

The square root of 38791 is about 196.9543094223. The cubic root of 38791 is about 33.8514278442.

The spelling of 38791 in words is "thirty-eight thousand, seven hundred ninety-one".