Recognised as Number
840,666
- Positive
- Even
- Composite
- 6 digits
840,666 is an even 6-digit integer and a composite number. It has 8 divisors and a digital root of 3.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value840,666
Digit count6
Digit sum30
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root3repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 3 × 140,111
Distinct prime factors32, 3, 140,111
Number of divisors8
Sum of divisors σ(n)1,681,344
Aliquot sum840,678sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)280,220integers below n that share no factor with it
Carmichael function λ(n)140,110the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 280,220
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 140,111, 280,222, 420,333, 840,6668 in total
Arithmetic
Representations
Decimal840,666
Binary1100110100111101101020 bits
Octal3151732
HexadecimalCD3DA
Base 36I0NU
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand, six hundred and sixty-six
Ordinaleight hundred and forty thousand, six hundred and sixty-sixth
Scientific notation8.40666 × 10^5
Engineering notation840.666 × 10^3
In other bases
Ternary1120201011210base 3; the most digit-efficient integer base after e: 13 digits
Quinary203400131base 5; one hand: 9 digits
Septenary10100631base 7: 8 digits
Nonary1521153base 9; each digit is two ternary digits: 7 digits
Duodecimal3465b6base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal551d6base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:53:31:6base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T011TTT10digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011101010000101110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011001101001111011010
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 even
Highest set bitbit 19worth 524,288
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes30c d3 da
Gray code10101011101000110111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011001101001111011010
64-bit0000000000000000000000000000000000000000000011001101001111011010
One's complement11111111111100110010110000100101at 32 bits, every bit flipped
Bits reversed01011011110010110011000000000000at 32 bits
Rotated left by 100000000000110011010011110110100at 32 bits, wrapping
Shifted left by 1110011010011110110100= 1,681,332, no wrap
Shifted right by 11100110100111101101= 420,333, discarding the low bit
These bits as a double4.1534419 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
840,666 to the power 2706,719,323,556
840,666 to the power 3594,114,906,856,528,296
840,666 to the power 4499,452,202,287,450,216,485,136
840,666 to the power 5419,872,485,088,181,623,691,693,340,576
First ten multiples840,666, 1,681,332, 2,521,998, 3,362,664, 4,203,330, 5,043,996, 5,884,662, 6,725,328, 7,565,994, 8,406,660
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2Yes
Divisible by 3Yes
Divisible by 4No, remainder 2
Divisible by 5No, remainder 1
Divisible by 6Yes
Divisible by 7No, remainder 1
Divisible by 8No, remainder 2
Divisible by 9No, remainder 3
Divisible by 10No, remainder 6
Divisible by 11No, remainder 2
Divisible by 12No, remainder 6
Divisible by 100No, remainder 66
Collatz (3n + 1) trajectory
Steps to reach 1131the total stopping time
Highest value reached1,261,0001× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,666 → 420,333 → 1,261,000 → 630,500 → 315,250 → 157,625 → 472,876 → 236,438 → 118,219 → 354,658 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage84,066,600%
840,666% as a decimal8,406.66
840,666% of 100840,666
840,666% of 1,0008,406,660
As a fraction of 100840,666/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,666
Also reads as
#840666 (colour)
- #840666
- Magenta
- Dark
- Nearest: Purple
#840666 is a magenta with RGB values 132, 6, 102 and HSL 314°, 91%, 27%. It is a dark colour, so white text on it reaches 9.5:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#840666#840666
HEX#840666
RGBrgb(132, 6, 102)
RGB (0–1)0.5176, 0.0235, 0.4
RGB percentages51.8%, 2.4%, 40%
HSLhsl(314.3, 91.3%, 27.1%)
HSV / HSBhsv(314.3, 95.5%, 51.8%)
CMYK0%, 95.5%, 22.7%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,652,390
CSS custom property--colour: #840666;
Brightness & contrast
Relative luminance0.05995WCAG 2.x, 0 is black and 1 is white
Perceived brightness80.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.55:1
Contrast with white9.55:1WCAG normal text: AAA
Contrast with black2.2:1WCAG normal text: Fail
Greyscale equivalent#282828
Inverted#7BF999
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.55:1WCAG large text: AAA
Contrast with black, large text2.2:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#068424
Analogous#630684, #840627
Triadic#668406, #066684
Split complementary#278406, #068463
Tetradic#846306, #068424, #062784
Tints, shades & saturation
Channel breakdown
R132
G6
B102
Red132 (51.8%)
Green6 (2.4%)
Blue102 (40%)
Hue314.29°
Saturation (HSL)91.3%
Lightness27.06%
Dominant channelRed
Hex per channelR 84 · G 06 · B 66
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