Nerdulator> put something in

Recognised as Number

331,872

  • Positive
  • Even
  • Composite
  • 6 digits

331,872 is an even 6-digit integer and a composite number. It has 24 divisors and a digital root of 6.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value331,872
Digit count6
Digit sum24
Digit product1,008
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum

Factors & divisors

Prime factorisation2^5 × 3 × 3,457
Distinct prime factors32, 3, 3,457
Number of divisors24
Sum of divisors σ(n)871,416
Aliquot sum539,544sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)110,592integers below n that share no factor with it
Carmichael function λ(n)3,456the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 110,592
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 96, 3,457, 6,914, 10,371, 13,828, 20,742, 27,656, 41,484, 55,312, 82,968, 110,624, 165,936, 331,87224 in total

Arithmetic

Previous number331,871
Next number331,873
Double663,744
Cube36,552,058,300,366,848
Square root576.083327306≈irrational, shown to 9 decimal places
Cube root69.234655812≈
Negation-331,872
Reciprocal0.0000030132≈

Representations

Decimal331,872
Binary101000100000110000019 bits
Octal1210140
Hexadecimal51060
Base 36742O
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and thirty-one thousand, eight hundred and seventy-two
Ordinalthree hundred and thirty-one thousand, eight hundred and seventy-second
Scientific notation3.31872 × 10^5
Engineering notation331.872 × 10^3

In other bases

Ternary121212020120base 3; the most digit-efficient integer base after e: 12 digits
Quinary41104442base 5; one hand: 8 digits
Septenary2551362base 7: 7 digits
Nonary555216base 9; each digit is two ternary digits: 6 digits
Duodecimal140080base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal219dcbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:32:11:12base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T0TT1T1TT0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010001000110100000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000001010001000001100000
Bit length19 bitsto write the magnitude
Set bits5the population count, or Hamming weight
Zero bits14within that length
Bit parityodd5 set bits, so odd; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 55 trailing zeros
Power of twoNo
Bytes305 10 60
Gray code1111001100001010000n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001010001000001100000
64-bit0000000000000000000000000000000000000000000001010001000001100000
One's complement11111111111110101110111110011111at 32 bits, every bit flipped
Bits reversed00000110000010001010000000000000at 32 bits
Rotated left by 100000000000010100010000011000000at 32 bits, wrapping
Shifted left by 110100010000011000000= 663,744, no wrap
Shifted right by 1101000100000110000= 165,936, discarding the low bit
These bits as a double1.63966554 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime331,883+11
Previous prime331,871−1
Distance to nearest prime1
Nearest square below331,776
Nearest square above332,929

Powers & multiples

331,872 to the power 2110,139,024,384
331,872 to the power 336,552,058,300,366,848
331,872 to the power 412,130,604,692,259,346,579,456
331,872 to the power 54,025,808,040,429,493,868,017,221,632
First ten multiples331,872, 663,744, 995,616, 1,327,488, 1,659,360, 1,991,232, 2,323,104, 2,654,976, 2,986,848, 3,318,720
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)

Divisibility tests

Divisible by 2Yes
Divisible by 3Yes
Divisible by 4Yes
Divisible by 5No, remainder 2
Divisible by 6Yes
Divisible by 7No, remainder 2
Divisible by 8Yes
Divisible by 9No, remainder 6
Divisible by 10No, remainder 2
Divisible by 11No, remainder 2
Divisible by 12Yes
Divisible by 100No, remainder 72

Collatz (3n + 1) trajectory

Steps to reach 147the total stopping time
Highest value reached331,872
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps331,872 → 165,936 → 82,968 → 41,484 → 20,742 → 10,371 → 31,114 → 15,557 → 46,672 → 23,336 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage33,187,200%
331,872% as a decimal3,318.72
331,872% of 100331,872
331,872% of 1,0003,318,720
As a fraction of 100331,872/100

Read another way

As bytes324.094 KiB
As a 24-bit colour#051060

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Also reads as

#331872 (colour)

  • #331872
  • Violet
  • Dark
  • Nearest: Midnight blue

#331872 is a violet with RGB values 51, 24, 114 and HSL 258°, 65%, 27%. It is a dark colour, so white text on it reaches 13.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#331872#331872
HEX#331872
RGBrgb(51, 24, 114)
RGB (0–1)0.2, 0.0941, 0.4471
RGB percentages20%, 9.4%, 44.7%
HSLhsl(258, 65.2%, 27.1%)
HSV / HSBhsv(258, 78.9%, 44.7%)
CMYK55.3%, 78.9%, 0%, 55.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,348,594
CSS custom property--colour: #331872;

Brightness & contrast

Relative luminance0.02572WCAG 2.x, 0 is black and 1 is white
Perceived brightness51 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.87:1
Contrast with white13.87:1WCAG normal text: AAA
Contrast with black1.51:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#CCE78D

Colour vision & accessibility

Protanopia#002E75no red cones; affects about 1% of men; ΔE 19.4 from the original
Deuteranopia#002A70no green cones; the most common form, about 1% of men; ΔE 18.6 from the original
Tritanopia#1B3144no blue cones; rare, and affects men and women equally; ΔE 50.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.87:1WCAG large text: AAA
Contrast with black, large text1.51:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 5.84, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#577218
Analogous#182A72, #601872
Triadic#723318, #187233
Split complementary#726018, #2A7218
Tetradic#72182A, #577218, #187260

Tints, shades & saturation

Lighter +40%#9574E2
Lighter +30%#754AD9
Lighter +20%#592AC6
Lighter +10%#46219C
Darker −10%#200F48
Darker −20%#0D061E
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2C0783
Less saturated −25%#3A2961

Channel breakdown

R51
G24
B114
Red51 (20%)
Green24 (9.4%)
Blue114 (44.7%)
Hue258°
Saturation (HSL)65.22%
Lightness27.06%
Dominant channelBlue
Hex per channelR 33 · G 18 · B 72

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “331872” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.