number.wiki
Number

12,791

12,791 is a prime, odd.

Arithmetic Number Chen Prime Deficient Number Evil Number Prime Recamán's Sequence Sophie Germain Prime Squarefree

Properties

Parity
Odd
Digit count
5
Digit sum
20
Digit product
126
Digital root
2
Palindrome
No
Bit width
14 bits
Reversed
19,721
Recamán's sequence
a(48,693) = 12,791
Square (n²)
163,609,681
Cube (n³)
2,092,731,429,671
Divisor count
2
σ(n) — sum of divisors
12,792
φ(n) — Euler's totient
12,790

Primality

12,791 is prime. It has exactly two divisors: 1 and itself.

Divisors & multiples

All divisors (2)
1 · 12791
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 12,791)
1 × 12791
First multiples
12,791 · 25,582 (double) · 38,373 · 51,164 · 63,955 · 76,746 · 89,537 · 102,328 · 115,119 · 127,910

Sums & aliquot sequence

As consecutive integers: 6,395 + 6,396

Representations

In words
twelve thousand seven hundred ninety-one
Ordinal
12791st
Binary
11000111110111
Octal
30767
Hexadecimal
0x31F7
Base64
Mfc=
One's complement
52,744 (16-bit)
In other bases
ternary (3) 122112202
quaternary (4) 3013313
quinary (5) 402131
senary (6) 135115
septenary (7) 52202
nonary (9) 18482
undecimal (11) 9679
duodecimal (12) 749b
tridecimal (13) 5a8c
tetradecimal (14) 4939
pentadecimal (15) 3bcb

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

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 12,781 (gap of 10)
  • Next prime: 12,799 (gap of 8)
Unicode codepoint
Katakana Letter Small Hu
U+31F7
Other letter (Lo)

UTF-8 encoding: E3 87 B7 (3 bytes).

Hex color
#0031F7
RGB(0, 49, 247)
IPv4 address

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

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

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

Position in π

The digit sequence 12791 first appears in π at position 131,401 of the decimal expansion (the 131,401ordinal-suffix:st 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.