Recognised as Number
840,777
- Positive
- Odd
- Composite
- 6 digits
840,777 is an odd 6-digit integer and a composite number. It has 8 divisors and a digital root of 6.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value840,777
Digit count6
Digit sum33
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3 × 7 × 40,037
Distinct prime factors33, 7, 40,037
Number of divisors8
Sum of divisors σ(n)1,281,216
Aliquot sum440,439sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)480,432integers below n that share no factor with it
Carmichael function λ(n)120,108the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 480,432
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 3, 7, 21, 40,037, 120,111, 280,259, 840,7778 in total
Arithmetic
Representations
Decimal840,777
Binary1100110101000100100120 bits
Octal3152111
HexadecimalCD449
Base 36I0QX
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand, seven hundred and seventy-seven
Ordinaleight hundred and forty thousand, seven hundred and seventy-seventh
Scientific notation8.40777 × 10^5
Engineering notation840.777 × 10^3
In other bases
Ternary1120201022220base 3; the most digit-efficient integer base after e: 13 digits
Quinary203401102base 5; one hand: 9 digits
Septenary10101150base 7: 8 digits
Nonary1521286base 9; each digit is two ternary digits: 7 digits
Duodecimal346689base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal551ihbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:53:32:57base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T011000T0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011101010001011001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011001101010001001001
Bit length20 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits11within that length
Bit parityodd9 set bits, so odd; 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 d4 49
Gray code10101011111001101101n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011001101010001001001
64-bit0000000000000000000000000000000000000000000011001101010001001001
One's complement11111111111100110010101110110110at 32 bits, every bit flipped
Bits reversed10010010001010110011000000000000at 32 bits
Rotated left by 100000000000110011010100010010010at 32 bits, wrapping
Shifted left by 1110011010100010010010= 1,681,554, no wrap
Shifted right by 11100110101000100100= 420,388, discarding the low bit
These bits as a double4.15399032 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
840,777 to the power 2706,905,963,729
840,777 to the power 3594,350,275,466,177,433
840,777 to the power 4499,716,041,555,626,263,585,441
840,777 to the power 5420,149,754,271,014,783,018,576,327,657
First ten multiples840,777, 1,681,554, 2,522,331, 3,363,108, 4,203,885, 5,044,662, 5,885,439, 6,726,216, 7,566,993, 8,407,770
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 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 3
Divisible by 7Yes
Divisible by 8No, remainder 1
Divisible by 9No, remainder 6
Divisible by 10No, remainder 7
Divisible by 11No, remainder 3
Divisible by 12No, remainder 9
Divisible by 100No, remainder 77
Collatz (3n + 1) trajectory
Steps to reach 1131the total stopping time
Highest value reached4,256,4405× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,777 → 2,522,332 → 1,261,166 → 630,583 → 1,891,750 → 945,875 → 2,837,626 → 1,418,813 → 4,256,440 → 2,128,220 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage84,077,700%
840,777% as a decimal8,407.77
840,777% of 100840,777
840,777% of 1,0008,407,770
As a fraction of 100840,777/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 840,777
Also reads as
#840777 (colour)
- #840777
- Magenta
- Dark
- Nearest: Purple
#840777 is a magenta with RGB values 132, 7, 119 and HSL 306°, 90%, 27%. It is a dark colour, so white text on it reaches 9.2:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#840777#840777
HEX#840777
RGBrgb(132, 7, 119)
RGB (0–1)0.5176, 0.0275, 0.4667
RGB percentages51.8%, 2.7%, 46.7%
HSLhsl(306.2, 89.9%, 27.3%)
HSV / HSBhsv(306.2, 94.7%, 51.8%)
CMYK0%, 94.7%, 9.8%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,652,663
CSS custom property--colour: #840777;
Brightness & contrast
Relative luminance0.06389WCAG 2.x, 0 is black and 1 is white
Perceived brightness82.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.22:1
Contrast with white9.22:1WCAG normal text: AAA
Contrast with black2.28:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#7BF888
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.22:1WCAG large text: AAA
Contrast with black, large text2.28:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#078414
Analogous#530784, #840739
Triadic#778407, #077784
Split complementary#398407, #078453
Tetradic#845307, #078414, #073984
Tints, shades & saturation
Channel breakdown
R132
G7
B119
Red132 (51.8%)
Green7 (2.7%)
Blue119 (46.7%)
Hue306.24°
Saturation (HSL)89.93%
Lightness27.25%
Dominant channelRed
Hex per channelR 84 · G 07 · B 77
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