Search a number
6704 = 24419
BaseRepresentation
bin1101000110000
3100012022
41220300
5203304
651012
725355
oct15060
910168
106704
115045
123a68
133089
14262c
151ebe
hex1a30

6704 has 10 divisors (see below), whose sum is σ = 13020. Its totient is φ = 3344.

The previous prime is 6703. The next prime is 6709. The reversal of 6704 is 4076.

It is not an unprimeable number, because it can be changed into a prime (6701) 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, 194 + ... + 225.

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

26704 is an apocalyptic number.

It is an amenable number.

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

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

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

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

The product of its (nonzero) digits is 168, while the sum is 17.

The square root of 6704 is about 81.8779579618. The cubic root of 6704 is about 18.8557872129.

Subtracting from 6704 its reverse (4076), we obtain a triangular number (2628 = T72).

It can be divided in two parts, 6 and 704, that multiplied together give a palindrome (4224).

The spelling of 6704 in words is "six thousand, seven hundred four".

Divisors: 1 2 4 8 16 419 838 1676 3352 6704