number.wiki
Number

4,021

4,021 is a prime, odd.

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

Arithmetic Number Cube-Free Deficient Number Odious Number Prime Pythagorean Prime Recamán's Sequence Sexy Prime Squarefree Twin Prime

Interestingness

Properties

Parity
Odd
Digit count
4
Digit sum
7
Digit product
0
Digital root
7
Palindrome
No
Bit width
12 bits
Reversed
1,204
Recamán's sequence
a(14,349) = 4,021
Square (n²)
16,168,441
Cube (n³)
65,013,301,261
Divisor count
2
σ(n) — sum of divisors
4,022
φ(n) — Euler's totient
4,020

Primality

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

Divisors & multiples

All divisors (2)
1 · 4021
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 4,021)
1 × 4021
First multiples
4,021 · 8,042 (double) · 12,063 · 16,084 · 20,105 · 24,126 · 28,147 · 32,168 · 36,189 · 40,210

Sums & aliquot sequence

As a sum of two squares: 39² + 50²
As consecutive integers: 2,010 + 2,011

Continued fraction of √n

√4,021 = [63; (2, 2, 3, 8, 6, 4, 1, 1, 6, 1, 9, 1, 2, 2, 1, 9, 1, 6, 1, 1, 4, 6, 8, 3, …)]

Period length 27 — the block in parentheses repeats forever.

Representations

In words
four thousand twenty-one
Ordinal
4021st
Binary
111110110101
Octal
7665
Hexadecimal
0xFB5
Base64
D7U=
One's complement
61,514 (16-bit)
Scientific notation
4.021 × 10³
As a duration
4,021 s = 1 hour, 7 minutes, 1 second
In other bases
ternary (3) 12111221
quaternary (4) 332311
quinary (5) 112041
senary (6) 30341
septenary (7) 14503
nonary (9) 5457
undecimal (11) 3026
duodecimal (12) 23b1
tridecimal (13) 1aa4
tetradecimal (14) 1673
pentadecimal (15) 12d1

As an angle

4,021° = 11 × 360° + 61°
61° ≈ 1.065 rad
Compass bearing: ENE (east-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,021 = 5
e — Euler's number (e)
Digit 4,021 = 7
φ — Golden ratio (φ)
Digit 4,021 = 5
√2 — Pythagoras's (√2)
Digit 4,021 = 7
ln 2 — Natural log of 2
Digit 4,021 = 2
γ — Euler-Mascheroni (γ)
Digit 4,021 = 0

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 4,019 (gap of 2)
  • Next prime: 4,027 (gap of 6)

Pair status: twin with 4019, sexy with 4027.

Unicode codepoint
Tibetan Subjoined Letter Ssa
U+0FB5
Non-spacing mark (Mn)

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

Hex color
#000FB5
RGB(0, 15, 181)
IPv4 address

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

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

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

Musical pitch

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

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

The digit sequence 4021 first appears in π at position 9,022 of the decimal expansion (the 9,022ordinal-suffix:nd 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.
  • Egyptian hieroglyphic numerals — Seven hieroglyphs for every power of ten, from a single stroke to a million.