Search a number
-
+
122789 is a prime number
BaseRepresentation
bin11101111110100101
320020102202
4131332211
512412124
62344245
71020662
oct357645
9206382
10122789
1184287
125b085
1343b74
1432a69
15265ae
hex1dfa5

122789 has 2 divisors, whose sum is σ = 122790. Its totient is φ = 122788.

The previous prime is 122777. The next prime is 122819. The reversal of 122789 is 987221.

Subtracting from 122789 its sum of digits (29), we obtain a triangular number (122760 = T495).

It is a happy number.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 122500 + 289 = 350^2 + 17^2 .

It is a cyclic number.

It is not a de Polignac number, because 122789 - 28 = 122533 is a prime.

It is a plaindrome in base 10.

It is a congruent number.

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

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

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

2122789 is an apocalyptic number.

It is an amenable number.

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

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

122789 is an evil number, because the sum of its binary digits is even.

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

The square root of 122789 is about 350.4126139282. The cubic root of 122789 is about 49.7034445750.

The spelling of 122789 in words is "one hundred twenty-two thousand, seven hundred eighty-nine".