1004 has 6 divisors (see below), whose sum is σ = 1764.
Its totient is φ = 500.
The previous prime is 997. The next prime is 1009. The reversal of 1004 is 4001.
It is a plaindrome in base 9 and base 15.
It is a nialpdrome in base 11.
It is not an unprimeable number, because it can be changed into a prime (1009) 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 as a sum of consecutive naturals, namely, 122 + ... + 129.
It is an arithmetic number, because the mean of its divisors is an integer number (294).
21004 is an apocalyptic number.
It is an amenable number.
1004 is a deficient number, since it is larger than the sum of its proper divisors (760).
1004 is a wasteful number, since it uses less digits than its factorization.
1004 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 255 (or 253 counting only the distinct ones).
The product of its (nonzero) digits is 4, while the sum is 5.
The square root of 1004 is about 31.6859590355.
The cubic root of 1004 is about 10.0133155950.
Adding to 1004 its reverse (4001), we get a palindrome (5005).
It can be divided in two parts, 100 and 4, that multiplied together give a square (400 = 202).
The spelling of 1004 in words is "one thousand, four", and thus it is an iban number.