Recognised as Number
796,887
- Positive
- Odd
- Composite
- 6 digits
796,887 is an odd 6-digit integer and a composite number. It has 36 divisors and a digital root of 9.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value796,887
Digit count6
Digit sum45
Digit product169,344
Multiplicative persistence4times the digit product can be taken before one digit is left
Digital root9repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3^2 × 7^2 × 13 × 139
Distinct prime factors43, 7, 13, 139
Number of divisors36
Sum of divisors σ(n)1,452,360
Aliquot sum655,473sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)417,312integers below n that share no factor with it
Carmichael function λ(n)1,932the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 417,312
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 7, 9, 13, 21, 39, 49, 63, 91, 117, 139, 147, 273, 417, 441, 637, 819, 973, 1,251, 1,807, 1,911, 2,919, 5,421, 5,733, 6,811, 8,757, 12,649, 16,263, 20,433, 37,947, 61,299, 88,543, 113,841, 265,629, 796,88736 in total
Arithmetic
Representations
Decimal796,887
Binary1100001010001101011120 bits
Octal3024327
HexadecimalC28D7
Base 36H2VR
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsseven hundred and ninety-six thousand, eight hundred and eighty-seven
Ordinalseven hundred and ninety-six thousand, eight hundred and eighty-seventh
Scientific notation7.96887 × 10^5
Engineering notation796.887 × 10^3
In other bases
Ternary1111111010100base 3; the most digit-efficient integer base after e: 13 digits
Quinary201000022base 5; one hand: 9 digits
Septenary6526200base 7: 7 digits
Nonary1444110base 9; each digit is two ternary digits: 7 digits
Duodecimal3251b3base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal4jc47base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:41:21:27base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1111111010100digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111000111100100101011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011000010100011010111
Bit length20 bitsto write the magnitude
Set bits10the population count, or Hamming weight
Zero bits10within that length
Bit parityeven10 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
Bytes30c 28 d7
Gray code10100011110010111100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011000010100011010111
64-bit0000000000000000000000000000000000000000000011000010100011010111
One's complement11111111111100111101011100101000at 32 bits, every bit flipped
Bits reversed11101011000101000011000000000000at 32 bits
Rotated left by 100000000000110000101000110101110at 32 bits, wrapping
Shifted left by 1110000101000110101110= 1,593,774, no wrap
Shifted right by 11100001010001101011= 398,443, discarding the low bit
These bits as a double3.9371449 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
796,887 to the power 2635,028,890,769
796,887 to the power 3506,046,267,678,236,103
796,887 to the power 4403,261,692,111,306,533,411,361
796,887 to the power 5321,354,000,041,502,729,490,579,233,207
First ten multiples796,887, 1,593,774, 2,390,661, 3,187,548, 3,984,435, 4,781,322, 5,578,209, 6,375,096, 7,171,983, 7,968,870
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3Yes
Divisible by 4No, remainder 3
Divisible by 5No, remainder 2
Divisible by 6No, remainder 3
Divisible by 7Yes
Divisible by 8No, remainder 7
Divisible by 9Yes
Divisible by 10No, remainder 7
Divisible by 11No, remainder 3
Divisible by 12No, remainder 3
Divisible by 100No, remainder 87
Collatz (3n + 1) trajectory
Steps to reach 1144the total stopping time
Highest value reached5,378,9926× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps796,887 → 2,390,662 → 1,195,331 → 3,585,994 → 1,792,997 → 5,378,992 → 2,689,496 → 1,344,748 → 672,374 → 336,187 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage79,688,700%
796,887% as a decimal7,968.87
796,887% of 100796,887
796,887% of 1,0007,968,870
As a fraction of 100796,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 796,887
Also reads as
#796887 (colour)
- #796887
- Violet
- Dark
- Nearest: Slate grey
#796887 is a violet with RGB values 121, 104, 135 and HSL 273°, 13%, 47%. It is a dark colour, so white text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Slate grey.
Colour values
#796887#796887
HEX#796887
RGBrgb(121, 104, 135)
RGB (0–1)0.4745, 0.4078, 0.5294
RGB percentages47.5%, 40.8%, 52.9%
HSLhsl(272.9, 13%, 46.9%)
HSV / HSBhsv(272.9, 23%, 52.9%)
CMYK10.4%, 23%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,956,615
CSS custom property--colour: #796887;
Brightness & contrast
Relative luminance0.15715WCAG 2.x, 0 is black and 1 is white
Perceived brightness113.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.07:1
Contrast with white5.07:1WCAG normal text: AA
Contrast with black4.14:1WCAG normal text: Fail
Greyscale equivalent#6E6E6E
Inverted#869778
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text5.07:1WCAG large text: AAA
Contrast with black, large text4.14:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#768768
Analogous#696887, #876886
Triadic#877968, #688779
Split complementary#868768, #688769
Tetradic#876968, #768768, #688687
Tints, shades & saturation
Channel breakdown
R121
G104
B135
Red121 (47.5%)
Green104 (40.8%)
Blue135 (52.9%)
Hue272.9°
Saturation (HSL)12.97%
Lightness46.86%
Dominant channelBlue
Hex per channelR 79 · G 68 · 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