number.wiki
Number

31,397

31,397 is a prime, odd.

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

Properties

Parity
Odd
Digit count
5
Digit sum
23
Digit product
567
Digital root
5
Palindrome
No
Bit width
15 bits
Reversed
79,313
Recamán's sequence
a(30,869) = 31,397
Square (n²)
985,771,609
Cube (n³)
30,950,271,207,773
Divisor count
2
σ(n) — sum of divisors
31,398
φ(n) — Euler's totient
31,396

Primality

31,397 is prime. It has exactly two divisors: 1 and itself.

Divisors & multiples

All divisors (2)
1 · 31397
Aliquot sum (sum of proper divisors): 1
Factor pairs (a × b = 31,397)
1 × 31397
First multiples
31,397 · 62,794 (double) · 94,191 · 125,588 · 156,985 · 188,382 · 219,779 · 251,176 · 282,573 · 313,970

Sums & aliquot sequence

As a sum of two squares: 74² + 161²
As consecutive integers: 15,698 + 15,699

Representations

In words
thirty-one thousand three hundred ninety-seven
Ordinal
31397th
Binary
111101010100101
Octal
75245
Hexadecimal
0x7AA5
Base64
eqU=
One's complement
34,138 (16-bit)
In other bases
ternary (3) 1121001212
quaternary (4) 13222211
quinary (5) 2001042
senary (6) 401205
septenary (7) 160352
nonary (9) 47055
undecimal (11) 21653
duodecimal (12) 16205
tridecimal (13) 113a2
tetradecimal (14) b629
pentadecimal (15) 9482

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

Also seen as

Prime neighborhood

Adjacent primes:

  • Previous prime: 31,393 (gap of 4)
  • Next prime: 31,469 (gap of 72)

Pair status: cousin with 31393.

Unicode codepoint
CJK Unified Ideograph-7Aa5
U+7AA5
Other letter (Lo)

UTF-8 encoding: E7 AA A5 (3 bytes).

Hex color
#007AA5
RGB(0, 122, 165)
IPv4 address

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

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

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

Position in π

The digit sequence 31397 first appears in π at position 50,836 of the decimal expansion (the 50,836ordinal-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.