Recognised as Number
318,331
- Positive
- Odd
- Composite
- 6 digits
318,331 is an odd 6-digit integer and a composite number. It has 8 divisors and a digital root of 1.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value318,331
Digit count6
Digit sum19
Digit product216
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation13 × 47 × 521
Distinct prime factors313, 47, 521
Number of divisors8
Sum of divisors σ(n)350,784
Aliquot sum32,453sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)287,040integers below n that share no factor with it
Carmichael function λ(n)35,880the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 287,040
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 13, 47, 521, 611, 6,773, 24,487, 318,3318 in total
Arithmetic
Representations
Decimal318,331
Binary100110110110111101119 bits
Octal1155573
Hexadecimal4DB7B
Base 366TMJ
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and eighteen thousand, three hundred and thirty-one
Ordinalthree hundred and eighteen thousand, three hundred and thirty-first
Scientific notation3.18331 × 10^5
Engineering notation318.331 × 10^3
In other bases
Ternary121011200001base 3; the most digit-efficient integer base after e: 12 digits
Quinary40141311base 5; one hand: 8 digits
Septenary2464036base 7: 7 digits
Nonary534601base 9; each digit is two ternary digits: 6 digits
Duodecimal134277base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal1jfgbbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:28:25:31base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TT11TTT00001digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010010110010001111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001001101101101111011
Bit length19 bitsto write the magnitude
Set bits13the population count, or Hamming weight
Zero bits6within that length
Bit parityodd13 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes304 db 7b
Gray code1101011011011000110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001001101101101111011
64-bit0000000000000000000000000000000000000000000001001101101101111011
One's complement11111111111110110010010010000100at 32 bits, every bit flipped
Bits reversed11011110110110110010000000000000at 32 bits
Rotated left by 100000000000010011011011011110110at 32 bits, wrapping
Shifted left by 110011011011011110110= 636,662, no wrap
Shifted right by 1100110110110111101= 159,165, discarding the low bit
These bits as a double1.57276411 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
318,331 to the power 2101,334,625,561
318,331 to the power 332,257,952,689,458,691
318,331 to the power 410,268,706,337,588,074,564,721
318,331 to the power 53,268,847,557,150,749,364,262,200,651
First ten multiples318,331, 636,662, 954,993, 1,273,324, 1,591,655, 1,909,986, 2,228,317, 2,546,648, 2,864,979, 3,183,310
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 3
Divisible by 5No, remainder 1
Divisible by 6No, remainder 1
Divisible by 7No, remainder 6
Divisible by 8No, remainder 3
Divisible by 9No, remainder 1
Divisible by 10No, remainder 1
Divisible by 11No, remainder 2
Divisible by 12No, remainder 7
Divisible by 100No, remainder 31
Collatz (3n + 1) trajectory
Steps to reach 1122the total stopping time
Highest value reached2,039,6326× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps318,331 → 954,994 → 477,497 → 1,432,492 → 716,246 → 358,123 → 1,074,370 → 537,185 → 1,611,556 → 805,778 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage31,833,100%
318,331% as a decimal3,183.31
318,331% of 100318,331
318,331% of 1,0003,183,310
As a fraction of 100318,331/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 318,331
Also reads as
#318331 (colour)
- #318331
- Green
- Dark
- Nearest: Forest green
#318331 is a green with RGB values 49, 131, 49 and HSL 120°, 46%, 35%. It is a dark colour, so white text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Forest green.
Colour values
#318331#318331
HEX#318331
RGBrgb(49, 131, 49)
RGB (0–1)0.1922, 0.5137, 0.1922
RGB percentages19.2%, 51.4%, 19.2%
HSLhsl(120, 45.6%, 35.3%)
HSV / HSBhsv(120, 62.6%, 51.4%)
CMYK62.6%, 0%, 62.6%, 48.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,244,849
CSS custom property--colour: #318331;
Brightness & contrast
Relative luminance0.17107WCAG 2.x, 0 is black and 1 is white
Perceived brightness105.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.75:1
Contrast with white4.75:1WCAG normal text: AA
Contrast with black4.42:1WCAG normal text: Fail
Greyscale equivalent#6C6C6C
Inverted#CE7CCE
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.75:1WCAG large text: AAA
Contrast with black, large text4.42:1WCAG large text: AA
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#833183
Analogous#5A8331, #31835A
Triadic#313183, #833131
Split complementary#5A3183, #83315A
Tetradic#315A83, #833183, #835A31
Tints, shades & saturation
Channel breakdown
R49
G131
B49
Red49 (19.2%)
Green131 (51.4%)
Blue49 (19.2%)
Hue120°
Saturation (HSL)45.56%
Lightness35.29%
Dominant channelGreen
Hex per channelR 31 · G 83 · B 31
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