number.wiki
Number

6,871

6,871 is a prime, odd.

6,871 (six thousand eight hundred seventy-one) is an odd 4-digit number. It is a prime number — divisible only by 1 and itself. Written other ways, in hexadecimal, 0x1AD7.

Arithmetic Number Cube-Free Deficient Number Odious Number Prime Recamán's Sequence Squarefree Twin Prime

Interestingness

Properties

Parity
Odd
Digit count
4
Digit sum
22
Digit product
336
Digital root
4
Palindrome
No
Bit width
13 bits
Reversed
1,786
Recamán's sequence
a(26,602) = 6,871
Square (n²)
47,210,641
Cube (n³)
324,384,314,311
Divisor count
2
σ(n) — sum of divisors
6,872
φ(n) — Euler's totient
6,870

Primality

6,871 is prime. It has exactly two divisors: 1 and itself.

Divisors & multiples

All divisors (2)
1 · 6871
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 6,871)
1 × 6871
First multiples
6,871 · 13,742 (double) · 20,613 · 27,484 · 34,355 · 41,226 · 48,097 · 54,968 · 61,839 · 68,710

Sums & aliquot sequence

As consecutive integers: 3,435 + 3,436

Continued fraction of √n

√6,871 = [82; (1, 8, 4, 1, 1, 1, 2, 32, 1, 3, 1, 1, 23, 7, 1, 5, 1, 3, 10, 1, 3, 1, 4, 1, …)]

Representations

In words
six thousand eight hundred seventy-one
Ordinal
6871st
Binary
1101011010111
Octal
15327
Hexadecimal
0x1AD7
Base64
Gtc=
One's complement
58,664 (16-bit)
Scientific notation
6.871 × 10³
As a duration
6,871 s = 1 hour, 54 minutes, 31 seconds
In other bases
ternary (3) 100102111
quaternary (4) 1223113
quinary (5) 204441
senary (6) 51451
septenary (7) 26014
nonary (9) 10374
undecimal (11) 5187
duodecimal (12) 3b87
tridecimal (13) 3187
tetradecimal (14) 270b
pentadecimal (15) 2081

As an angle

6,871° = 19 × 360° + 31°
31° ≈ 0.541 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 6,871 = 6
e — Euler's number (e)
Digit 6,871 = 7
φ — Golden ratio (φ)
Digit 6,871 = 6
√2 — Pythagoras's (√2)
Digit 6,871 = 3
ln 2 — Natural log of 2
Digit 6,871 = 5
γ — Euler-Mascheroni (γ)
Digit 6,871 = 1

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 6,869 (gap of 2)
  • Next prime: 6,883 (gap of 12)

Pair status: twin with 6869.

Hex color
#001AD7
RGB(0, 26, 215)
IPv4 address

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

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

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

Musical pitch

Heard as a frequency, 6,871 Hz is closest to:

  • Concert pitch (A4 = 440 Hz): A8 (7040 Hz, -42¢)
  • Scientific pitch (C4 = 256 Hz): A8 (6888.6 Hz, -4¢)
  • Baroque pitch (A4 = 415 Hz): A♯8 (7034.8 Hz, -41¢)
Position in π

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

  • Prime numbers — The building blocks of arithmetic: what primes are, why they matter, and how we find them.
  • Egyptian hieroglyphic numerals — Seven hieroglyphs for every power of ten, from a single stroke to a million.