Recognised as Number
331,831
- Positive
- Odd
- Composite
- 6 digits
331,831 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 1.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value331,831
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 factorisation43 × 7,717
Distinct prime factors243, 7,717
Number of divisors4
Sum of divisors σ(n)339,592
Aliquot sum7,761sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)324,072integers below n that share no factor with it
Carmichael function λ(n)54,012the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 324,072
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 43, 7,717, 331,8314 in total
Arithmetic
Representations
Decimal331,831
Binary101000100000011011119 bits
Octal1210067
Hexadecimal51037
Base 36741J
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and thirty-one thousand, eight hundred and thirty-one
Ordinalthree hundred and thirty-one thousand, eight hundred and thirty-first
Scientific notation3.31831 × 10^5
Engineering notation331.831 × 10^3
In other bases
Ternary121212012001base 3; the most digit-efficient integer base after e: 12 digits
Quinary41104311base 5; one hand: 8 digits
Septenary2551303base 7: 7 digits
Nonary555161base 9; each digit is two ternary digits: 6 digits
Duodecimal140047base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal219bbbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:32:10:31base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T0TT1TT001digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010001000001001011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010001000000110111
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 10 37
Gray code1111001100000101100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010001000000110111
64-bit0000000000000000000000000000000000000000000001010001000000110111
One's complement11111111111110101110111111001000at 32 bits, every bit flipped
Bits reversed11101100000010001010000000000000at 32 bits
Rotated left by 100000000000010100010000001101110at 32 bits, wrapping
Shifted left by 110100010000001101110= 663,662, no wrap
Shifted right by 1101000100000011011= 165,915, discarding the low bit
These bits as a double1.63946297 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
331,831 to the power 2110,111,812,561
331,831 to the power 336,538,512,873,929,191
331,831 to the power 412,124,611,265,468,797,378,721
331,831 to the power 54,023,321,880,831,776,502,978,368,151
First ten multiples331,831, 663,662, 995,493, 1,327,324, 1,659,155, 1,990,986, 2,322,817, 2,654,648, 2,986,479, 3,318,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 3
Divisible by 8No, remainder 7
Divisible by 9No, remainder 1
Divisible by 10No, remainder 1
Divisible by 11No, remainder 5
Divisible by 12No, remainder 7
Divisible by 100No, remainder 31
Collatz (3n + 1) trajectory
Steps to reach 1215the total stopping time
Highest value reached2,834,8368× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps331,831 → 995,494 → 497,747 → 1,493,242 → 746,621 → 2,239,864 → 1,119,932 → 559,966 → 279,983 → 839,950 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage33,183,100%
331,831% as a decimal3,318.31
331,831% of 100331,831
331,831% of 1,0003,318,310
As a fraction of 100331,831/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,831
Also reads as
#331831 (colour)
- #331831
- Magenta
- Dark
- Nearest: Black
#331831 is a magenta with RGB values 51, 24, 49 and HSL 304°, 36%, 15%. It is a dark colour, so white text on it reaches 16:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#331831#331831
HEX#331831
RGBrgb(51, 24, 49)
RGB (0–1)0.2, 0.0941, 0.1922
RGB percentages20%, 9.4%, 19.2%
HSLhsl(304.4, 36%, 14.7%)
HSV / HSBhsv(304.4, 52.9%, 20%)
CMYK0%, 52.9%, 3.9%, 80%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,348,529
CSS custom property--colour: #331831;
Brightness & contrast
Relative luminance0.01579WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.96:1
Contrast with white15.96:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#CCE7CE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.96:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#18331A
Analogous#281833, #331823
Triadic#313318, #183133
Split complementary#243318, #183328
Tetradic#332818, #18331A, #182333
Tints, shades & saturation
Channel breakdown
R51
G24
B49
Red51 (20%)
Green24 (9.4%)
Blue49 (19.2%)
Hue304.44°
Saturation (HSL)36%
Lightness14.71%
Dominant channelRed
Hex per channelR 33 · G 18 · 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