12872 has 8 divisors (see below), whose sum is σ = 24150.
Its totient is φ = 6432.
The previous prime is 12853. The next prime is 12889. The reversal of 12872 is 27821.
It can be divided in two parts, 128 and 72, that multiplied together give a square (9216 = 962).
It can be written as a sum of positive squares in only one way, i.e., 7396 + 5476 = 86^2 + 74^2
It is a tau number, because it is divible by the number of its divisors (8).
It is a nialpdrome in base 8 and base 11.
It is an unprimeable number.
12872 is an untouchable number, because it is not equal to the sum of proper divisors of any number.
It is a pernicious number, because its binary representation contains a prime number (5) of ones.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 797 + ... + 812.
212872 is an apocalyptic number.
It is an amenable number.
12872 is a deficient number, since it is larger than the sum of its proper divisors (11278).
12872 is a wasteful number, since it uses less digits than its factorization.
12872 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 1615 (or 1611 counting only the distinct ones).
The product of its digits is 224, while the sum is 20.
The square root of 12872 is about 113.4548368295.
The cubic root of 12872 is about 23.4359201898.
The spelling of 12872 in words is "twelve thousand, eight hundred seventy-two".