number.wiki
Number

504

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

Abundant Number Arithmetic Number Evil Number Harshad / Niven Practical Number Recamán's Sequence Semiperfect Number Tribonacci Number Year

Historical context — 504 AD

Calendar year

Year 504 (DIV) was a leap year starting on Thursday of the Julian calendar.

Excerpt from Wikipedia (en) ↗ · Licensed CC BY-SA 4.0 · English fallback Read the full article on Wikipedia →

Historical context — 504 BC

Calendar year

The year 504 BC was a year of the pre-Julian Roman calendar.

Excerpt from Wikipedia (en) ↗ · Licensed CC BY-SA 4.0 · English fallback Read the full article on Wikipedia →

Year facts

Year type
Leap year
Divisible by 4 and not by 100; February has 29 days.
Days in year
366
ISO weeks
52
Started on
Tuesday
January 1, 504
Ended on
Wednesday
December 31, 504
Friday the 13ths
1
One Friday the 13th this year.
Decade
500s
500–509
Century
6th century
501–600
Millennium
1st millennium
1–1000
Years ago
1,522
1522 years before 2026.

In other calendars

Hebrew
4264 / 4265 AM
Rosh Hashanah falls in September/October.
Chinese
Year of the zodiac:Wood zodiac:Monkey
Sexagenary cycle position 21 of 60. Lunar new year falls in late January / mid-February.
Buddhist Era
1047 BE
Counted from the parinirvana of the Buddha (Theravada / Thai / Sri Lankan convention).
Ethiopian
496 / 497 ET
Year boundary at Enkutatash (September 11/12).
Indian National (Saka)
426 / 425 Saka
Indian national calendar; year starts in March.

Properties

Parity
Even
Digit count
3
Digit sum
9
Digit product
0
Digital root
9
Palindrome
No
Bit width
9 bits
Reversed
405
Recamán's sequence
a(264) = 504
Square (n²)
254,016
Cube (n³)
128,024,064
Divisor count
24
σ(n) — sum of divisors
1,560
φ(n) — Euler's totient
144
Sum of prime factors
19

Primality

Prime factorization: 2 3 × 3 2 × 7

Nearest primes: 503 (−1) · 509 (+5)

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 (half) · 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 (double) · 1,512 · 2,016 · 2,520 · 3,024 · 3,528 · 4,032 · 4,536 · 5,040

Sums & aliquot sequence

As consecutive integers: 167 + 168 + 169 69 + 70 + … + 75 52 + 53 + … + 60 24 + 25 + … + 39
Aliquot sequence: 504 1,056 1,968 3,240 7,650 14,112 32,571 27,333 12,161 1 0 — terminates at zero

Representations

In words
five hundred four
Ordinal
504th
Roman numeral
DIV
Binary
111111000
Octal
770
Hexadecimal
0x1F8
Base64
Afg=
One's complement
65,031 (16-bit)
In other bases
ternary (3) 200200
quaternary (4) 13320
quinary (5) 4004
senary (6) 2200
septenary (7) 1320
nonary (9) 620
undecimal (11) 419
duodecimal (12) 360
tridecimal (13) 2ca
tetradecimal (14) 280
pentadecimal (15) 239

Historical numeral systems

Babylonian (base 60)
𒁹𒁹𒁹𒁹𒁹𒁹𒁹𒁹 𒌋𒌋𒁹𒁹𒁹𒁹
Egyptian hieroglyphic
𓍢𓍢𓍢𓍢𓍢𓏺𓏺𓏺𓏺
Greek (Milesian)
φδʹ
Mayan (base 20)
𝋡·𝋥·𝋤
Chinese
五百零四
Chinese (financial)
伍佰零肆
In other modern scripts
Eastern Arabic ٥٠٤ Devanagari ५०४ Bengali ৫০৪ Tamil ௫௦௪ Thai ๕๐๔ Tibetan ༥༠༤ Khmer ៥០៤ Lao ໕໐໔ Burmese ၅၀၄

Digit at this position in famous constants

π — Pi (π)
Digit 504 = 3
e — Euler's number (e)
Digit 504 = 3
φ — Golden ratio (φ)
Digit 504 = 1
√2 — Pythagoras's (√2)
Digit 504 = 8
ln 2 — Natural log of 2
Digit 504 = 3
γ — Euler-Mascheroni (γ)
Digit 504 = 5

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
Ǹ
Latin Capital Letter N With Grave
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.

Address
0.0.1.248
Class
reserved
IPv4-mapped IPv6
::ffff:0.0.1.248

Unspecified address (0.0.0.0/8) — "this network" placeholder.

NANP area code 504

The number 504 is an active NANP area code (North American Numbering Plan).

Primary area
New Orleans
Region
Louisiana
Country
United States

Most NANP area codes have multiple overlays in dense regions; the primary area listed is the historic/largest population center for this code.