Recognised as Number
840,505
- Positive
- Odd
- Composite
- 6 digits
840,505 is an odd 6-digit integer and a composite number. It has 8 divisors and a digital root of 4.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value840,505
Digit count6
Digit sum22
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root4repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation5 × 97 × 1,733
Distinct prime factors35, 97, 1,733
Number of divisors8
Sum of divisors σ(n)1,019,592
Aliquot sum179,087sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)665,088integers below n that share no factor with it
Carmichael function λ(n)41,568the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 665,088
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 5, 97, 485, 1,733, 8,665, 168,101, 840,5058 in total
Arithmetic
Representations
Decimal840,505
Binary1100110100110011100120 bits
Octal3151471
HexadecimalCD339
Base 36I0JD
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand, five hundred and five
Ordinaleight hundred and forty thousand, five hundred and fifth
Scientific notation8.40505 × 10^5
Engineering notation840.505 × 10^3
In other bases
Ternary1120200221211base 3; the most digit-efficient integer base after e: 13 digits
Quinary203344010base 5; one hand: 9 digits
Septenary10100311base 7: 8 digits
Nonary1520854base 9; each digit is two ternary digits: 7 digits
Duodecimal3464a1base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal55155base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:53:28:25base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T0100TT11digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011101011101001001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011001101001100111001
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 odd
Highest set bitbit 19worth 524,288
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes30c d3 39
Gray code10101011101010100101n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011001101001100111001
64-bit0000000000000000000000000000000000000000000011001101001100111001
One's complement11111111111100110010110011000110at 32 bits, every bit flipped
Bits reversed10011100110010110011000000000000at 32 bits
Rotated left by 100000000000110011010011001110010at 32 bits, wrapping
Shifted left by 1110011010011001110010= 1,681,010, no wrap
Shifted right by 11100110100110011100= 420,252, discarding the low bit
These bits as a double4.15264646 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
840,505 to the power 2706,448,655,025
840,505 to the power 3593,773,626,791,787,625
840,505 to the power 4499,069,702,186,631,457,750,625
840,505 to the power 5419,470,580,036,374,673,396,689,065,625
First ten multiples840,505, 1,681,010, 2,521,515, 3,362,020, 4,202,525, 5,043,030, 5,883,535, 6,724,040, 7,564,545, 8,405,050
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 1
Divisible by 5Yes
Divisible by 6No, remainder 1
Divisible by 7No, remainder 1
Divisible by 8No, remainder 1
Divisible by 9No, remainder 4
Divisible by 10No, remainder 5
Divisible by 11No, remainder 6
Divisible by 12No, remainder 1
Divisible by 100No, remainder 5
Collatz (3n + 1) trajectory
Steps to reach 1113the total stopping time
Highest value reached2,836,7083× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,505 → 2,521,516 → 1,260,758 → 630,379 → 1,891,138 → 945,569 → 2,836,708 → 1,418,354 → 709,177 → 2,127,532 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage84,050,500%
840,505% as a decimal8,405.05
840,505% of 100840,505
840,505% of 1,0008,405,050
As a fraction of 100840,505/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,505
Also reads as
#840505 (colour)
- #840505
- Red
- Dark
- Nearest: Maroon
#840505 is a red with RGB values 132, 5, 5 and HSL 0°, 93%, 27%. It is a dark colour, so white text on it reaches 10.5:1 contrast (AAA for normal text). The nearest named colour is Maroon.
Colour values
#840505#840505
HEX#840505
RGBrgb(132, 5, 5)
RGB (0–1)0.5176, 0.0196, 0.0196
RGB percentages51.8%, 2%, 2%
HSLhsl(0, 92.7%, 26.9%)
HSV / HSBhsv(0, 96.2%, 51.8%)
CMYK0%, 96.2%, 96.2%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,652,037
CSS custom property--colour: #840505;
Brightness & contrast
Relative luminance0.05025WCAG 2.x, 0 is black and 1 is white
Perceived brightness72.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.47:1
Contrast with white10.47:1WCAG normal text: AAA
Contrast with black2.01:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#7BFAFA
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.47:1WCAG large text: AAA
Contrast with black, large text2.01:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#058484
Analogous#840545, #844505
Triadic#058405, #050584
Split complementary#058445, #054584
Tetradic#458405, #058484, #450584
Tints, shades & saturation
Channel breakdown
R132
G5
B5
Red132 (51.8%)
Green5 (2%)
Blue5 (2%)
Hue0°
Saturation (HSL)92.7%
Lightness26.86%
Dominant channelRed
Hex per channelR 84 · G 05 · B 05
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page