Search a number
4789 is a prime number
BaseRepresentation
bin1001010110101
320120101
41022311
5123124
634101
716651
oct11265
96511
104789
113664
122931
132245
141a61
151644
hex12b5

4789 has 2 divisors, whose sum is σ = 4790. Its totient is φ = 4788.

The previous prime is 4787. The next prime is 4793. The reversal of 4789 is 9874.

Subtracting from 4789 its sum of digits (28), we obtain a square (4761 = 692).

It can be divided in two parts, 47 and 89, that added together give a triangular number (136 = T16).

4789 = T55 + T56 + T57.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 3025 + 1764 = 55^2 + 42^2 .

It is a cyclic number.

It is not a de Polignac number, because 4789 - 21 = 4787 is a prime.

Together with 4787, it forms a pair of twin primes.

It is a Chen prime.

It is an alternating number because its digits alternate between even and odd.

It is a plaindrome in base 10 and base 13.

It is a nialpdrome in base 9.

It is a congruent number.

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

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

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

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

24789 is an apocalyptic number.

4789 is the 57-th centered triangular number.

It is an amenable number.

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

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

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

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

The square root of 4789 is about 69.2026011072. The cubic root of 4789 is about 16.8557576734.

The spelling of 4789 in words is "four thousand, seven hundred eighty-nine".