number.wiki
Number

504

504 is a composite number, even, a calendar year.

Abundant Number Harshad / Niven 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)
1 · 2 · 3 · 4 · 6 · 7 · 8 · 9 · 12 · 14 · 18 · 21 · 24 · 28 · 36 · 42 · 56 · 63 · 72 · 84 · 126 · 168 · 252 · 504
Aliquot sum (sum of proper divisors): 1,056
Factor pairs (a × b = 504)
1 × 504
2 × 252
3 × 168
4 × 126
6 × 84
7 × 72
8 × 63
9 × 56
12 × 42
14 × 36
18 × 28
21 × 24
First multiples
504 · 1,008 · 1,512 · 2,016 · 2,520 · 3,024 · 3,528 · 4,032 · 4,536 · 5,040

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.