Nerdulator> put something in

Number

318

  • Positive
  • Even
  • Composite
  • 3 digits

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

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value318
Digit count3
Digit sum12
Digital root3repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation2 × 3 × 53
Distinct prime factors32, 3, 53
Number of divisors8
Sum of divisors σ(n)648
Aliquot sum330sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)104integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 53, 106, 159, 3188 in total

Arithmetic

Previous number317
Next number319
Double636
Half159
Square101,124
Square root17.8325545irrational, shown to 9 decimal places
Cube root6.825624197
Negation-318
Reciprocal0.0031446541
318 factorial2072985253937355488788907759676361545728… (660 digits)

Representations

Decimal318
Binary1001111109 bits
Octal476
Hexadecimal13E
Base 368U
Roman numeralCCCXVIII
In wordsthree hundred and eighteen
Ordinalthree hundred and eighteenth
Scientific notation3.18 × 10^2
Engineering notation318

Nearest landmarks

Next prime331+13
Previous prime317−1
Distance to nearest prime1
Nearest square below289
Nearest square above324

Powers & multiples

318 to the power 2101,124
318 to the power 332,157,432
318 to the power 410,226,063,376
318 to the power 53,251,888,153,568
First ten multiples318, 636, 954, 1,272, 1,590, 1,908, 2,226, 2,544, 2,862, 3,180
Powers of twoBetween 2^8 (256) and 2^9 (512)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 155the total stopping time
Highest value reached9,23229× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps318 → 159 → 478 → 239 → 718 → 359 → 1,078 → 539 → 1,618 → 809 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage31,800%
318% as a decimal3.18
318% of 100318
318% of 1,0003,180
As a fraction of 100318/100

Read another way

As bytes318 B
As a 24-bit colour#00013E

Keep nerding

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

Also reads as

#331188 (colour)

  • #331188
  • Violet
  • Dark
  • Nearest: Indigo

#331188 is a violet with RGB values 51, 17, 136 and HSL 257°, 78%, 30%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.

Open this reading on its own page →

Colour values

#331188#331188
HEX#331188
HEX (short)#318
RGBrgb(51, 17, 136)
RGB (0–1)0.2, 0.0667, 0.5333
RGB percentages20%, 6.7%, 53.3%
HSLhsl(257.1, 77.8%, 30%)
HSV / HSBhsv(257.1, 87.5%, 53.3%)
CMYK62.5%, 87.5%, 0%, 46.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer3,346,824
CSS custom property--colour: #331188;

Brightness & contrast

Relative luminance0.02882WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.32:1
Contrast with white13.32:1WCAG normal text: AAA
Contrast with black1.58:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#CCEE77

Colour vision & accessibility

Protanopia#00338Bno red cones; affects about 1% of men; ΔE 24.1 from the original
Deuteranopia#002C86no green cones; the most common form, about 1% of men; ΔE 20.8 from the original
Tritanopia#00384Fno blue cones; rare, and affects men and women equally; ΔE 66.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.32:1WCAG large text: AAA
Contrast with black, large text1.58:1WCAG large text: Fail

Named colours

Nearest named CSS colourIndigo (#4B0082)ΔE 7.97, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#668811
Analogous#112B88, #6E1188
Triadic#883311, #118833
Split complementary#886E11, #2B8811
Tetradic#88112B, #668811, #11886E

Tints, shades & saturation

Lighter +40%#9977EE
Lighter +30%#774AE8
Lighter +20%#551CE3
Lighter +10%#4417B5
Darker −10%#220B5B
Darker −20%#11062D
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2C0099
Less saturated −25%#3B2475

Channel breakdown

R51
G17
B136
Red51 (20%)
Green17 (6.7%)
Blue136 (53.3%)
Hue257.14°
Saturation (HSL)77.78%
Lightness30%
Dominant channelBlue
Hex per channelR 33 · G 11 · B 88

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 “318” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.