Number
313
- Positive
- Odd
- Prime
- 3 digits
313 is an odd 3-digit integer and a prime number. It has 2 divisors and a digital root of 7.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value313
Digit count3
Digit sum7
Digital root7repeated digit sum
PalindromicYesreads the same backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation313
Distinct prime factors1313
Number of divisors2
Sum of divisors σ(n)314
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)312integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 3132 in total
Arithmetic
Representations
Decimal313
Binary1001110019 bits
Octal471
Hexadecimal139
Base 368P
Roman numeralCCCXIII
In wordsthree hundred and thirteen
Ordinalthree hundred and thirteenth
Scientific notation3.13 × 10^2
Engineering notation313
Nearest landmarks
Powers & multiples
313 to the power 297,969
313 to the power 330,664,297
313 to the power 49,597,924,961
313 to the power 53,004,150,512,793
First ten multiples313, 626, 939, 1,252, 1,565, 1,878, 2,191, 2,504, 2,817, 3,130
Powers of twoBetween 2^8 (256) and 2^9 (512)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 1
Divisible by 5No, remainder 3
Divisible by 6No, remainder 1
Divisible by 7No, remainder 5
Divisible by 8No, remainder 1
Divisible by 9No, remainder 7
Divisible by 10No, remainder 3
Divisible by 11No, remainder 5
Divisible by 12No, remainder 1
Divisible by 100No, remainder 13
Collatz (3n + 1) trajectory
Steps to reach 1130the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps313 → 940 → 470 → 235 → 706 → 353 → 1,060 → 530 → 265 → 796 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage31,300%
313% as a decimal3.13
313% of 100313
313% of 1,0003,130
As a fraction of 100313/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 313
Other readings
Also reads as
#331133 (colour)
- #331133
- Magenta
- Dark
- Nearest: Black
#331133 is a magenta with RGB values 51, 17, 51 and HSL 300°, 50%, 13%. It is a dark colour, so white text on it reaches 16.6:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#331133#331133
HEX#331133
HEX (short)#313
RGBrgb(51, 17, 51)
RGB (0–1)0.2, 0.0667, 0.2
RGB percentages20%, 6.7%, 20%
HSLhsl(300, 50%, 13.3%)
HSV / HSBhsv(300, 66.7%, 20%)
CMYK0%, 66.7%, 0%, 80%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,346,739
CSS custom property--colour: #331133;
Brightness & contrast
Relative luminance0.01344WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.55:1
Contrast with white16.55:1WCAG normal text: AAA
Contrast with black1.27:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#CCEECC
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.55:1WCAG large text: AAA
Contrast with black, large text1.27:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#113311
Analogous#221133, #331122
Triadic#333311, #113333
Split complementary#223311, #113322
Tetradic#332211, #113311, #112233
Tints, shades & saturation
Channel breakdown
R51
G17
B51
Red51 (20%)
Green17 (6.7%)
Blue51 (20%)
Hue300°
Saturation (HSL)50%
Lightness13.33%
Dominant channelRed and Blue
Hex per channelR 33 · G 11 · B 33
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