Nerdulator> put something in

Recognised as Number

506

  • Positive
  • Even
  • Composite
  • 3 digits

506 is an even 3-digit integer and a composite number. It has 8 divisors and a digital root of 2.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value506
Digit count3
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 numberYesdivisible by its own digit sum

Factors & divisors

Prime factorisation2 × 11 × 23
Distinct prime factors32, 11, 23
Number of divisors8
Sum of divisors σ(n)864
Aliquot sum358sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)220integers below n that share no factor with it
Carmichael function λ(n)110the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 220
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 11, 22, 23, 46, 253, 5068 in total

Arithmetic

Previous number505
Next number507
Double1,012
Half253
Square256,036
Square root22.494443758irrational, shown to 9 decimal places
Cube root7.968627129
Negation-506
Reciprocal0.0019762846
506 factorial1987881054122551703708558627324486246868… (1,151 digits)

Representations

Decimal506
Binary1111110109 bits
Octal772
Hexadecimal1FA
Base 36E2
Roman numeralDVI
In wordsfive hundred and six
Ordinalfive hundred and sixth
Scientific notation5.06 × 10^2
Engineering notation506

In other bases

Ternary200202base 3; the most digit-efficient integer base after e: 6 digits
Quinary4011base 5; one hand: 4 digits
Septenary1322base 7: 4 digits
Nonary622base 9; each digit is two ternary digits: 3 digits
Duodecimal362base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 3 digits
Vigesimal156base 20; hands and feet, and the Mayan and Yoruba systems: 3 digits
Sexagesimal8:26base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary1T01T1Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary11000001110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

0000000111111010
Bit length9 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits2within that length
Bit parityodd7 set bits, so odd; not the same as the number itself being even
Highest set bitbit 8worth 256
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes201 fa
Gray code100000111n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit0000000111111010
32-bit00000000000000000000000111111010
64-bit0000000000000000000000000000000000000000000000000000000111111010
One's complement1111111000000101at 16 bits, every bit flipped
Bits reversed0101111110000000at 16 bits
Rotated left by 10000001111110100at 16 bits, wrapping
Shifted left by 11111110100= 1,012, no wrap
Shifted right by 111111101= 253, discarding the low bit
These bits as a double2.49997217 × 10^-321IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime509+3
Previous prime503−3
Distance to nearest prime3
Nearest square below484
Nearest square above529

Powers & multiples

506 to the power 2256,036
506 to the power 3129,554,216
506 to the power 465,554,433,296
506 to the power 533,170,543,247,776
First ten multiples506, 1,012, 1,518, 2,024, 2,530, 3,036, 3,542, 4,048, 4,554, 5,060
Powers of twoBetween 2^8 (256) and 2^9 (512)

Divisibility tests

Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4No, remainder 2
Divisible by 5No, remainder 1
Divisible by 6No, remainder 2
Divisible by 7No, remainder 2
Divisible by 8No, remainder 2
Divisible by 9No, remainder 2
Divisible by 10No, remainder 6
Divisible by 11Yes
Divisible by 12No, remainder 2
Divisible by 100No, remainder 6

Collatz (3n + 1) trajectory

Steps to reach 1110the total stopping time
Highest value reached9,23218× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps506 → 253 → 760 → 380 → 190 → 95 → 286 → 143 → 430 → 215 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage50,600%
506% as a decimal5.06
506% of 100506
506% of 1,0005,060
As a fraction of 100506/100

Read another way

As bytes506 B
As a 24-bit colour#0001FA

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Also reads as

#550066 (colour)

  • #550066
  • Magenta
  • Dark
  • Nearest: Purple

#550066 is a magenta with RGB values 85, 0, 102 and HSL 290°, 100%, 20%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Purple.

Open this reading on its own page →

Colour values

#550066#550066
HEX#550066
HEX (short)#506
RGBrgb(85, 0, 102)
RGB (0–1)0.3333, 0, 0.4
RGB percentages33.3%, 0%, 40%
HSLhsl(290, 100%, 20%)
HSV / HSBhsv(290, 100%, 40%)
CMYK16.7%, 100%, 0%, 60%naive device-independent conversion; real print needs an ICC profile
24-bit integer5,570,662
CSS custom property--colour: #550066;

Brightness & contrast

Relative luminance0.02891WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.31:1
Contrast with white13.31:1WCAG normal text: AAA
Contrast with black1.58:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#AAFF99

Colour vision & accessibility

Protanopia#002A68no red cones; affects about 1% of men; ΔE 33 from the original
Deuteranopia#0A3264no green cones; the most common form, about 1% of men; ΔE 39.8 from the original
Tritanopia#551D39no blue cones; rare, and affects men and women equally; ΔE 36.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.31:1WCAG large text: AAA
Contrast with black, large text1.58:1WCAG large text: Fail

Named colours

Nearest named CSS colourPurple (#800080)ΔE 15.52, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#116600
Analogous#220066, #660044
Triadic#665500, #006655
Split complementary#446600, #006622
Tetradic#662200, #116600, #004466

Tints, shades & saturation

Lighter +40%#DD33FF
Lighter +30%#D400FF
Lighter +20%#AA00CC
Lighter +10%#7F0099
Darker −10%#2A0033
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#550066
Less saturated −25%#4C0D59

Channel breakdown

R85
G0
B102
Red85 (33.3%)
Green0 (0%)
Blue102 (40%)
Hue290°
Saturation (HSL)100%
Lightness20%
Dominant channelBlue
Hex per channelR 55 · G 00 · B 66

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Also reads as

HTTP 506 Variant Also Negotiates (http status)

  • 506 Variant Also Negotiates
  • Server error
  • RFC 2295

HTTP 506 Variant Also Negotiates is a server error response: content negotiation is misconfigured and loops. It is defined in RFC 2295, and the server failed to fulfil an apparently valid request.

Open this reading on its own page →

What it means

Status code506
Reason phraseVariant Also Negotiatesadvisory only; clients must not depend on the wording
Class5xx Server error
MeaningContent negotiation is misconfigured and loops
Defined inRFC 2295
Cacheable by defaultNoonly cacheable if the response says so explicitly

How clients behave

Indicates an errorYes
Whose faultThe server
Body expectedUsually
Safe to retry automaticallyNo

The 5xx class

Class meaningThe server failed to fulfil an apparently valid request
Codes in this class11
Lowest in class500
Highest in class511

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

Every value on this page was computed from “506” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.