number.wiki
Number

4,021

4,021 is a prime, odd.

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

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

Representations

In words
four thousand twenty-one
Ordinal
4021st
Binary
111110110101
Octal
7665
Hexadecimal
0xFB5
Base64
D7U=
One's complement
61,514 (16-bit)
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

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.

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.