Search a number
-
+
31797 = 323533
BaseRepresentation
bin111110000110101
31121121200
413300311
52004142
6403113
7161463
oct76065
947550
1031797
1121987
1216499
131161c
14b833
15964c
hex7c35

31797 has 6 divisors (see below), whose sum is σ = 45942. Its totient is φ = 21192.

The previous prime is 31793. The next prime is 31799. The reversal of 31797 is 79713.

It can be written as a sum of positive squares in only one way, i.e., 30276 + 1521 = 174^2 + 39^2 .

It is not a de Polignac number, because 31797 - 22 = 31793 is a prime.

It is a super-2 number, since 2×317972 = 2022098418, which contains 22 as substring.

It is a nialpdrome in base 14.

It is a self number, because there is not a number n which added to its sum of digits gives 31797.

It is a congruent number.

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

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

It is a polite number, since it can be written in 5 ways as a sum of consecutive naturals, for example, 1758 + ... + 1775.

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

231797 is an apocalyptic number.

It is an amenable number.

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

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

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

The sum of its prime factors is 3539 (or 3536 counting only the distinct ones).

The product of its digits is 1323, while the sum is 27.

The square root of 31797 is about 178.3171332206. The cubic root of 31797 is about 31.6807447407.

It can be divided in two parts, 317 and 97, that added together give a palindrome (414).

The spelling of 31797 in words is "thirty-one thousand, seven hundred ninety-seven".

Divisors: 1 3 9 3533 10599 31797