Recognised as Number
520
- Positive
- Even
- Composite
- 3 digits
520 is an even 3-digit integer and a composite number. It has 16 divisors and a digital root of 7.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value520
Digit count3
Digit sum7
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root7repeated 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
Distinct prime factors32, 5, 13
Number of divisors16
Sum of divisors σ(n)1,260
Aliquot sum740sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)192integers below n that share no factor with it
Carmichael function λ(n)12the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 192
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 5, 8, 10, 13, 20, 26, 40, 52, 65, 104, 130, 260, 52016 in total
Arithmetic
Representations
Decimal520
Binary100000100010 bits
Octal1010
Hexadecimal208
Base 36EG
Roman numeralDXX
In wordsfive hundred and twenty
Ordinalfive hundred and twentieth
Scientific notation5.2 × 10^2
Engineering notation520
In other bases
Ternary201021base 3; the most digit-efficient integer base after e: 6 digits
Quinary4040base 5; one hand: 4 digits
Septenary1342base 7: 4 digits
Nonary637base 9; each digit is two ternary digits: 3 digits
Duodecimal374base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 3 digits
Vigesimal160base 20; hands and feet, and the Mayan and Yoruba systems: 3 digits
Sexagesimal8:40base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary1T011T1digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary11000011000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
0000001000001000
Bit length10 bitsto write the magnitude
Set bits2the population count, or Hamming weight
Zero bits8within that length
Bit parityeven2 set bits, so even; not the same as the number itself being even
Highest set bitbit 9worth 512
Lowest set bitbit 33 trailing zeros
Power of twoNo
Bytes202 08
Gray code1100001100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
16-bit0000001000001000
32-bit00000000000000000000001000001000
64-bit0000000000000000000000000000000000000000000000000000001000001000
One's complement1111110111110111at 16 bits, every bit flipped
Bits reversed0001000001000000at 16 bits
Rotated left by 10000010000010000at 16 bits, wrapping
Shifted left by 110000010000= 1,040, no wrap
Shifted right by 1100000100= 260, discarding the low bit
These bits as a double2.56914136 × 10^-321≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
520 to the power 2270,400
520 to the power 3140,608,000
520 to the power 473,116,160,000
520 to the power 538,020,403,200,000
First ten multiples520, 1,040, 1,560, 2,080, 2,600, 3,120, 3,640, 4,160, 4,680, 5,200
Powers of twoBetween 2^9 (512) and 2^10 (1,024)
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 2
Divisible by 8Yes
Divisible by 9No, remainder 7
Divisible by 10Yes
Divisible by 11No, remainder 3
Divisible by 12No, remainder 4
Divisible by 100No, remainder 20
Collatz (3n + 1) trajectory
Steps to reach 130the total stopping time
Highest value reached520
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps520 → 260 → 130 → 65 → 196 → 98 → 49 → 148 → 74 → 37 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage52,000%
520% as a decimal5.2
520% of 100520
520% of 1,0005,200
As a fraction of 100520/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
Other readings
Also reads as
#552200 (colour)
- #552200
- Orange
- Dark
- Nearest: Saddle brown
#552200 is a orange with RGB values 85, 34, 0 and HSL 24°, 100%, 17%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Saddle brown.
Colour values
#552200#552200
HEX#552200
HEX (short)#520
RGBrgb(85, 34, 0)
RGB (0–1)0.3333, 0.1333, 0
RGB percentages33.3%, 13.3%, 0%
HSLhsl(24, 100%, 16.7%)
HSV / HSBhsv(24, 100%, 33.3%)
CMYK0%, 60%, 100%, 66.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,579,264
CSS custom property--colour: #552200;
Brightness & contrast
Relative luminance0.03075WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13:1
Contrast with white13:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#AADDFF
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail
Named colours
Hue familyorange
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#003355
Analogous#550008, #554C00
Triadic#005522, #220055
Split complementary#00554C, #000955
Tetradic#095500, #003355, #4D0055
Tints, shades & saturation
Channel breakdown
R85
G34
B0
Red85 (33.3%)
Green34 (13.3%)
Blue0 (0%)
Hue24°
Saturation (HSL)100%
Lightness16.67%
Dominant channelRed
Hex per channelR 55 · G 22 · B 00
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