number.wiki
Live analysis

40,791

40,791 is a composite number, odd.

This number doesn't have a permanent NumberWiki page yet — what you see below is computed live. Pages get added to the permanent index when they're notable (years, primes, curated, etc.).
Arithmetic Number Deficient Number Odious Number Pernicious Number Recamán's Sequence Semiprime Squarefree

Properties

Parity
Odd
Digit count
5
Digit sum
21
Digit product
0
Digital root
3
Palindrome
No
Bit width
16 bits
Reversed
19,704
Recamán's sequence
a(152,597) = 40,791
Square (n²)
1,663,905,681
Cube (n³)
67,872,376,633,671
Divisor count
4
σ(n) — sum of divisors
54,392
φ(n) — Euler's totient
27,192
Sum of prime factors
13,600

Primality

Prime factorization: 3 × 13597

Nearest primes: 40,787 (−4) · 40,801 (+10)

Divisors & multiples

All divisors (4)
1 · 3 · 13597 · 40791
Aliquot sum (sum of proper divisors): 13,601
Factor pairs (a × b = 40,791)
1 × 40791
3 × 13597
First multiples
40,791 · 81,582 (double) · 122,373 · 163,164 · 203,955 · 244,746 · 285,537 · 326,328 · 367,119 · 407,910

Sums & aliquot sequence

As consecutive integers: 20,395 + 20,396 13,596 + 13,597 + 13,598 6,796 + 6,797 + 6,798 + 6,799 + 6,800 + 6,801
Aliquot sequence: 40,791 13,601 2,719 1 0 — terminates at zero

Representations

In words
forty thousand seven hundred ninety-one
Ordinal
40791st
Binary
1001111101010111
Octal
117527
Hexadecimal
0x9F57
Base64
n1c=
One's complement
24,744 (16-bit)
In other bases
ternary (3) 2001221210
quaternary (4) 21331113
quinary (5) 2301131
senary (6) 512503
septenary (7) 226632
nonary (9) 61853
undecimal (11) 28713
duodecimal (12) 1b733
tridecimal (13) 1574a
tetradecimal (14) 10c19
pentadecimal (15) c146

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 40,791 = 7
e — Euler's number (e)
Digit 40,791 = 1
φ — Golden ratio (φ)
Digit 40,791 = 9
√2 — Pythagoras's (√2)
Digit 40,791 = 9
ln 2 — Natural log of 2
Digit 40,791 = 6
γ — Euler-Mascheroni (γ)
Digit 40,791 = 4

Also seen as

Unicode codepoint
CJK Unified Ideograph-9F57
U+9F57
Other letter (Lo)

UTF-8 encoding: E9 BD 97 (3 bytes).

Hex color
#009F57
RGB(0, 159, 87)
IPv4 address

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

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

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

Position in π

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