Recognised as Number
840,778
- Positive
- Even
- Composite
- 6 digits
840,778 is an even 6-digit integer and a composite number. It has 8 divisors and a digital root of 7.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value840,778
Digit count6
Digit sum34
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root7repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 359 × 1,171
Distinct prime factors32, 359, 1,171
Number of divisors8
Sum of divisors σ(n)1,265,760
Aliquot sum424,982sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)418,860integers below n that share no factor with it
Carmichael function λ(n)209,430the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 418,860
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 359, 718, 1,171, 2,342, 420,389, 840,7788 in total
Arithmetic
Representations
Decimal840,778
Binary1100110101000100101020 bits
Octal3152112
HexadecimalCD44A
Base 36I0QY
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand, seven hundred and seventy-eight
Ordinaleight hundred and forty thousand, seven hundred and seventy-eighth
Scientific notation8.40778 × 10^5
Engineering notation840.778 × 10^3
In other bases
Ternary1120201022221base 3; the most digit-efficient integer base after e: 13 digits
Quinary203401103base 5; one hand: 9 digits
Septenary10101151base 7: 8 digits
Nonary1521287base 9; each digit is two ternary digits: 7 digits
Duodecimal34668abase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal551iibase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:53:32:58base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T011000T1digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011101010001011110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011001101010001001010
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 even
Highest set bitbit 19worth 524,288
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes30c d4 4a
Gray code10101011111001101111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011001101010001001010
64-bit0000000000000000000000000000000000000000000011001101010001001010
One's complement11111111111100110010101110110101at 32 bits, every bit flipped
Bits reversed01010010001010110011000000000000at 32 bits
Rotated left by 100000000000110011010100010010100at 32 bits, wrapping
Shifted left by 1110011010100010010100= 1,681,556, no wrap
Shifted right by 11100110101000100101= 420,389, discarding the low bit
These bits as a double4.15399526 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
840,778 to the power 2706,907,645,284
840,778 to the power 3594,352,396,186,590,952
840,778 to the power 4499,718,418,960,969,567,440,656
840,778 to the power 5420,152,252,857,166,070,973,619,870,368
First ten multiples840,778, 1,681,556, 2,522,334, 3,363,112, 4,203,890, 5,044,668, 5,885,446, 6,726,224, 7,567,002, 8,407,780
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4No, remainder 2
Divisible by 5No, remainder 3
Divisible by 6No, remainder 4
Divisible by 7No, remainder 1
Divisible by 8No, remainder 2
Divisible by 9No, remainder 7
Divisible by 10No, remainder 8
Divisible by 11No, remainder 4
Divisible by 12No, remainder 10
Divisible by 100No, remainder 78
Collatz (3n + 1) trajectory
Steps to reach 182the total stopping time
Highest value reached1,261,1681× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,778 → 420,389 → 1,261,168 → 630,584 → 315,292 → 157,646 → 78,823 → 236,470 → 118,235 → 354,706 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage84,077,800%
840,778% as a decimal8,407.78
840,778% of 100840,778
840,778% of 1,0008,407,780
As a fraction of 100840,778/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,778
Also reads as
#840778 (colour)
- #840778
- Magenta
- Dark
- Nearest: Purple
#840778 is a magenta with RGB values 132, 7, 120 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
#840778#840778
HEX#840778
RGBrgb(132, 7, 120)
RGB (0–1)0.5176, 0.0275, 0.4706
RGB percentages51.8%, 2.7%, 47.1%
HSLhsl(305.8, 89.9%, 27.3%)
HSV / HSBhsv(305.8, 94.7%, 51.8%)
CMYK0%, 94.7%, 9.1%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,652,664
CSS custom property--colour: #840778;
Brightness & contrast
Relative luminance0.06414WCAG 2.x, 0 is black and 1 is white
Perceived brightness82.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.2:1
Contrast with white9.2:1WCAG normal text: AAA
Contrast with black2.28:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#7BF887
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.2: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#078413
Analogous#520784, #840739
Triadic#788407, #077884
Split complementary#3A8407, #078451
Tetradic#845207, #078413, #073A84
Tints, shades & saturation
Channel breakdown
R132
G7
B120
Red132 (51.8%)
Green7 (2.7%)
Blue120 (47.1%)
Hue305.76°
Saturation (HSL)89.93%
Lightness27.25%
Dominant channelRed
Hex per channelR 84 · G 07 · B 78
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