38504 has 8 divisors (see below), whose sum is σ = 72210.
Its totient is φ = 19248.
The previous prime is 38501. The next prime is 38543. The reversal of 38504 is 40583.
It can be divided in two parts, 3850 and 4, that multiplied together give a triangular number (15400 = T175).
It can be written as a sum of positive squares in only one way, i.e., 28900 + 9604 = 170^2 + 98^2
It is a tau number, because it is divible by the number of its divisors (8).
It is a pancake number, because a pancake can be divided into 38504 parts by 277 straight cuts.
It is a plaindrome in base 13.
It is not an unprimeable number, because it can be changed into a prime (38501) 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, 2399 + ... + 2414.
238504 is an apocalyptic number.
It is an amenable number.
38504 is a deficient number, since it is larger than the sum of its proper divisors (33706).
38504 is a wasteful number, since it uses less digits than its factorization.
38504 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 4819 (or 4815 counting only the distinct ones).
The product of its (nonzero) digits is 480, while the sum is 20.
The square root of 38504 is about 196.2243613826.
The cubic root of 38504 is about 33.7677364479.
The spelling of 38504 in words is "thirty-eight thousand, five hundred four".