6940 has 12 divisors (see below), whose sum is σ = 14616.
Its totient is φ = 2768.
The previous prime is 6917. The next prime is 6947. The reversal of 6940 is 496.
Subtracting from 6940 its product of nonzero digits (216), we obtain a square (6724 = 822).
It can be divided in two parts, 6 and 940, that added together give a triangular number (946 = T43).
It is a happy number.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (6947) by changing a digit.
It is a pernicious number, because its binary representation contains a prime number (7) of ones.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 154 + ... + 193.
It is an arithmetic number, because the mean of its divisors is an integer number (1218).
26940 is an apocalyptic number.
It is an amenable number.
6940 is an abundant number, since it is smaller than the sum of its proper divisors (7676).
It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.
It is a Zumkeller number, because its divisors can be partitioned in two sets with the same sum (7308).
6940 is a wasteful number, since it uses less digits than its factorization.
6940 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 356 (or 354 counting only the distinct ones).
The product of its (nonzero) digits is 216, while the sum is 19.
The square root of 6940 is about 83.3066623986.
The cubic root of 6940 is about 19.0744997455.
The spelling of 6940 in words is "six thousand, nine hundred forty".