number.wiki
Number

6,791

6,791 is a prime, odd.

Deficient Number Happy Number Prime Squarefree Twin Prime

Properties

Parity
Odd
Digit count
4
Digit sum
23
Digital root
5
Palindrome
No
Divisor count
2
σ(n) — sum of divisors
6,792

Primality

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

Divisors & multiples

All divisors (2)
1 · 6791
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 6,791)
1 × 6791
First multiples
6,791 · 13,582 · 20,373 · 27,164 · 33,955 · 40,746 · 47,537 · 54,328 · 61,119 · 67,910

Representations

In words
six thousand seven hundred ninety-one
Ordinal
6791st
Binary
1101010000111
Octal
15207
Hexadecimal
1A87

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 6,781 (gap of 10)
  • Next prime: 6,793 (gap of 2)

Pair status: twin with 6793.

Unicode codepoint
U+1A87
Decimal digit (Nd)

UTF-8 encoding: E1 AA 87 (3 bytes).

Hex color
#001A87
RGB(0, 26, 135)
IPv4 address

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