Search a number
-
+
797 is a prime number
BaseRepresentation
bin1100011101
31002112
430131
511142
63405
72216
oct1435
91075
10797
11665
12565
13494
1440d
15382
hex31d

797 has 2 divisors, whose sum is σ = 798. Its totient is φ = 796.

The previous prime is 787. The next prime is 809.

Adding to 797 its sum of digits (23), we get a triangular number (820 = T40).

797 is nontrivially palindromic in base 10, base 12 and base 13.

797 is an esthetic number in base 12, because in such base its adjacent digits differ by 1.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 676 + 121 = 26^2 + 11^2 .

It is a palprime.

797 is a truncatable prime.

It is a cyclic number.

It is not a de Polignac number, because 797 - 26 = 733 is a prime.

It is a Chen prime.

797 is an undulating number in base 10, base 12 and base 13.

It is a nialpdrome in base 11.

It is a congruent number.

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

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

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

It is an amenable number.

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

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

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

The product of its digits is 441, while the sum is 23.

The square root of 797 is about 28.2311884270. The cubic root of 797 is about 9.2715591599.

The spelling of 797 in words is "seven hundred ninety-seven", and thus it is an aban number and an oban number.