Number
504
504 is a composite number, even, a calendar year.
Properties
- Parity
- Even
- Digit count
- 3
- Digit sum
- 9
- Digital root
- 9
- Palindrome
- No
- Divisor count
- 24
- σ(n) — sum of divisors
- 1,560
Primality
Prime factorization: 2 3 × 3 2 × 7
Divisors & multiples
All divisors (24)
Aliquot sum (sum of proper divisors):
1,056
Factor pairs (a × b = 504)
Representations
- In words
- five hundred four
- Ordinal
- 504th
- Roman numeral
- DIV
- Binary
- 111111000
- Octal
- 770
- Hexadecimal
- 1F8
Also seen as
Goldbach decomposition
Goldbach's conjecture says every even integer greater than 2 is the sum of two primes. For 504, here are decompositions:
- 5 + 499 = 504
- 13 + 491 = 504
- 17 + 487 = 504
- 37 + 467 = 504
- 41 + 463 = 504
- 43 + 461 = 504
- 47 + 457 = 504
- 61 + 443 = 504
Showing the first eight; more decompositions exist.
Unicode codepoint
Ǹ
U+01F8
Uppercase letter (Lu)
UTF-8 encoding: C7 B8 (2 bytes).
HTTP status code
HTTP 504 Gateway Timeout — Upstream server did not respond in time.
5xx class: Server Error.
Hex color
#0001F8
RGB(0, 1, 248)
IPv4 address
As an unsigned 32-bit integer, this is the IPv4 address 0.0.1.248.