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.).

2,540 (two thousand five hundred forty) is an even 4-digit number. It is a composite number with 12 divisors, and factors as 2² × 5 × 127. Its proper divisors sum to 2,836, more than the number itself, making it an abundant number. Written other ways, in Roman numerals it is MMDXL and in binary, 100111101100.

Abundant Number Arithmetic Number Cube-Free Gapful Number Odious Number Pernicious Number Recamán's Sequence Semiperfect Number

Interestingness

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 a sum of two cubes: 7³ + 13³
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

Continued fraction of √n

√2,540 = [50; (2, 1, 1, 24, 1, 1, 2, 100)]

Period length 8 — the block in parentheses repeats forever.

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)
Scientific notation
2.54 × 10³
As a duration
2,540 s = 42 minutes, 20 seconds
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

As an angle

2,540° = 7 × 360° + 20°
20° ≈ 0.349 rad
Compass bearing: NNE (north-northeast)

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.

Musical pitch

Heard as a frequency, 2,540 Hz is closest to:

  • Concert pitch (A4 = 440 Hz): D♯7 (2489 Hz, +35¢)
  • Scientific pitch (C4 = 256 Hz): E7 (2580.3 Hz, -27¢)
  • Baroque pitch (A4 = 415 Hz): E7 (2487.2 Hz, +36¢)
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.

Related reading

  • Mayan numerals — Vigesimal dots-and-bars with a shell zero — one of the earliest true zeros.