Recognised as Number
871,787
- Positive
- Odd
- Composite
- 6 digits
871,787 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value871,787
Digit count6
Digit sum38
Digit product21,952
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation7 × 124,541
Distinct prime factors27, 124,541
Number of divisors4
Sum of divisors σ(n)996,336
Aliquot sum124,549sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)747,240integers below n that share no factor with it
Carmichael function λ(n)373,620the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 747,240
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 7, 124,541, 871,7874 in total
Arithmetic
Representations
Decimal871,787
Binary1101010011010110101120 bits
Octal3246553
HexadecimalD4D6B
Base 36IOOB
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and seventy-one thousand, seven hundred and eighty-seven
Ordinaleight hundred and seventy-one thousand, seven hundred and eighty-seventh
Scientific notation8.71787 × 10^5
Engineering notation871.787 × 10^3
In other bases
Ternary1122021212102base 3; the most digit-efficient integer base after e: 13 digits
Quinary210344122base 5; one hand: 9 digits
Septenary10260440base 7: 8 digits
Nonary1567772base 9; each digit is two ternary digits: 7 digits
Duodecimal36060bbase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal58j97base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal4:2:9:47base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TT0T10T0TT11Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111010101001010111111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011010100110101101011
Bit length20 bitsto write the magnitude
Set bits12the population count, or Hamming weight
Zero bits8within that length
Bit parityeven12 set bits, so even; not the same as the number itself being odd
Highest set bitbit 19worth 524,288
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes30d 4d 6b
Gray code10111110101111011110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011010100110101101011
64-bit0000000000000000000000000000000000000000000011010100110101101011
One's complement11111111111100101011001010010100at 32 bits, every bit flipped
Bits reversed11010110101100101011000000000000at 32 bits
Rotated left by 100000000000110101001101011010110at 32 bits, wrapping
Shifted left by 1110101001101011010110= 1,743,574, no wrap
Shifted right by 11101010011010110101= 435,893, discarding the low bit
These bits as a double4.30720007 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
871,787 to the power 2760,012,573,369
871,787 to the power 3662,569,081,299,640,403
871,787 to the power 4577,619,111,678,969,608,010,161
871,787 to the power 5503,560,832,513,273,877,658,354,227,707
First ten multiples871,787, 1,743,574, 2,615,361, 3,487,148, 4,358,935, 5,230,722, 6,102,509, 6,974,296, 7,846,083, 8,717,870
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 3
Divisible by 5No, remainder 2
Divisible by 6No, remainder 5
Divisible by 7Yes
Divisible by 8No, remainder 3
Divisible by 9No, remainder 2
Divisible by 10No, remainder 7
Divisible by 11No, remainder 4
Divisible by 12No, remainder 11
Divisible by 100No, remainder 87
Collatz (3n + 1) trajectory
Steps to reach 1188the total stopping time
Highest value reached9,425,96810× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps871,787 → 2,615,362 → 1,307,681 → 3,923,044 → 1,961,522 → 980,761 → 2,942,284 → 1,471,142 → 735,571 → 2,206,714 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage87,178,700%
871,787% as a decimal8,717.87
871,787% of 100871,787
871,787% of 1,0008,717,870
As a fraction of 100871,787/100
Read another way
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 871,787
Also reads as
#871787 (colour)
- #871787
- Magenta
- Dark
- Nearest: Purple
#871787 is a magenta with RGB values 135, 23, 135 and HSL 300°, 71%, 31%. It is a dark colour, so white text on it reaches 8.4:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#871787#871787
HEX#871787
RGBrgb(135, 23, 135)
RGB (0–1)0.5294, 0.0902, 0.5294
RGB percentages52.9%, 9%, 52.9%
HSLhsl(300, 70.9%, 31%)
HSV / HSBhsv(300, 83%, 52.9%)
CMYK0%, 83%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,853,383
CSS custom property--colour: #871787;
Brightness & contrast
Relative luminance0.07513WCAG 2.x, 0 is black and 1 is white
Perceived brightness88.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.39:1
Contrast with white8.39:1WCAG normal text: AAA
Contrast with black2.5:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#78E878
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.39:1WCAG large text: AAA
Contrast with black, large text2.5:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#178717
Analogous#4F1787, #87174F
Triadic#878717, #178787
Split complementary#4F8717, #17874F
Tetradic#874F17, #178717, #174F87
Tints, shades & saturation
Channel breakdown
R135
G23
B135
Red135 (52.9%)
Green23 (9%)
Blue135 (52.9%)
Hue300°
Saturation (HSL)70.89%
Lightness30.98%
Dominant channelRed and Blue
Hex per channelR 87 · G 17 · B 87
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page