Search a number
-
+
321704 = 2340213
BaseRepresentation
bin1001110100010101000
3121100021222
41032202220
540243304
610521212
72506625
oct1164250
9540258
10321704
111aa779
12136208
13b3576
148534c
15654be
hex4e8a8

321704 has 8 divisors (see below), whose sum is σ = 603210. Its totient is φ = 160848.

The previous prime is 321679. The next prime is 321707. The reversal of 321704 is 407123.

It is a happy number.

It can be written as a sum of positive squares in only one way, i.e., 280900 + 40804 = 530^2 + 202^2 .

It is a tau number, because it is divible by the number of its divisors (8).

It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 321704.

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

It is a polite number, since it can be written as a sum of consecutive naturals, namely, 20099 + ... + 20114.

2321704 is an apocalyptic number.

It is an amenable number.

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

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

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

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

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

The square root of 321704 is about 567.1895626684. The cubic root of 321704 is about 68.5202312948.

Adding to 321704 its reverse (407123), we get a palindrome (728827).

The spelling of 321704 in words is "three hundred twenty-one thousand, seven hundred four", and thus it is an iban number.

Divisors: 1 2 4 8 40213 80426 160852 321704