number.wiki
Number

7

7 — Seven

7 is a prime, odd, a calendar year.

Seven is the fourth prime number and the lowest natural number that cannot be represented as the sum of the squares of three integers. It appears repeatedly across cultures: seven days of the week, seven wonders of the ancient world, seven deadly sins.

Sources https://en.wikipedia.org/wiki/7
Cousin Prime Curated Deficient Number Happy Number Harshad / Niven Heptagonal Lucas Mersenne Prime Narcissistic / Armstrong Prime Sexy Prime Squarefree Twin Prime

Properties

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

Primality

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

Divisors & multiples

All divisors (2)
1 · 7
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 7)
1 × 7
First multiples
7 · 14 · 21 · 28 · 35 · 42 · 49 · 56 · 63 · 70

Representations

In words
seven
Ordinal
7th
Roman numeral
VII
Binary
111
Octal
7
Hexadecimal
7

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 5 (gap of 2)
  • Next prime: 11 (gap of 4)

Pair status: twin with 5, cousin with 11.

ASCII character

As an ASCII codepoint, 7 is BEL (bell). ASCII control character.

Hex color
#000007
RGB(0, 0, 7)
IPv4 address

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