Recognised as Number
331,331
- Positive
- Odd
- Composite
- 6 digits
331,331 is an odd 6-digit integer and a composite number. It has 16 divisors and a digital root of 5.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value331,331
Digit count6
Digit sum14
Digit product81
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation7 × 11 × 13 × 331
Distinct prime factors47, 11, 13, 331
Number of divisors16
Sum of divisors σ(n)446,208
Aliquot sum114,877sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)237,600integers below n that share no factor with it
Carmichael function λ(n)660the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 237,600
Möbius function μ(n)+14 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 7, 11, 13, 77, 91, 143, 331, 1,001, 2,317, 3,641, 4,303, 25,487, 30,121, 47,333, 331,33116 in total
Arithmetic
Representations
Decimal331,331
Binary101000011100100001119 bits
Octal1207103
Hexadecimal50E43
Base 3673NN
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and thirty-one thousand, three hundred and thirty-one
Ordinalthree hundred and thirty-one thousand, three hundred and thirty-first
Scientific notation3.31331 × 10^5
Engineering notation331.331 × 10^3
In other bases
Ternary121211111112base 3; the most digit-efficient integer base after e: 12 digits
Quinary41100311base 5; one hand: 8 digits
Septenary2546660base 7: 7 digits
Nonary554445base 9; each digit is two ternary digits: 6 digits
Duodecimal13b8abbase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2186bbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:32:2:11base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T0TTTTTTTTdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010001001001000111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010000111001000011
Bit length19 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits11within that length
Bit parityeven8 set bits, so even; not the same as the number itself being odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes305 0e 43
Gray code1111000100101100010n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010000111001000011
64-bit0000000000000000000000000000000000000000000001010000111001000011
One's complement11111111111110101111000110111100at 32 bits, every bit flipped
Bits reversed11000010011100001010000000000000at 32 bits
Rotated left by 100000000000010100001110010000110at 32 bits, wrapping
Shifted left by 110100001110010000110= 662,662, no wrap
Shifted right by 1101000011100100001= 165,665, discarding the low bit
These bits as a double1.63699265 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
331,331 to the power 2109,780,231,561
331,331 to the power 336,373,593,903,337,691
331,331 to the power 412,051,699,241,586,780,496,721
331,331 to the power 53,993,101,561,414,189,568,759,065,651
First ten multiples331,331, 662,662, 993,993, 1,325,324, 1,656,655, 1,987,986, 2,319,317, 2,650,648, 2,981,979, 3,313,310
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 3
Divisible by 5No, remainder 1
Divisible by 6No, remainder 5
Divisible by 7Yes
Divisible by 8No, remainder 3
Divisible by 9No, remainder 5
Divisible by 10No, remainder 1
Divisible by 11Yes
Divisible by 12No, remainder 11
Divisible by 100No, remainder 31
Collatz (3n + 1) trajectory
Steps to reach 165the total stopping time
Highest value reached1,490,9924× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps331,331 → 993,994 → 496,997 → 1,490,992 → 745,496 → 372,748 → 186,374 → 93,187 → 279,562 → 139,781 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage33,133,100%
331,331% as a decimal3,313.31
331,331% of 100331,331
331,331% of 1,0003,313,310
As a fraction of 100331,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 331,331
Also reads as
#331331 (colour)
- #331331
- Magenta
- Dark
- Nearest: Black
#331331 is a magenta with RGB values 51, 19, 49 and HSL 304°, 46%, 14%. It is a dark colour, so white text on it reaches 16.4:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#331331#331331
HEX#331331
RGBrgb(51, 19, 49)
RGB (0–1)0.2, 0.0745, 0.1922
RGB percentages20%, 7.5%, 19.2%
HSLhsl(303.8, 45.7%, 13.7%)
HSV / HSBhsv(303.8, 62.7%, 20%)
CMYK0%, 62.7%, 3.9%, 80%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,347,249
CSS custom property--colour: #331331;
Brightness & contrast
Relative luminance0.01391WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.43:1
Contrast with white16.43:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#CCECCE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.43:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#133315
Analogous#251333, #331321
Triadic#313313, #133133
Split complementary#213313, #133325
Tetradic#332513, #133315, #132133
Tints, shades & saturation
Channel breakdown
R51
G19
B49
Red51 (20%)
Green19 (7.5%)
Blue49 (19.2%)
Hue303.75°
Saturation (HSL)45.71%
Lightness13.73%
Dominant channelRed
Hex per channelR 33 · G 13 · 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