number.wiki
Live analysis

40,504

40,504 is a composite number, even.

This number doesn't have a permanent NumberWiki page yet — what you see below is computed live. Pages get added to the permanent index when they're notable (years, primes, curated, etc.).
Deficient Number Evil Number Palindrome Recamán's Sequence

Properties

Parity
Even
Digit count
5
Digit sum
13
Digit product
0
Digital root
4
Palindrome
Yes
Bit width
16 bits
Recamán's sequence
a(153,171) = 40,504
Square (n²)
1,640,574,016
Cube (n³)
66,449,809,944,064
Divisor count
16
σ(n) — sum of divisors
78,120
φ(n) — Euler's totient
19,680
Sum of prime factors
150

Primality

Prime factorization: 2 3 × 61 × 83

Nearest primes: 40,499 (−5) · 40,507 (+3)

Divisors & multiples

All divisors (16)
1 · 2 · 4 · 8 · 61 · 83 · 122 · 166 · 244 · 332 · 488 · 664 · 5063 · 10126 · 20252 (half) · 40504
Aliquot sum (sum of proper divisors): 37,616
Factor pairs (a × b = 40,504)
1 × 40504
2 × 20252
4 × 10126
8 × 5063
61 × 664
83 × 488
122 × 332
166 × 244
First multiples
40,504 · 81,008 (double) · 121,512 · 162,016 · 202,520 · 243,024 · 283,528 · 324,032 · 364,536 · 405,040

Sums & aliquot sequence

As consecutive integers: 2,524 + 2,525 + … + 2,539 634 + 635 + … + 694 447 + 448 + … + 529
Aliquot sequence: 40,504 37,616 35,296 34,256 32,146 16,076 12,064 14,396 11,644 9,524 7,150 8,474 4,966 3,098 1,552 1,486 746 — unresolved within range

Representations

In words
forty thousand five hundred four
Ordinal
40504th
Binary
1001111000111000
Octal
117070
Hexadecimal
0x9E38
Base64
njg=
One's complement
25,031 (16-bit)
In other bases
ternary (3) 2001120011
quaternary (4) 21320320
quinary (5) 2244004
senary (6) 511304
septenary (7) 226042
nonary (9) 61504
undecimal (11) 28482
duodecimal (12) 1b534
tridecimal (13) 15589
tetradecimal (14) 10a92
pentadecimal (15) c004

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 40,504 = 8
e — Euler's number (e)
Digit 40,504 = 0
φ — Golden ratio (φ)
Digit 40,504 = 8
√2 — Pythagoras's (√2)
Digit 40,504 = 2
ln 2 — Natural log of 2
Digit 40,504 = 2
γ — Euler-Mascheroni (γ)
Digit 40,504 = 2

Also seen as

Goldbach decomposition

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

  • 5 + 40499 = 40504
  • 11 + 40493 = 40504
  • 17 + 40487 = 40504
  • 71 + 40433 = 40504
  • 227 + 40277 = 40504
  • 251 + 40253 = 40504
  • 263 + 40241 = 40504
  • 311 + 40193 = 40504

Showing the first eight; more decompositions exist.

Unicode codepoint
CJK Unified Ideograph-9E38
U+9E38
Other letter (Lo)

UTF-8 encoding: E9 B8 B8 (3 bytes).

Hex color
#009E38
RGB(0, 158, 56)
IPv4 address

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

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

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

Position in π

The digit sequence 40504 first appears in π at position 21,002 of the decimal expansion (the 21,002ordinal-suffix:nd digit after the integer 3).

Search range: the first 1,000,000 fractional digits of π. Any 6-digit-or-shorter string is virtually guaranteed to appear in there — the more interesting signal is the position.