Recognised as Number
520,040
- Positive
- Even
- Composite
- 6 digits
520,040 is an even 6-digit integer and a composite number. It has 16 divisors and a digital root of 2.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value520,040
Digit count6
Digit sum11
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2^3 × 5 × 13,001
Distinct prime factors32, 5, 13,001
Number of divisors16
Sum of divisors σ(n)1,170,180
Aliquot sum650,140sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)208,000integers below n that share no factor with it
Carmichael function λ(n)13,000the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 208,000
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 5, 8, 10, 20, 40, 13,001, 26,002, 52,004, 65,005, 104,008, 130,010, 260,020, 520,04016 in total
Arithmetic
Representations
Decimal520,040
Binary111111011110110100019 bits
Octal1767550
Hexadecimal7EF68
Base 36B59K
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfive hundred and twenty thousand and forty
Ordinalfive hundred and twenty thousand and fortieth
Scientific notation5.2004 × 10^5
Engineering notation520.04 × 10^3
In other bases
Ternary222102100202base 3; the most digit-efficient integer base after e: 12 digits
Quinary113120130base 5; one hand: 9 digits
Septenary4264103base 7: 7 digits
Nonary872322base 9; each digit is two ternary digits: 6 digits
Duodecimal210b48base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal35020base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal2:24:27:20base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary100T11T101T1Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110000011000010111000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001111110111101101000
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 33 trailing zeros
Power of twoNo
Bytes307 ef 68
Gray code1000001100011011100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001111110111101101000
64-bit0000000000000000000000000000000000000000000001111110111101101000
One's complement11111111111110000001000010010111at 32 bits, every bit flipped
Bits reversed00010110111101111110000000000000at 32 bits
Rotated left by 100000000000011111101111011010000at 32 bits, wrapping
Shifted left by 111111101111011010000= 1,040,080, no wrap
Shifted right by 1111111011110110100= 260,020, discarding the low bit
These bits as a double2.56933898 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
520,040 to the power 2270,441,601,600
520,040 to the power 3140,640,450,496,064,000
520,040 to the power 473,138,659,875,973,122,560,000
520,040 to the power 538,035,028,681,901,062,656,102,400,000
First ten multiples520,040, 1,040,080, 1,560,120, 2,080,160, 2,600,200, 3,120,240, 3,640,280, 4,160,320, 4,680,360, 5,200,400
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4Yes
Divisible by 5Yes
Divisible by 6No, remainder 2
Divisible by 7No, remainder 3
Divisible by 8Yes
Divisible by 9No, remainder 2
Divisible by 10Yes
Divisible by 11No, remainder 4
Divisible by 12No, remainder 8
Divisible by 100No, remainder 40
Collatz (3n + 1) trajectory
Steps to reach 1102the total stopping time
Highest value reached520,040
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps520,040 → 260,020 → 130,010 → 65,005 → 195,016 → 97,508 → 48,754 → 24,377 → 73,132 → 36,566 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage52,004,000%
520,040% as a decimal5,200.4
520,040% of 100520,040
520,040% of 1,0005,200,400
As a fraction of 100520,040/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 520,040
Also reads as
#520040 (colour)
- #520040
- Magenta
- Dark
- Nearest: Purple
#520040 is a magenta with RGB values 82, 0, 64 and HSL 313°, 100%, 16%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#520040#520040
HEX#520040
RGBrgb(82, 0, 64)
RGB (0–1)0.3216, 0, 0.251
RGB percentages32.2%, 0%, 25.1%
HSLhsl(313.2, 100%, 16.1%)
HSV / HSBhsv(313.2, 100%, 32.2%)
CMYK0%, 100%, 22%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,374,016
CSS custom property--colour: #520040;
Brightness & contrast
Relative luminance0.02164WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.66:1
Contrast with white14.66:1WCAG normal text: AAA
Contrast with black1.43:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#ADFFBF
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.66:1WCAG large text: AAA
Contrast with black, large text1.43:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#005212
Analogous#3B0052, #520017
Triadic#405200, #004052
Split complementary#175200, #00523B
Tetradic#523B00, #005212, #001752
Tints, shades & saturation
Channel breakdown
R82
G0
B64
Red82 (32.2%)
Green0 (0%)
Blue64 (25.1%)
Hue313.17°
Saturation (HSL)100%
Lightness16.08%
Dominant channelRed
Hex per channelR 52 · G 00 · 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