number.wiki
Number

4,007

4,007 is a prime, odd.

4,007 (four thousand seven) is an odd 4-digit number. It is a prime number — divisible only by 1 and itself. Written other ways, in binary, 111110100111.

Arithmetic Number Chen Prime Cousin Prime Cube-Free Deficient Number Odious Number Prime Recamán's Sequence Safe Prime Sexy Prime Squarefree

Interestingness

Properties

Parity
Odd
Digit count
4
Digit sum
11
Digit product
0
Digital root
2
Palindrome
No
Bit width
12 bits
Reversed
7,004
Recamán's sequence
a(14,377) = 4,007
Square (n²)
16,056,049
Cube (n³)
64,336,588,343
Divisor count
2
σ(n) — sum of divisors
4,008
φ(n) — Euler's totient
4,006

Primality

4,007 is prime. It has exactly two divisors: 1 and itself.

Divisors & multiples

All divisors (2)
1 · 4007
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 4,007)
1 × 4007
First multiples
4,007 · 8,014 (double) · 12,021 · 16,028 · 20,035 · 24,042 · 28,049 · 32,056 · 36,063 · 40,070

Sums & aliquot sequence

As consecutive integers: 2,003 + 2,004

Continued fraction of √n

√4,007 = [63; (3, 3, 11, 4, 1, 3, 1, 1, 3, 1, 1, 9, 5, 1, 1, 1, 6, 63, 6, 1, 1, 1, 5, 9, …)]

Period length 36 — the block in parentheses repeats forever.

Representations

In words
four thousand seven
Ordinal
4007th
Binary
111110100111
Octal
7647
Hexadecimal
0xFA7
Base64
D6c=
One's complement
61,528 (16-bit)
Scientific notation
4.007 × 10³
As a duration
4,007 s = 1 hour, 6 minutes, 47 seconds
In other bases
ternary (3) 12111102
quaternary (4) 332213
quinary (5) 112012
senary (6) 30315
septenary (7) 14453
nonary (9) 5442
undecimal (11) 3013
duodecimal (12) 239b
tridecimal (13) 1a93
tetradecimal (14) 1663
pentadecimal (15) 12c2

As an angle

4,007° = 11 × 360° + 47°
47° ≈ 0.82 rad
Compass bearing: NE (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 4,007 = 3
e — Euler's number (e)
Digit 4,007 = 3
φ — Golden ratio (φ)
Digit 4,007 = 4
√2 — Pythagoras's (√2)
Digit 4,007 = 8
ln 2 — Natural log of 2
Digit 4,007 = 9
γ — Euler-Mascheroni (γ)
Digit 4,007 = 6

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 4,003 (gap of 4)
  • Next prime: 4,013 (gap of 6)

Pair status: cousin with 4003, sexy with 4013.

Unicode codepoint
Tibetan Subjoined Letter Bha
U+0FA7
Non-spacing mark (Mn)

UTF-8 encoding: E0 BE A7 (3 bytes).

Hex color
#000FA7
RGB(0, 15, 167)
IPv4 address

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

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

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

Musical pitch

Heard as a frequency, 4,007 Hz is closest to:

  • Concert pitch (A4 = 440 Hz): B7 (3951.1 Hz, +24¢)
  • Scientific pitch (C4 = 256 Hz): C8 (4096 Hz, -38¢)
  • Baroque pitch (A4 = 415 Hz): C8 (3948.2 Hz, +26¢)
Position in π

The digit sequence 4007 first appears in π at position 12,403 of the decimal expansion (the 12,403ordinal-suffix:rd 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.
  • Mayan numerals — Vigesimal dots-and-bars with a shell zero — one of the earliest true zeros.