Recognised as Number
331,018
- Positive
- Even
- Composite
- 6 digits
331,018 is an even 6-digit integer and a composite number. It has 16 divisors and a digital root of 7.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value331,018
Digit count6
Digit sum16
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root7repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 19 × 31 × 281
Distinct prime factors42, 19, 31, 281
Number of divisors16
Sum of divisors σ(n)541,440
Aliquot sum210,422sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)151,200integers below n that share no factor with it
Carmichael function λ(n)2,520the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 151,200
Möbius function μ(n)+14 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 19, 31, 38, 62, 281, 562, 589, 1,178, 5,339, 8,711, 10,678, 17,422, 165,509, 331,01816 in total
Arithmetic
Representations
Decimal331,018
Binary101000011010000101019 bits
Octal1206412
Hexadecimal50D0A
Base 3673EY
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and thirty-one thousand and eighteen
Ordinalthree hundred and thirty-one thousand and eighteenth
Scientific notation3.31018 × 10^5
Engineering notation331.018 × 10^3
In other bases
Ternary121211001221base 3; the most digit-efficient integer base after e: 12 digits
Quinary41043033base 5; one hand: 8 digits
Septenary2546032base 7: 7 digits
Nonary554057base 9; each digit is two ternary digits: 6 digits
Duodecimal13b68abase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal217aibase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:31:56:58base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0TT1101T0T1digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010001110100011110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010000110100001010
Bit length19 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits12within that length
Bit parityodd7 set bits, so odd; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes305 0d 0a
Gray code1111000101110001111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010000110100001010
64-bit0000000000000000000000000000000000000000000001010000110100001010
One's complement11111111111110101111001011110101at 32 bits, every bit flipped
Bits reversed01010000101100001010000000000000at 32 bits
Rotated left by 100000000000010100001101000010100at 32 bits, wrapping
Shifted left by 110100001101000010100= 662,036, no wrap
Shifted right by 1101000011010000101= 165,509, discarding the low bit
These bits as a double1.63544622 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
331,018 to the power 2109,572,916,324
331,018 to the power 336,270,607,615,737,832
331,018 to the power 412,006,223,991,746,305,672,976
331,018 to the power 53,974,276,253,299,878,611,257,169,568
First ten multiples331,018, 662,036, 993,054, 1,324,072, 1,655,090, 1,986,108, 2,317,126, 2,648,144, 2,979,162, 3,310,180
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4No, remainder 2
Divisible by 5No, remainder 3
Divisible by 6No, remainder 4
Divisible by 7No, remainder 2
Divisible by 8No, remainder 2
Divisible by 9No, remainder 7
Divisible by 10No, remainder 8
Divisible by 11No, remainder 6
Divisible by 12No, remainder 10
Divisible by 100No, remainder 18
Collatz (3n + 1) trajectory
Steps to reach 191the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps331,018 → 165,509 → 496,528 → 248,264 → 124,132 → 62,066 → 31,033 → 93,100 → 46,550 → 23,275 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage33,101,800%
331,018% as a decimal3,310.18
331,018% of 100331,018
331,018% of 1,0003,310,180
As a fraction of 100331,018/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 331,018
Also reads as
#331018 (colour)
- #331018
- Red
- Dark
- Nearest: Black
#331018 is a red with RGB values 51, 16, 24 and HSL 346°, 52%, 13%. It is a dark colour, so white text on it reaches 17.1:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#331018#331018
HEX#331018
RGBrgb(51, 16, 24)
RGB (0–1)0.2, 0.0627, 0.0941
RGB percentages20%, 6.3%, 9.4%
HSLhsl(346.3, 52.2%, 13.1%)
HSV / HSBhsv(346.3, 68.6%, 20%)
CMYK0%, 68.6%, 52.9%, 80%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,346,456
CSS custom property--colour: #331018;
Brightness & contrast
Relative luminance0.0114WCAG 2.x, 0 is black and 1 is white
Perceived brightness31.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.1:1
Contrast with white17.1:1WCAG normal text: AAA
Contrast with black1.23:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#CCEFE7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.1:1WCAG large text: AAA
Contrast with black, large text1.23:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#10332B
Analogous#33102A, #331910
Triadic#183310, #101833
Split complementary#103319, #102A33
Tetradic#2A3310, #10332B, #191033
Tints, shades & saturation
Channel breakdown
R51
G16
B24
Red51 (20%)
Green16 (6.3%)
Blue24 (9.4%)
Hue346.29°
Saturation (HSL)52.24%
Lightness13.14%
Dominant channelRed
Hex per channelR 33 · G 10 · B 18
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