Search a number
-
+
5187 = 371319
BaseRepresentation
bin1010001000011
321010010
41101003
5131222
640003
721060
oct12103
97103
105187
113996
123003
132490
141c67
15180c
hex1443

5187 has 16 divisors (see below), whose sum is σ = 8960. Its totient is φ = 2592.

The previous prime is 5179. The next prime is 5189. The reversal of 5187 is 7815.

It is a happy number.

5187 is nontrivially palindromic in base 12.

It is not a de Polignac number, because 5187 - 23 = 5179 is a prime.

It is a Harshad number since it is a multiple of its sum of digits (21).

It is a D-number.

It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 5187.

It is not an unprimeable number, because it can be changed into a prime (5189) by changing a digit.

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

It is a polite number, since it can be written in 15 ways as a sum of consecutive naturals, for example, 264 + ... + 282.

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

5187 is a gapful number since it is divisible by the number (57) formed by its first and last digit.

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

5187 is a wasteful number, since it uses less digits than its factorization.

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

The sum of its prime factors is 42.

The product of its digits is 280, while the sum is 21.

The square root of 5187 is about 72.0208303201. The cubic root of 5187 is about 17.3103327406.

Subtracting 5187 from its reverse (7815), we obtain a triangular number (2628 = T72).

It can be divided in two parts, 518 and 7, that added together give a palindrome (525).

The spelling of 5187 in words is "five thousand, one hundred eighty-seven".

Divisors: 1 3 7 13 19 21 39 57 91 133 247 273 399 741 1729 5187