Recognised as Number
840,354
- Positive
- Even
- Composite
- 6 digits
840,354 is an even 6-digit integer and a composite number. It has 16 divisors and a digital root of 6.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value840,354
Digit count6
Digit sum24
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 numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 3 × 227 × 617
Distinct prime factors42, 3, 227, 617
Number of divisors16
Sum of divisors σ(n)1,690,848
Aliquot sum850,494sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)278,432integers below n that share no factor with it
Carmichael function λ(n)69,608the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 278,432
Möbius function μ(n)+14 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 227, 454, 617, 681, 1,234, 1,362, 1,851, 3,702, 140,059, 280,118, 420,177, 840,35416 in total
Arithmetic
Representations
Decimal840,354
Binary1100110100101010001020 bits
Octal3151242
HexadecimalCD2A2
Base 36I0F6
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand, three hundred and fifty-four
Ordinaleight hundred and forty thousand, three hundred and fifty-fourth
Scientific notation8.40354 × 10^5
Engineering notation840.354 × 10^3
In other bases
Ternary1120200202020base 3; the most digit-efficient integer base after e: 13 digits
Quinary203342404base 5; one hand: 9 digits
Septenary10100004base 7: 8 digits
Nonary1520666base 9; each digit is two ternary digits: 7 digits
Duodecimal346396base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal550hebase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:53:25:54base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T01T1T1T0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011101011111100110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011001101001010100010
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 d2 a2
Gray code10101011101111110011n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011001101001010100010
64-bit0000000000000000000000000000000000000000000011001101001010100010
One's complement11111111111100110010110101011101at 32 bits, every bit flipped
Bits reversed01000101010010110011000000000000at 32 bits
Rotated left by 100000000000110011010010101000100at 32 bits, wrapping
Shifted left by 1110011010010101000100= 1,680,708, no wrap
Shifted right by 11100110100101010001= 420,177, discarding the low bit
These bits as a double4.15190042 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
840,354 to the power 2706,194,845,316
840,354 to the power 3593,453,663,040,681,864
840,354 to the power 4498,711,159,550,889,167,139,856
840,354 to the power 5419,093,917,773,227,915,162,646,549,024
First ten multiples840,354, 1,680,708, 2,521,062, 3,361,416, 4,201,770, 5,042,124, 5,882,478, 6,722,832, 7,563,186, 8,403,540
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 4
Divisible by 6Yes
Divisible by 7No, remainder 4
Divisible by 8No, remainder 2
Divisible by 9No, remainder 6
Divisible by 10No, remainder 4
Divisible by 11No, remainder 9
Divisible by 12No, remainder 6
Divisible by 100No, remainder 54
Collatz (3n + 1) trajectory
Steps to reach 1175the total stopping time
Highest value reached2,271,5442× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,354 → 420,177 → 1,260,532 → 630,266 → 315,133 → 945,400 → 472,700 → 236,350 → 118,175 → 354,526 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage84,035,400%
840,354% as a decimal8,403.54
840,354% of 100840,354
840,354% of 1,0008,403,540
As a fraction of 100840,354/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,354
Also reads as
#840354 (colour)
- #840354
- Magenta
- Dark
- Nearest: Medium violet red
#840354 is a magenta with RGB values 132, 3, 84 and HSL 322°, 96%, 26%. It is a dark colour, so white text on it reaches 9.9:1 contrast (AAA for normal text). The nearest named colour is Medium violet red.
Colour values
#840354#840354
HEX#840354
RGBrgb(132, 3, 84)
RGB (0–1)0.5176, 0.0118, 0.3294
RGB percentages51.8%, 1.2%, 32.9%
HSLhsl(322.3, 95.6%, 26.5%)
HSV / HSBhsv(322.3, 97.7%, 51.8%)
CMYK0%, 97.7%, 36.4%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,651,604
CSS custom property--colour: #840354;
Brightness & contrast
Relative luminance0.05611WCAG 2.x, 0 is black and 1 is white
Perceived brightness77.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.9:1
Contrast with white9.9:1WCAG normal text: AAA
Contrast with black2.12:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#7BFCAB
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.9:1WCAG large text: AAA
Contrast with black, large text2.12:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#038433
Analogous#730384, #840314
Triadic#548403, #035484
Split complementary#148403, #038473
Tetradic#847303, #038433, #031484
Tints, shades & saturation
Channel breakdown
R132
G3
B84
Red132 (51.8%)
Green3 (1.2%)
Blue84 (32.9%)
Hue322.33°
Saturation (HSL)95.56%
Lightness26.47%
Dominant channelRed
Hex per channelR 84 · G 03 · B 54
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