number.wiki
Number

20,789

20,789 is a prime, odd.

20,789 (twenty thousand seven hundred eighty-nine) is an odd 5-digit number. It is a prime number — divisible only by 1 and itself. Written other ways, in hexadecimal, 0x5135.

Arithmetic Number Chen Prime Cube-Free Deficient Number Odious Number Pernicious Number Prime Pythagorean Prime Recamán's Sequence Sophie Germain Prime Squarefree

Interestingness

Properties

Parity
Odd
Digit count
5
Digit sum
26
Digit product
0
Digital root
8
Palindrome
No
Bit width
15 bits
Reversed
98,702
Recamán's sequence
a(42,261) = 20,789
Square (n²)
432,182,521
Cube (n³)
8,984,642,429,069
Divisor count
2
σ(n) — sum of divisors
20,790
φ(n) — Euler's totient
20,788

Primality

20,789 is prime. It has exactly two divisors: 1 and itself.

Divisors & multiples

All divisors (2)
1 · 20789
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 20,789)
1 × 20789
First multiples
20,789 · 41,578 (double) · 62,367 · 83,156 · 103,945 · 124,734 · 145,523 · 166,312 · 187,101 · 207,890

Sums & aliquot sequence

As a sum of two squares: 25² + 142²
As consecutive integers: 10,394 + 10,395

Continued fraction of √n

√20,789 = [144; (5, 2, 3, 2, 57, 4, 4, 2, 11, 11, 2, 4, 4, 57, 2, 3, 2, 5, 288)]

Period length 19 — the block in parentheses repeats forever.

Representations

In words
twenty thousand seven hundred eighty-nine
Ordinal
20789th
Binary
101000100110101
Octal
50465
Hexadecimal
0x5135
Base64
UTU=
One's complement
44,746 (16-bit)
Scientific notation
2.0789 × 10⁴
As a duration
20,789 s = 5 hours, 46 minutes, 29 seconds
In other bases
ternary (3) 1001111222
quaternary (4) 11010311
quinary (5) 1131124
senary (6) 240125
septenary (7) 114416
nonary (9) 31458
undecimal (11) 1468a
duodecimal (12) 10045
tridecimal (13) 9602
tetradecimal (14) 780d
pentadecimal (15) 625e

As an angle

20,789° = 57 × 360° + 269°
269° ≈ 4.695 rad
Compass bearing: W (west)

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 20,789 = 5
e — Euler's number (e)
Digit 20,789 = 5
φ — Golden ratio (φ)
Digit 20,789 = 7
√2 — Pythagoras's (√2)
Digit 20,789 = 4
ln 2 — Natural log of 2
Digit 20,789 = 2
γ — Euler-Mascheroni (γ)
Digit 20,789 = 0

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 20,773 (gap of 16)
  • Next prime: 20,807 (gap of 18)
Unicode codepoint
CJK Unified Ideograph-5135
U+5135
Other letter (Lo)

UTF-8 encoding: E5 84 B5 (3 bytes).

Hex color
#005135
RGB(0, 81, 53)
IPv4 address

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

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

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

Position in π

The digit sequence 20789 first appears in π at position 139,530 of the decimal expansion (the 139,530ordinal-suffix:th 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.