Recognised as Number
505,840
- Positive
- Even
- Composite
- 6 digits
505,840 is an even 6-digit integer and a composite number. It has 20 divisors and a digital root of 4.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value505,840
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 factorisation2^4 × 5 × 6,323
Distinct prime factors32, 5, 6,323
Number of divisors20
Sum of divisors σ(n)1,176,264
Aliquot sum670,424sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)202,304integers below n that share no factor with it
Carmichael function λ(n)12,644the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 202,304
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 5, 8, 10, 16, 20, 40, 80, 6,323, 12,646, 25,292, 31,615, 50,584, 63,230, 101,168, 126,460, 252,920, 505,84020 in total
Arithmetic
Representations
Decimal505,840
Binary111101101111111000019 bits
Octal1733760
Hexadecimal7B7F0
Base 36AUB4
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfive hundred and five thousand, eight hundred and forty
Ordinalfive hundred and five thousand, eight hundred and fortieth
Scientific notation5.0584 × 10^5
Engineering notation505.84 × 10^3
In other bases
Ternary221200212211base 3; the most digit-efficient integer base after e: 12 digits
Quinary112141330base 5; one hand: 9 digits
Septenary4204516base 7: 7 digits
Nonary850784base 9; each digit is two ternary digits: 6 digits
Duodecimal204894base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal334c0base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal2:20:30:40base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary100TT010T0T11digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110001100100000110000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001111011011111110000
Bit length19 bitsto write the magnitude
Set bits13the population count, or Hamming weight
Zero bits6within that length
Bit parityodd13 set bits, so odd; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 44 trailing zeros
Power of twoNo
Bytes307 b7 f0
Gray code1000110110000001000n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001111011011111110000
64-bit0000000000000000000000000000000000000000000001111011011111110000
One's complement11111111111110000100100000001111at 32 bits, every bit flipped
Bits reversed00001111111011011110000000000000at 32 bits
Rotated left by 100000000000011110110111111100000at 32 bits, wrapping
Shifted left by 111110110111111100000= 1,011,680, no wrap
Shifted right by 1111101101111111000= 252,920, discarding the low bit
These bits as a double2.49918166 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
505,840 to the power 2255,874,105,600
505,840 to the power 3129,431,357,576,704,000
505,840 to the power 465,471,557,916,599,951,360,000
505,840 to the power 533,118,132,856,532,919,395,942,400,000
First ten multiples505,840, 1,011,680, 1,517,520, 2,023,360, 2,529,200, 3,035,040, 3,540,880, 4,046,720, 4,552,560, 5,058,400
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4Yes
Divisible by 5Yes
Divisible by 6No, remainder 4
Divisible by 7No, remainder 6
Divisible by 8Yes
Divisible by 9No, remainder 4
Divisible by 10Yes
Divisible by 11No, remainder 5
Divisible by 12No, remainder 4
Divisible by 100No, remainder 40
Collatz (3n + 1) trajectory
Steps to reach 1182the total stopping time
Highest value reached1,080,3762× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps505,840 → 252,920 → 126,460 → 63,230 → 31,615 → 94,846 → 47,423 → 142,270 → 71,135 → 213,406 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage50,584,000%
505,840% as a decimal5,058.4
505,840% of 100505,840
505,840% of 1,0005,058,400
As a fraction of 100505,840/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 505,840
Also reads as
#505840 (colour)
- #505840
- Green
- Dark
- Nearest: Dim grey
#505840 is a green with RGB values 80, 88, 64 and HSL 80°, 16%, 30%. It is a dark colour, so white text on it reaches 7.5:1 contrast (AAA for normal text). The nearest named colour is Dim grey.
Colour values
#505840#505840
HEX#505840
RGBrgb(80, 88, 64)
RGB (0–1)0.3137, 0.3451, 0.251
RGB percentages31.4%, 34.5%, 25.1%
HSLhsl(80, 15.8%, 29.8%)
HSV / HSBhsv(80, 27.3%, 34.5%)
CMYK9.1%, 0%, 27.3%, 65.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,265,472
CSS custom property--colour: #505840;
Brightness & contrast
Relative luminance0.09055WCAG 2.x, 0 is black and 1 is white
Perceived brightness83.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.47:1
Contrast with white7.47:1WCAG normal text: AAA
Contrast with black2.81:1WCAG normal text: Fail
Greyscale equivalent#555555
Inverted#AFA7BF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text7.47:1WCAG large text: AAA
Contrast with black, large text2.81:1WCAG large text: Fail
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#484058
Analogous#585440, #445840
Triadic#405058, #584050
Split complementary#404458, #544058
Tetradic#405854, #484058, #584044
Tints, shades & saturation
Channel breakdown
R80
G88
B64
Red80 (31.4%)
Green88 (34.5%)
Blue64 (25.1%)
Hue80°
Saturation (HSL)15.79%
Lightness29.8%
Dominant channelGreen
Hex per channelR 50 · G 58 · B 40
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