number.wiki
Number

5

5 is a prime, odd, a calendar year.

Catalan Number Deficient Number Fibonacci Harshad / Niven Narcissistic / Armstrong Pentagonal Prime Sexy Prime Square Pyramidal Squarefree Twin Prime Year

Properties

Parity
Odd
Digit count
1
Digit sum
5
Digital root
5
Palindrome
Yes
Divisor count
2
σ(n) — sum of divisors
6

Primality

5 is prime. It has exactly two divisors: 1 and itself.

Divisors & multiples

All divisors (2)
1 · 5
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 5)
1 × 5
First multiples
5 · 10 · 15 · 20 · 25 · 30 · 35 · 40 · 45 · 50

Representations

In words
five
Ordinal
5th
Roman numeral
V
Binary
101
Octal
5
Hexadecimal
5

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 3 (gap of 2)
  • Next prime: 7 (gap of 2)

Pair status: twin with 3, twin with 7.

ASCII character

As an ASCII codepoint, 5 is control character (0x05). ASCII control character.

Hex color
#000005
RGB(0, 0, 5)
IPv4 address

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