Search a number
-
+
5107 is a prime number
BaseRepresentation
bin1001111110011
321000011
41033303
5130412
635351
720614
oct11763
97004
105107
113923
122b57
13242b
141c0b
1517a7
hex13f3

5107 has 2 divisors, whose sum is σ = 5108. Its totient is φ = 5106.

The previous prime is 5101. The next prime is 5113. The reversal of 5107 is 7015.

It is a balanced prime because it is at equal distance from previous prime (5101) and next prime (5113).

It is a cyclic number.

It is not a de Polignac number, because 5107 - 23 = 5099 is a prime.

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

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

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

25107 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 35, while the sum is 13.

The square root of 5107 is about 71.4632772828. The cubic root of 5107 is about 17.2208778386.

It can be divided in two parts, 510 and 7, that multiplied together give a triangular number (3570 = T84).

The spelling of 5107 in words is "five thousand, one hundred seven".