Recognised as Number
840,366
- Positive
- Even
- Composite
- 6 digits
840,366 is an even 6-digit integer and a composite number. It has 12 divisors and a digital root of 9.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value840,366
Digit count6
Digit sum27
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times 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 factorisation2 × 3^2 × 46,687
Distinct prime factors32, 3, 46,687
Number of divisors12
Sum of divisors σ(n)1,820,832
Aliquot sum980,466sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)280,116integers below n that share no factor with it
Carmichael function λ(n)46,686the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 280,116
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 3, 6, 9, 18, 46,687, 93,374, 140,061, 280,122, 420,183, 840,36612 in total
Arithmetic
Representations
Decimal840,366
Binary1100110100101010111020 bits
Octal3151256
HexadecimalCD2AE
Base 36I0FI
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand, three hundred and sixty-six
Ordinaleight hundred and forty thousand, three hundred and sixty-sixth
Scientific notation8.40366 × 10^5
Engineering notation840.366 × 10^3
In other bases
Ternary1120200202200base 3; the most digit-efficient integer base after e: 13 digits
Quinary203342431base 5; one hand: 9 digits
Septenary10100022base 7: 8 digits
Nonary1520680base 9; each digit is two ternary digits: 7 digits
Duodecimal3463a6base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal550i6base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:53:26:6base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T01T10T00digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011101011111110010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011001101001010101110
Bit length20 bitsto write the magnitude
Set bits11the population count, or Hamming weight
Zero bits9within that length
Bit parityodd11 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 d2 ae
Gray code10101011101111111001n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011001101001010101110
64-bit0000000000000000000000000000000000000000000011001101001010101110
One's complement11111111111100110010110101010001at 32 bits, every bit flipped
Bits reversed01110101010010110011000000000000at 32 bits
Rotated left by 100000000000110011010010101011100at 32 bits, wrapping
Shifted left by 1110011010010101011100= 1,680,732, no wrap
Shifted right by 11100110100101010111= 420,183, discarding the low bit
These bits as a double4.15195971 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
840,366 to the power 2706,215,013,956
840,366 to the power 3593,479,086,418,147,896
840,366 to the power 4498,739,645,936,873,274,769,936
840,366 to the power 5419,123,841,297,386,446,425,312,036,576
First ten multiples840,366, 1,680,732, 2,521,098, 3,361,464, 4,201,830, 5,042,196, 5,882,562, 6,722,928, 7,563,294, 8,403,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 2
Divisible by 8No, remainder 6
Divisible by 9Yes
Divisible by 10No, remainder 6
Divisible by 11No, remainder 10
Divisible by 12No, remainder 6
Divisible by 100No, remainder 66
Collatz (3n + 1) trajectory
Steps to reach 182the total stopping time
Highest value reached2,836,2403× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,366 → 420,183 → 1,260,550 → 630,275 → 1,890,826 → 945,413 → 2,836,240 → 1,418,120 → 709,060 → 354,530 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage84,036,600%
840,366% as a decimal8,403.66
840,366% of 100840,366
840,366% of 1,0008,403,660
As a fraction of 100840,366/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,366
Also reads as
#840366 (colour)
- #840366
- Magenta
- Dark
- Nearest: Purple
#840366 is a magenta with RGB values 132, 3, 102 and HSL 314°, 96%, 26%. It is a dark colour, so white text on it reaches 9.6:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#840366#840366
HEX#840366
RGBrgb(132, 3, 102)
RGB (0–1)0.5176, 0.0118, 0.4
RGB percentages51.8%, 1.2%, 40%
HSLhsl(314, 95.6%, 26.5%)
HSV / HSBhsv(314, 97.7%, 51.8%)
CMYK0%, 97.7%, 22.7%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,651,622
CSS custom property--colour: #840366;
Brightness & contrast
Relative luminance0.0593WCAG 2.x, 0 is black and 1 is white
Perceived brightness80 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.61:1
Contrast with white9.61:1WCAG normal text: AAA
Contrast with black2.19:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#7BFC99
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.61:1WCAG large text: AAA
Contrast with black, large text2.19:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#038421
Analogous#620384, #840325
Triadic#668403, #036684
Split complementary#258403, #038462
Tetradic#846203, #038421, #032684
Tints, shades & saturation
Channel breakdown
R132
G3
B102
Red132 (51.8%)
Green3 (1.2%)
Blue102 (40%)
Hue313.95°
Saturation (HSL)95.56%
Lightness26.47%
Dominant channelRed
Hex per channelR 84 · G 03 · 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