9872 has 10 divisors (see below), whose sum is σ = 19158.
Its totient is φ = 4928.
The previous prime is 9871. The next prime is 9883. The reversal of 9872 is 2789.
9872 is nontrivially palindromic in base 15.
It can be written as a sum of positive squares in only one way, i.e., 5776 + 4096 = 76^2 + 64^2
It is an alternating number because its digits alternate between odd and even.
It is a plaindrome in base 9.
It is a nialpdrome in base 10.
It is not an unprimeable number, because it can be changed into a prime (9871) by changing a digit.
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, 293 + ... + 324.
29872 is an apocalyptic number.
It is an amenable number.
9872 is a deficient number, since it is larger than the sum of its proper divisors (9286).
9872 is a wasteful number, since it uses less digits than its factorization.
9872 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 625 (or 619 counting only the distinct ones).
The product of its digits is 1008, while the sum is 26.
The square root of 9872 is about 99.3579387870.
The cubic root of 9872 is about 21.4520293377.
It can be divided in two parts, 987 and 2, that added together give a palindrome (989).
The spelling of 9872 in words is "nine thousand, eight hundred seventy-two".