Recognised as Number
842,771
- Positive
- Odd
- Prime
- 6 digits
842,771 is an odd 6-digit integer and a prime number. It has 2 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value842,771
Digit count6
Digit sum29
Digit product3,136
Multiplicative persistence4times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation842,771
Distinct prime factors1842,771
Number of divisors2
Sum of divisors σ(n)842,772
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)842,770integers below n that share no factor with it
Carmichael function λ(n)842,770the 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, 842,7712 in total
Arithmetic
Representations
Decimal842,771
Binary1100110111000001001120 bits
Octal3156023
HexadecimalCDC13
Base 36I2AB
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty-two thousand, seven hundred and seventy-one
Ordinaleight hundred and forty-two thousand, seven hundred and seventy-first
Scientific notation8.42771 × 10^5
Engineering notation842.771 × 10^3
In other bases
Ternary1120211001202base 3; the most digit-efficient integer base after e: 13 digits
Quinary203432041base 5; one hand: 9 digits
Septenary10110026base 7: 8 digits
Nonary1524052base 9; each digit is two ternary digits: 7 digits
Duodecimal34786bbase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal556ibbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:54:6:11base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T1101TT1Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111010010110000010111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011001101110000010011
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 dc 13
Gray code10101011001000011010n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011001101110000010011
64-bit0000000000000000000000000000000000000000000011001101110000010011
One's complement11111111111100110010001111101100at 32 bits, every bit flipped
Bits reversed11001000001110110011000000000000at 32 bits
Rotated left by 100000000000110011011100000100110at 32 bits, wrapping
Shifted left by 1110011011100000100110= 1,685,542, no wrap
Shifted right by 11100110111000001001= 421,385, discarding the low bit
These bits as a double4.16384198 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
842,771 to the power 2710,262,958,441
842,771 to the power 3598,589,023,748,280,011
842,771 to the power 4504,473,470,133,361,693,150,481
842,771 to the power 5425,155,610,897,763,367,498,124,022,851
First ten multiples842,771, 1,685,542, 2,528,313, 3,371,084, 4,213,855, 5,056,626, 5,899,397, 6,742,168, 7,584,939, 8,427,710
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
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 7No, remainder 6
Divisible by 8No, remainder 3
Divisible by 9No, remainder 2
Divisible by 10No, remainder 1
Divisible by 11No, remainder 6
Divisible by 12No, remainder 11
Divisible by 100No, remainder 71
Collatz (3n + 1) trajectory
Steps to reach 1105the total stopping time
Highest value reached3,792,4724× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps842,771 → 2,528,314 → 1,264,157 → 3,792,472 → 1,896,236 → 948,118 → 474,059 → 1,422,178 → 711,089 → 2,133,268 → …
Last steps… → 32 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage84,277,100%
842,771% as a decimal8,427.71
842,771% of 100842,771
842,771% of 1,0008,427,710
As a fraction of 100842,771/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 842,771
Also reads as
#842771 (colour)
- #842771
- Magenta
- Dark
- Nearest: Purple
#842771 is a magenta with RGB values 132, 39, 113 and HSL 312°, 54%, 34%. It is a dark colour, so white text on it reaches 8.4:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#842771#842771
HEX#842771
RGBrgb(132, 39, 113)
RGB (0–1)0.5176, 0.1529, 0.4431
RGB percentages51.8%, 15.3%, 44.3%
HSLhsl(312.3, 54.4%, 33.5%)
HSV / HSBhsv(312.3, 70.5%, 51.8%)
CMYK0%, 70.5%, 14.4%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,660,849
CSS custom property--colour: #842771;
Brightness & contrast
Relative luminance0.07549WCAG 2.x, 0 is black and 1 is white
Perceived brightness86.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.37:1
Contrast with white8.37:1WCAG normal text: AAA
Contrast with black2.51:1WCAG normal text: Fail
Greyscale equivalent#404040
Inverted#7BD88E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.37:1WCAG large text: AAA
Contrast with black, large text2.51:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#27843A
Analogous#692784, #842743
Triadic#718427, #277184
Split complementary#438427, #278469
Tetradic#846927, #27843A, #274384
Tints, shades & saturation
Channel breakdown
R132
G39
B113
Red132 (51.8%)
Green39 (15.3%)
Blue113 (44.3%)
Hue312.26°
Saturation (HSL)54.39%
Lightness33.53%
Dominant channelRed
Hex per channelR 84 · G 27 · B 71
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