Search a number
-
+
12798 = 23479
BaseRepresentation
bin11000111111110
3122120000
43013332
5402143
6135130
752212
oct30776
918500
1012798
119685
1274a6
135a96
144942
153bd3
hex31fe

12798 has 20 divisors (see below), whose sum is σ = 29040. Its totient is φ = 4212.

The previous prime is 12791. The next prime is 12799. The reversal of 12798 is 89721.

12798 divided by its sum of digits (27) gives a palindrome (474).

It can be divided in two parts, 127 and 98, that added together give a square (225 = 152).

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

Its product of digits (1008) is a multiple of the sum of its prime divisors (84).

It is a congruent number.

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

It is a polite number, since it can be written in 9 ways as a sum of consecutive naturals, for example, 123 + ... + 201.

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

12798 is a Friedman number, since it can be written as 81*79*2, using all its digits and the basic arithmetic operations.

212798 is an apocalyptic number.

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

It is a practical number, because each smaller number is the sum of distinct divisors of 12798, and also a Zumkeller number, because its divisors can be partitioned in two sets with the same sum (14520).

12798 is an abundant number, since it is smaller than the sum of its proper divisors (16242).

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

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

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

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

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

The square root of 12798 is about 113.1282458098. The cubic root of 12798 is about 23.3909235015.

The spelling of 12798 in words is "twelve thousand, seven hundred ninety-eight".

Divisors: 1 2 3 6 9 18 27 54 79 81 158 162 237 474 711 1422 2133 4266 6399 12798