number.wiki
Live analysis

2,540

2,540 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.).
Abundant Number Arithmetic Number Gapful Number Odious Number Pernicious Number Recamán's Sequence Semiperfect Number

Properties

Parity
Even
Digit count
4
Digit sum
11
Digit product
0
Digital root
2
Palindrome
No
Bit width
12 bits
Reversed
452
Recamán's sequence
a(7,552) = 2,540
Square (n²)
6,451,600
Cube (n³)
16,387,064,000
Divisor count
12
σ(n) — sum of divisors
5,376
φ(n) — Euler's totient
1,008
Sum of prime factors
136

Primality

Prime factorization: 2 2 × 5 × 127

Nearest primes: 2,539 (−1) · 2,543 (+3)

Divisors & multiples

All divisors (12)
1 · 2 · 4 · 5 · 10 · 20 · 127 · 254 · 508 · 635 · 1270 (half) · 2540
Aliquot sum (sum of proper divisors): 2,836
Factor pairs (a × b = 2,540)
1 × 2540
2 × 1270
4 × 635
5 × 508
10 × 254
20 × 127
First multiples
2,540 · 5,080 (double) · 7,620 · 10,160 · 12,700 · 15,240 · 17,780 · 20,320 · 22,860 · 25,400

Sums & aliquot sequence

As consecutive integers: 506 + 507 + 508 + 509 + 510 314 + 315 + … + 321 44 + 45 + … + 83
Aliquot sequence: 2,540 2,836 2,134 1,394 874 566 286 218 112 136 134 70 74 40 50 43 1 — unresolved within range

Representations

In words
two thousand five hundred forty
Ordinal
2540th
Roman numeral
MMDXL
Binary
100111101100
Octal
4754
Hexadecimal
0x9EC
Base64
Cew=
One's complement
62,995 (16-bit)
In other bases
ternary (3) 10111002
quaternary (4) 213230
quinary (5) 40130
senary (6) 15432
septenary (7) 10256
nonary (9) 3432
undecimal (11) 19aa
duodecimal (12) 1578
tridecimal (13) 1205
tetradecimal (14) cd6
pentadecimal (15) b45

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

Also seen as

Goldbach decomposition

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

  • 19 + 2521 = 2540
  • 37 + 2503 = 2540
  • 67 + 2473 = 2540
  • 73 + 2467 = 2540
  • 103 + 2437 = 2540
  • 151 + 2389 = 2540
  • 157 + 2383 = 2540
  • 163 + 2377 = 2540

Showing the first eight; more decompositions exist.

Unicode codepoint
Bengali Digit Six
U+09EC
Decimal digit (Nd)

UTF-8 encoding: E0 A7 AC (3 bytes).

Hex color
#0009EC
RGB(0, 9, 236)
IPv4 address

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

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

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

Position in π

The digit sequence 2540 first appears in π at position 337 of the decimal expansion (the 337ordinal-suffix:th 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.