number.wiki
Number

502

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

Arithmetic Number Deficient Number Odious Number Pernicious Number Recamán's Sequence Semiprime Squarefree Year

Historical context — 502 AD

Calendar year

Year 502 (DII) was a common year starting on Tuesday of the Julian calendar.

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

Historical context — 502 BC

Calendar year

The year 502 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
Common year
Standard 365-day year; not divisible by 4 (or divisible by 100 but not 400).
Days in year
365
ISO weeks
52
Started on
Sunday
January 1, 502
Ended on
Sunday
December 31, 502
Friday the 13ths
2
2 Friday the 13ths this year.
Decade
500s
500–509
Century
6th century
501–600
Millennium
1st millennium
1–1000
Years ago
1,524
1524 years before 2026.

In other calendars

Hebrew
4262 / 4263 AM
Rosh Hashanah falls in September/October.
Chinese
Year of the zodiac:Water zodiac:Horse
Sexagenary cycle position 19 of 60. Lunar new year falls in late January / mid-February.
Buddhist Era
1045 BE
Counted from the parinirvana of the Buddha (Theravada / Thai / Sri Lankan convention).
Ethiopian
494 / 495 ET
Year boundary at Enkutatash (September 11/12).
Indian National (Saka)
424 / 423 Saka
Indian national calendar; year starts in March.

Properties

Parity
Even
Digit count
3
Digit sum
7
Digit product
0
Digital root
7
Palindrome
No
Bit width
9 bits
Reversed
205
Recamán's sequence
a(260) = 502
Square (n²)
252,004
Cube (n³)
126,506,008
Divisor count
4
σ(n) — sum of divisors
756
φ(n) — Euler's totient
250
Sum of prime factors
253

Primality

Prime factorization: 2 × 251

Nearest primes: 499 (−3) · 503 (+1)

Divisors & multiples

All divisors (4)
1 · 2 · 251 (half) · 502
Aliquot sum (sum of proper divisors): 254
Factor pairs (a × b = 502)
1 × 502
2 × 251
First multiples
502 · 1,004 (double) · 1,506 · 2,008 · 2,510 · 3,012 · 3,514 · 4,016 · 4,518 · 5,020

Sums & aliquot sequence

As consecutive integers: 124 + 125 + 126 + 127
Aliquot sequence: 502 254 130 122 64 63 41 1 0 — terminates at zero

Representations

In words
five hundred two
Ordinal
502nd
Roman numeral
DII
Binary
111110110
Octal
766
Hexadecimal
0x1F6
Base64
AfY=
One's complement
65,033 (16-bit)
In other bases
ternary (3) 200121
quaternary (4) 13312
quinary (5) 4002
senary (6) 2154
septenary (7) 1315
nonary (9) 617
undecimal (11) 417
duodecimal (12) 35a
tridecimal (13) 2c8
tetradecimal (14) 27c
pentadecimal (15) 237

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 502 = 9
e — Euler's number (e)
Digit 502 = 7
φ — Golden ratio (φ)
Digit 502 = 1
√2 — Pythagoras's (√2)
Digit 502 = 5
ln 2 — Natural log of 2
Digit 502 = 9
γ — Euler-Mascheroni (γ)
Digit 502 = 9

Also seen as

Goldbach decomposition

Goldbach's conjecture says every even integer greater than 2 is the sum of two primes. For 502, here are decompositions:

  • 3 + 499 = 502
  • 11 + 491 = 502
  • 23 + 479 = 502
  • 41 + 461 = 502
  • 53 + 449 = 502
  • 59 + 443 = 502
  • 71 + 431 = 502
  • 83 + 419 = 502

Showing the first eight; more decompositions exist.

Unicode codepoint
Ƕ
Latin Capital Letter Hwair
U+01F6
Uppercase letter (Lu)

UTF-8 encoding: C7 B6 (2 bytes).

HTTP status code

HTTP 502 Bad Gateway — Upstream server returned an invalid response.

5xx class: Server Error.

Hex color
#0001F6
RGB(0, 1, 246)
IPv4 address

As an unsigned 32-bit integer, this is the IPv4 address 0.0.1.246.

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

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

NANP area code 502

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

Primary area
Louisville
Region
Kentucky
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.