number.wiki
Live analysis

3,940

3,940 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 Heptagonal Odious Number Pernicious Number Recamán's Sequence Semiperfect Number

Properties

Parity
Even
Digit count
4
Digit sum
16
Digit product
0
Digital root
7
Palindrome
No
Bit width
12 bits
Reversed
493
Recamán's sequence
a(14,511) = 3,940
Square (n²)
15,523,600
Cube (n³)
61,162,984,000
Divisor count
12
σ(n) — sum of divisors
8,316
φ(n) — Euler's totient
1,568
Sum of prime factors
206

Primality

Prime factorization: 2 2 × 5 × 197

Nearest primes: 3,931 (−9) · 3,943 (+3)

Divisors & multiples

All divisors (12)
1 · 2 · 4 · 5 · 10 · 20 · 197 · 394 · 788 · 985 · 1970 (half) · 3940
Aliquot sum (sum of proper divisors): 4,376
Factor pairs (a × b = 3,940)
1 × 3940
2 × 1970
4 × 985
5 × 788
10 × 394
20 × 197
First multiples
3,940 · 7,880 (double) · 11,820 · 15,760 · 19,700 · 23,640 · 27,580 · 31,520 · 35,460 · 39,400

Sums & aliquot sequence

As a sum of two squares: 24² + 58² = 32² + 54²
As consecutive integers: 786 + 787 + 788 + 789 + 790 489 + 490 + … + 496 79 + 80 + … + 118
Aliquot sequence: 3,940 4,376 3,844 3,107 253 35 13 1 0 — terminates at zero

Representations

In words
three thousand nine hundred forty
Ordinal
3940th
Roman numeral
MMMCMXL
Binary
111101100100
Octal
7544
Hexadecimal
0xF64
Base64
D2Q=
One's complement
61,595 (16-bit)
In other bases
ternary (3) 12101221
quaternary (4) 331210
quinary (5) 111230
senary (6) 30124
septenary (7) 14326
nonary (9) 5357
undecimal (11) 2a62
duodecimal (12) 2344
tridecimal (13) 1a41
tetradecimal (14) 1616
pentadecimal (15) 127a

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

Also seen as

Goldbach decomposition

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

  • 11 + 3929 = 3940
  • 17 + 3923 = 3940
  • 23 + 3917 = 3940
  • 29 + 3911 = 3940
  • 59 + 3881 = 3940
  • 89 + 3851 = 3940
  • 107 + 3833 = 3940
  • 137 + 3803 = 3940

Showing the first eight; more decompositions exist.

Unicode codepoint
Tibetan Letter Sha
U+0F64
Other letter (Lo)

UTF-8 encoding: E0 BD A4 (3 bytes).

Hex color
#000F64
RGB(0, 15, 100)
IPv4 address

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

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

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

Position in π

The digit sequence 3940 first appears in π at position 7,630 of the decimal expansion (the 7,630ordinal-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.