Recognised as Number
870,887
- Positive
- Odd
- Composite
- 6 digits
870,887 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 value870,887
Digit count6
Digit sum38
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times 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 factorisation229 × 3,803
Distinct prime factors2229, 3,803
Number of divisors4
Sum of divisors σ(n)874,920
Aliquot sum4,033sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)866,856integers below n that share no factor with it
Carmichael function λ(n)433,428the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 866,856
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 229, 3,803, 870,8874 in total
Arithmetic
Representations
Decimal870,887
Binary1101010010011110011120 bits
Octal3244747
HexadecimalD49E7
Base 36INZB
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and seventy thousand, eight hundred and eighty-seven
Ordinaleight hundred and seventy thousand, eight hundred and eighty-seventh
Scientific notation8.70887 × 10^5
Engineering notation870.887 × 10^3
In other bases
Ternary1122020122002base 3; the most digit-efficient integer base after e: 13 digits
Quinary210332022base 5; one hand: 9 digits
Septenary10255013base 7: 8 digits
Nonary1566562base 9; each digit is two ternary digits: 7 digits
Duodecimal35bb9bbase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal58h47base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal4:1:54:47base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TT0T1T1T0T01Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111010101111000111011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011010100100111100111
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 49 e7
Gray code10111110110100010100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011010100100111100111
64-bit0000000000000000000000000000000000000000000011010100100111100111
One's complement11111111111100101011011000011000at 32 bits, every bit flipped
Bits reversed11100111100100101011000000000000at 32 bits
Rotated left by 100000000000110101001001111001110at 32 bits, wrapping
Shifted left by 1110101001001111001110= 1,741,774, no wrap
Shifted right by 11101010010011110011= 435,443, discarding the low bit
These bits as a double4.30275348 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
870,887 to the power 2758,444,166,769
870,887 to the power 3660,519,165,064,954,103
870,887 to the power 4575,237,554,105,922,683,899,361
870,887 to the power 5500,966,907,782,644,688,413,062,803,207
First ten multiples870,887, 1,741,774, 2,612,661, 3,483,548, 4,354,435, 5,225,322, 6,096,209, 6,967,096, 7,837,983, 8,708,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 7No, remainder 3
Divisible by 8No, remainder 7
Divisible by 9No, remainder 2
Divisible by 10No, remainder 7
Divisible by 11No, remainder 6
Divisible by 12No, remainder 11
Divisible by 100No, remainder 87
Collatz (3n + 1) trajectory
Steps to reach 1188the total stopping time
Highest value reached9,919,96011× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps870,887 → 2,612,662 → 1,306,331 → 3,918,994 → 1,959,497 → 5,878,492 → 2,939,246 → 1,469,623 → 4,408,870 → 2,204,435 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage87,088,700%
870,887% as a decimal8,708.87
870,887% of 100870,887
870,887% of 1,0008,708,870
As a fraction of 100870,887/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 870,887
Also reads as
#870887 (colour)
- #870887
- Magenta
- Dark
- Nearest: Purple
#870887 is a magenta with RGB values 135, 8, 135 and HSL 300°, 89%, 28%. It is a dark colour, so white text on it reaches 8.7:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#870887#870887
HEX#870887
RGBrgb(135, 8, 135)
RGB (0–1)0.5294, 0.0314, 0.5294
RGB percentages52.9%, 3.1%, 52.9%
HSLhsl(300, 88.8%, 28%)
HSV / HSBhsv(300, 94.1%, 52.9%)
CMYK0%, 94.1%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,849,543
CSS custom property--colour: #870887;
Brightness & contrast
Relative luminance0.07074WCAG 2.x, 0 is black and 1 is white
Perceived brightness87 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.7:1
Contrast with white8.7:1WCAG normal text: AAA
Contrast with black2.41:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#78F778
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.7:1WCAG large text: AAA
Contrast with black, large text2.41:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#088708
Analogous#480887, #870848
Triadic#878708, #088787
Split complementary#488708, #088748
Tetradic#874808, #088708, #084887
Tints, shades & saturation
Channel breakdown
R135
G8
B135
Red135 (52.9%)
Green8 (3.1%)
Blue135 (52.9%)
Hue300°
Saturation (HSL)88.81%
Lightness28.04%
Dominant channelRed and Blue
Hex per channelR 87 · G 08 · 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