Nerdulator> put something in

Recognised as Number

840,331

  • Positive
  • Odd
  • Prime
  • 6 digits

840,331 is an odd 6-digit integer and a prime number. It has 2 divisors and a digital root of 1.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value840,331
Digit count6
Digit sum19
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times 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 factorisation840,331
Distinct prime factors1840,331
Number of divisors2
Sum of divisors σ(n)840,332
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)840,330integers below n that share no factor with it
Carmichael function λ(n)840,330the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)−11 distinct prime factor, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 840,3312 in total

Arithmetic

Previous number840,330
Next number840,332
Double1,680,662
Cube593,404,936,929,984,691
Square root916.69569651≈irrational, shown to 9 decimal places
Cube root94.366271286≈
Negation-840,331
Reciprocal0.00000119≈

Representations

Decimal840,331
Binary1100110100101000101120 bits
Octal3151213
HexadecimalCD28B
Base 36I0EJ
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand, three hundred and thirty-one
Ordinaleight hundred and forty thousand, three hundred and thirty-first
Scientific notation8.40331 × 10^5
Engineering notation840.331 × 10^3

In other bases

Ternary1120200201101base 3; the most digit-efficient integer base after e: 13 digits
Quinary203342311base 5; one hand: 9 digits
Septenary10066642base 7: 8 digits
Nonary1520641base 9; each digit is two ternary digits: 7 digits
Duodecimal346377base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal550gbbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:53:25:31base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T01T01101digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011101011110011111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000011001101001010001011
Bit length20 bitsto write the magnitude
Set bits10the population count, or Hamming weight
Zero bits10within that length
Bit parityeven10 set bits, so even; not the same as the number itself being odd
Highest set bitbit 19worth 524,288
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes30c d2 8b
Gray code10101011101111001110n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000011001101001010001011
64-bit0000000000000000000000000000000000000000000011001101001010001011
One's complement11111111111100110010110101110100at 32 bits, every bit flipped
Bits reversed11010001010010110011000000000000at 32 bits
Rotated left by 100000000000110011010010100010110at 32 bits, wrapping
Shifted left by 1110011010010100010110= 1,680,662, no wrap
Shifted right by 11100110100101000101= 420,165, discarding the low bit
These bits as a double4.15178678 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime840,341+10
Previous prime840,319−12
Distance to nearest prime0, it is prime
Nearest square below839,056
Nearest square above840,889

Powers & multiples

840,331 to the power 2706,156,189,561
840,331 to the power 3593,404,936,929,984,691
840,331 to the power 4498,656,564,055,310,965,372,721
840,331 to the power 5419,036,569,129,163,518,842,624,010,651
First ten multiples840,331, 1,680,662, 2,520,993, 3,361,324, 4,201,655, 5,041,986, 5,882,317, 6,722,648, 7,562,979, 8,403,310
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)

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 2
Divisible by 8No, remainder 3
Divisible by 9No, remainder 1
Divisible by 10No, remainder 1
Divisible by 11No, remainder 8
Divisible by 12No, remainder 7
Divisible by 100No, remainder 31

Collatz (3n + 1) trajectory

Steps to reach 1206the total stopping time
Highest value reached3,781,4924× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,331 → 2,520,994 → 1,260,497 → 3,781,492 → 1,890,746 → 945,373 → 2,836,120 → 1,418,060 → 709,030 → 354,515 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage84,033,100%
840,331% as a decimal8,403.31
840,331% of 100840,331
840,331% of 1,0008,403,310
As a fraction of 100840,331/100

Read another way

As bytes820.636 KiB
As a 24-bit colour#0CD28B

Keep nerding

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

Also reads as

#840331 (colour)

  • #840331
  • Red
  • Dark
  • Nearest: Brown

#840331 is a red with RGB values 132, 3, 49 and HSL 339°, 96%, 26%. It is a dark colour, so white text on it reaches 10.3:1 contrast (AAA for normal text). The nearest named colour is Brown.

Open this reading on its own page →

Colour values

#840331#840331
HEX#840331
RGBrgb(132, 3, 49)
RGB (0–1)0.5176, 0.0118, 0.1922
RGB percentages51.8%, 1.2%, 19.2%
HSLhsl(338.6, 95.6%, 26.5%)
HSV / HSBhsv(338.6, 97.7%, 51.8%)
CMYK0%, 97.7%, 62.9%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,651,569
CSS custom property--colour: #840331;

Brightness & contrast

Relative luminance0.05192WCAG 2.x, 0 is black and 1 is white
Perceived brightness74.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.3:1
Contrast with white10.3:1WCAG normal text: AAA
Contrast with black2.04:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#7BFCCE

Colour vision & accessibility

Protanopia#303132no red cones; affects about 1% of men; ΔE 52.5 from the original
Deuteranopia#4F492Eno green cones; the most common form, about 1% of men; ΔE 52.8 from the original
Tritanopia#91001Bno blue cones; rare, and affects men and women equally; ΔE 18.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.3:1WCAG large text: AAA
Contrast with black, large text2.04:1WCAG large text: Fail

Named colours

Nearest named CSS colourBrown (#A52A2A)ΔE 21.38, a distinctly different colour
Hue familyred
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#038456
Analogous#840372, #841503
Triadic#318403, #033184
Split complementary#038415, #037284
Tetradic#728403, #038456, #150384

Tints, shades & saturation

Lighter +40%#FB5892
Lighter +30%#FA2672
Lighter +20%#E80556
Lighter +10%#B60444
Darker −10%#52021E
Darker −20%#20010C
Darker −30%#000000
Darker −40%#000000
More saturated +25%#870030
Less saturated −25%#731436

Channel breakdown

R132
G3
B49
Red132 (51.8%)
Green3 (1.2%)
Blue49 (19.2%)
Hue338.6°
Saturation (HSL)95.56%
Lightness26.47%
Dominant channelRed
Hex per channelR 84 · G 03 · B 31

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 “840331” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.