number.wiki
Number

40,039

40,039 is a prime, odd.

Deficient Number Prime Squarefree Twin Prime

Properties

Parity
Odd
Digit count
5
Digit sum
16
Digital root
7
Palindrome
No
Divisor count
2
σ(n) — sum of divisors
40,040

Primality

40,039 is prime. It has exactly two divisors: 1 and itself.

Divisors & multiples

All divisors (2)
1 · 40039
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 40,039)
1 × 40039
First multiples
40,039 · 80,078 · 120,117 · 160,156 · 200,195 · 240,234 · 280,273 · 320,312 · 360,351 · 400,390

Representations

In words
forty thousand thirty-nine
Ordinal
40039th
Binary
1001110001100111
Octal
116147
Hexadecimal
9C67

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 40,037 (gap of 2)
  • Next prime: 40,063 (gap of 24)

Pair status: twin with 40037.

Unicode codepoint
U+9C67
Other letter (Lo)

UTF-8 encoding: E9 B1 A7 (3 bytes).

Hex color
#009C67
RGB(0, 156, 103)
IPv4 address

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