Recognised as Number
317
- Positive
- Odd
- Prime
- 3 digits
317 is an odd 3-digit integer and a prime number. It has 2 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value317
Digit count3
Digit sum11
Digit product21
Multiplicative persistence2times 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 numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation317
Distinct prime factors1317
Number of divisors2
Sum of divisors σ(n)318
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)316integers below n that share no factor with it
Carmichael function λ(n)316the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)−11 distinct prime factor, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 3172 in total
Arithmetic
Representations
Decimal317
Binary1001111019 bits
Octal475
Hexadecimal13D
Base 368T
Roman numeralCCCXVII
In wordsthree hundred and seventeen
Ordinalthree hundred and seventeenth
Scientific notation3.17 × 10^2
Engineering notation317
In other bases
Ternary102202base 3; the most digit-efficient integer base after e: 6 digits
Quinary2232base 5; one hand: 4 digits
Septenary632base 7: 3 digits
Nonary382base 9; each digit is two ternary digits: 3 digits
Duodecimal225base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 3 digits
Vigesimalfhbase 20; hands and feet, and the Mayan and Yoruba systems: 2 digits
Sexagesimal5:17base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary110T1Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary101001101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
0000000100111101
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 3d
Gray code110100011n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
16-bit0000000100111101
32-bit00000000000000000000000100111101
64-bit0000000000000000000000000000000000000000000000000000000100111101
One's complement1111111011000010at 16 bits, every bit flipped
Bits reversed1011110010000000at 16 bits
Rotated left by 10000001001111010at 16 bits, wrapping
Shifted left by 11001111010= 634, no wrap
Shifted right by 110011110= 158, discarding the low bit
These bits as a double1.5661881 × 10^-321≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
317 to the power 2100,489
317 to the power 331,855,013
317 to the power 410,098,039,121
317 to the power 53,201,078,401,357
First ten multiples317, 634, 951, 1,268, 1,585, 1,902, 2,219, 2,536, 2,853, 3,170
Powers of twoBetween 2^8 (256) and 2^9 (512)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 5
Divisible by 7No, remainder 2
Divisible by 8No, remainder 5
Divisible by 9No, remainder 2
Divisible by 10No, remainder 7
Divisible by 11No, remainder 9
Divisible by 12No, remainder 5
Divisible by 100No, remainder 17
Collatz (3n + 1) trajectory
Steps to reach 137the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps317 → 952 → 476 → 238 → 119 → 358 → 179 → 538 → 269 → 808 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage31,700%
317% as a decimal3.17
317% of 100317
317% of 1,0003,170
As a fraction of 100317/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 317
Other readings
Also reads as
#331177 (colour)
- #331177
- Violet
- Dark
- Nearest: Midnight blue
#331177 is a violet with RGB values 51, 17, 119 and HSL 260°, 75%, 27%. It is a dark colour, so white text on it reaches 14.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#331177#331177
HEX#331177
HEX (short)#317
RGBrgb(51, 17, 119)
RGB (0–1)0.2, 0.0667, 0.4667
RGB percentages20%, 6.7%, 46.7%
HSLhsl(260, 75%, 26.7%)
HSV / HSBhsv(260, 85.7%, 46.7%)
CMYK57.1%, 85.7%, 0%, 53.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,346,807
CSS custom property--colour: #331177;
Brightness & contrast
Relative luminance0.02437WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.12:1
Contrast with white14.12:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#CCEE88
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.12:1WCAG large text: AAA
Contrast with black, large text1.49:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#557711
Analogous#112277, #661177
Triadic#773311, #117733
Split complementary#776611, #227711
Tetradic#771122, #557711, #117766
Tints, shades & saturation
Channel breakdown
R51
G17
B119
Red51 (20%)
Green17 (6.7%)
Blue119 (46.7%)
Hue260°
Saturation (HSL)75%
Lightness26.67%
Dominant channelBlue
Hex per channelR 33 · G 11 · B 77
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