Nerdulator> put something in

Recognised as Number

840,817

  • Positive
  • Odd
  • Prime
  • 6 digits

840,817 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,817
Digit count6
Digit sum28
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,817
Distinct prime factors1840,817
Number of divisors2
Sum of divisors σ(n)840,818
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)840,816integers below n that share no factor with it
Carmichael function λ(n)840,816the 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,8172 in total

Arithmetic

Previous number840,816
Next number840,818
Double1,681,634
Cube594,435,108,217,618,513
Square root916.960740708≈irrational, shown to 9 decimal places
Cube root94.384459821≈
Negation-840,817
Reciprocal0.0000011893≈

Representations

Decimal840,817
Binary1100110101000111000120 bits
Octal3152161
HexadecimalCD471
Base 36I0S1
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand, eight hundred and seventeen
Ordinaleight hundred and forty thousand, eight hundred and seventeenth
Scientific notation8.40817 × 10^5
Engineering notation840.817 × 10^3

In other bases

Ternary1120201101101base 3; the most digit-efficient integer base after e: 13 digits
Quinary203401232base 5; one hand: 9 digits
Septenary10101235base 7: 8 digits
Nonary1521341base 9; each digit is two ternary digits: 7 digits
Duodecimal346701base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal5520hbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:53:33:37base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T01101101digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011101010110110001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000011001101010001110001
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 d4 71
Gray code10101011111001001001n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000011001101010001110001
64-bit0000000000000000000000000000000000000000000011001101010001110001
One's complement11111111111100110010101110001110at 32 bits, every bit flipped
Bits reversed10001110001010110011000000000000at 32 bits
Rotated left by 100000000000110011010100011100010at 32 bits, wrapping
Shifted left by 1110011010100011100010= 1,681,634, no wrap
Shifted right by 11100110101000111000= 420,408, discarding the low bit
These bits as a double4.15418794 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime840,821+4
Previous prime840,767−50
Distance to nearest prime0, it is prime
Nearest square below839,056
Nearest square above840,889

Powers & multiples

840,817 to the power 2706,973,227,489
840,817 to the power 3594,435,108,217,618,513
840,817 to the power 4499,811,144,386,213,345,245,121
840,817 to the power 5420,249,706,989,382,746,308,966,903,857
First ten multiples840,817, 1,681,634, 2,522,451, 3,363,268, 4,204,085, 5,044,902, 5,885,719, 6,726,536, 7,567,353, 8,408,170
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 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 1
Divisible by 7No, remainder 5
Divisible by 8No, remainder 1
Divisible by 9No, remainder 1
Divisible by 10No, remainder 7
Divisible by 11No, remainder 10
Divisible by 12No, remainder 1
Divisible by 100No, remainder 17

Collatz (3n + 1) trajectory

Steps to reach 1219the total stopping time
Highest value reached2,522,4523× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,817 → 2,522,452 → 1,261,226 → 630,613 → 1,891,840 → 945,920 → 472,960 → 236,480 → 118,240 → 59,120 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage84,081,700%
840,817% as a decimal8,408.17
840,817% of 100840,817
840,817% of 1,0008,408,170
As a fraction of 100840,817/100

Read another way

As bytes821.11 KiB
As a 24-bit colour#0CD471

Keep nerding

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

Also reads as

#840817 (colour)

  • #840817
  • Red
  • Dark
  • Nearest: Maroon

#840817 is a red with RGB values 132, 8, 23 and HSL 353°, 89%, 27%. It is a dark colour, so white text on it reaches 10.4:1 contrast (AAA for normal text). The nearest named colour is Maroon.

Open this reading on its own page →

Colour values

#840817#840817
HEX#840817
RGBrgb(132, 8, 23)
RGB (0–1)0.5176, 0.0314, 0.0902
RGB percentages51.8%, 3.1%, 9%
HSLhsl(352.7, 88.6%, 27.5%)
HSV / HSBhsv(352.7, 93.9%, 51.8%)
CMYK0%, 93.9%, 82.6%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,652,823
CSS custom property--colour: #840817;

Brightness & contrast

Relative luminance0.05141WCAG 2.x, 0 is black and 1 is white
Perceived brightness72.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.35:1
Contrast with white10.35:1WCAG normal text: AAA
Contrast with black2.03:1WCAG normal text: Fail
Greyscale equivalent#232323
Inverted#7BF7E8

Colour vision & accessibility

Protanopia#353016no red cones; affects about 1% of men; ΔE 52.1 from the original
Deuteranopia#524911no green cones; the most common form, about 1% of men; ΔE 51.9 from the original
Tritanopia#920010no blue cones; rare, and affects men and women equally; ΔE 9.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.35:1WCAG large text: AAA
Contrast with black, large text2.03:1WCAG large text: Fail

Named colours

Nearest named CSS colourMaroon (#800000)ΔE 9.41, clearly different but related
Hue familyred
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#088475
Analogous#840855, #843708
Triadic#178408, #081784
Split complementary#088437, #085584
Tetradic#558408, #088475, #370884

Tints, shades & saturation

Lighter +40%#F66274
Lighter +30%#F3324A
Lighter +20%#E40E28
Lighter +10%#B40B1F
Darker −10%#54050F
Darker −20%#240206
Darker −30%#000000
Darker −40%#000000
More saturated +25%#8C0011
Less saturated −25%#731A24

Channel breakdown

R132
G8
B23
Red132 (51.8%)
Green8 (3.1%)
Blue23 (9%)
Hue352.74°
Saturation (HSL)88.57%
Lightness27.45%
Dominant channelRed
Hex per channelR 84 · G 08 · B 17

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