Nerdulator> put something in

Recognised as Number

315

  • Positive
  • Odd
  • Composite
  • 3 digits

315 is an odd 3-digit integer and a composite number. It has 12 divisors and a digital root of 9.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value315
Digit count3
Digit sum9
Digit product15
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root9repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum

Factors & divisors

Prime factorisation3^2 × 5 × 7
Distinct prime factors33, 5, 7
Number of divisors12
Sum of divisors σ(n)624
Aliquot sum309sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)144integers below n that share no factor with it
Carmichael function λ(n)12the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 144
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 5, 7, 9, 15, 21, 35, 45, 63, 105, 31512 in total

Arithmetic

Previous number314
Next number316
Double630
Half157.5
Square99,225
Square root17.748239349irrational, shown to 9 decimal places
Cube root6.804092116
Negation-315
Reciprocal0.0031746032
315 factorial6507628432358467614284900912808464867246… (652 digits)

Representations

Decimal315
Binary1001110119 bits
Octal473
Hexadecimal13B
Base 368R
Roman numeralCCCXV
In wordsthree hundred and fifteen
Ordinalthree hundred and fifteenth
Scientific notation3.15 × 10^2
Engineering notation315

In other bases

Ternary102200base 3; the most digit-efficient integer base after e: 6 digits
Quinary2230base 5; one hand: 4 digits
Septenary630base 7: 3 digits
Nonary380base 9; each digit is two ternary digits: 3 digits
Duodecimal223base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 3 digits
Vigesimalffbase 20; hands and feet, and the Mayan and Yoruba systems: 2 digits
Sexagesimal5:15base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary110T00digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary101001111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

0000000100111011
Bit length9 bitsto write the magnitude
Set bits6the population count, or Hamming weight
Zero bits3within that length
Bit parityeven6 set bits, so even; not the same as the number itself being odd
Highest set bitbit 8worth 256
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes201 3b
Gray code110100110n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit0000000100111011
32-bit00000000000000000000000100111011
64-bit0000000000000000000000000000000000000000000000000000000100111011
One's complement1111111011000100at 16 bits, every bit flipped
Bits reversed1101110010000000at 16 bits
Rotated left by 10000001001110110at 16 bits, wrapping
Shifted left by 11001110110= 630, no wrap
Shifted right by 110011101= 157, discarding the low bit
These bits as a double1.55630678 × 10^-321IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime317+2
Previous prime313−2
Distance to nearest prime2
Nearest square below289
Nearest square above324

Powers & multiples

315 to the power 299,225
315 to the power 331,255,875
315 to the power 49,845,600,625
315 to the power 53,101,364,196,875
First ten multiples315, 630, 945, 1,260, 1,575, 1,890, 2,205, 2,520, 2,835, 3,150
Powers of twoBetween 2^8 (256) and 2^9 (512)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 137the total stopping time
Highest value reached1,6005× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps315 → 946 → 473 → 1,420 → 710 → 355 → 1,066 → 533 → 1,600 → 800 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage31,500%
315% as a decimal3.15
315% of 100315
315% of 1,0003,150
As a fraction of 100315/100

Read another way

As bytes315 B
As a 24-bit colour#00013B

Keep nerding

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

Also reads as

#331155 (colour)

  • #331155
  • Violet
  • Dark
  • Nearest: Midnight blue

#331155 is a violet with RGB values 51, 17, 85 and HSL 270°, 67%, 20%. It is a dark colour, so white text on it reaches 15.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#331155#331155
HEX#331155
HEX (short)#315
RGBrgb(51, 17, 85)
RGB (0–1)0.2, 0.0667, 0.3333
RGB percentages20%, 6.7%, 33.3%
HSLhsl(270, 66.7%, 20%)
HSV / HSBhsv(270, 80%, 33.3%)
CMYK40%, 80%, 0%, 66.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer3,346,773
CSS custom property--colour: #331155;

Brightness & contrast

Relative luminance0.01761WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.53:1
Contrast with white15.53:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#CCEEAA

Colour vision & accessibility

Protanopia#002357no red cones; affects about 1% of men; ΔE 19.6 from the original
Deuteranopia#002454no green cones; the most common form, about 1% of men; ΔE 21.9 from the original
Tritanopia#2C2232no blue cones; rare, and affects men and women equally; ΔE 34.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.53:1WCAG large text: AAA
Contrast with black, large text1.35:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 15.35, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#335511
Analogous#111155, #551155
Triadic#553311, #115533
Split complementary#555511, #115511
Tetradic#551111, #335511, #115555

Tints, shades & saturation

Lighter +40%#9955DD
Lighter +30%#802AD5
Lighter +20%#6622AA
Lighter +10%#4D1980
Darker −10%#1A092B
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#330462
Less saturated −25%#331E48

Channel breakdown

R51
G17
B85
Red51 (20%)
Green17 (6.7%)
Blue85 (33.3%)
Hue270°
Saturation (HSL)66.67%
Lightness20%
Dominant channelBlue
Hex per channelR 33 · G 11 · B 55

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