Number
842
- Positive
- Even
- Composite
- 3 digits
842 is an even 3-digit integer and a composite number. It has 4 divisors and a digital root of 5.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value842
Digit count3
Digit sum14
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 421
Distinct prime factors22, 421
Number of divisors4
Sum of divisors σ(n)1,266
Aliquot sum424sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)420integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 2, 421, 8424 in total
Arithmetic
Representations
Decimal842
Binary110100101010 bits
Octal1512
Hexadecimal34A
Base 36NE
Roman numeralDCCCXLII
In wordseight hundred and forty-two
Ordinaleight hundred and forty-second
Scientific notation8.42 × 10^2
Engineering notation842
Nearest landmarks
Powers & multiples
842 to the power 2708,964
842 to the power 3596,947,688
842 to the power 4502,629,953,296
842 to the power 5423,214,420,675,232
First ten multiples842, 1,684, 2,526, 3,368, 4,210, 5,052, 5,894, 6,736, 7,578, 8,420
Powers of twoBetween 2^9 (512) and 2^10 (1,024)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4No, remainder 2
Divisible by 5No, remainder 2
Divisible by 6No, remainder 2
Divisible by 7No, remainder 2
Divisible by 8No, remainder 2
Divisible by 9No, remainder 5
Divisible by 10No, remainder 2
Divisible by 11No, remainder 6
Divisible by 12No, remainder 2
Divisible by 100No, remainder 42
Collatz (3n + 1) trajectory
Steps to reach 141the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps842 → 421 → 1,264 → 632 → 316 → 158 → 79 → 238 → 119 → 358 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage84,200%
842% as a decimal8.42
842% of 100842
842% of 1,0008,420
As a fraction of 100842/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
Other readings
Also reads as
#884422 (colour)
- #884422
- Orange
- Dark
- Nearest: Sienna
#884422 is a orange with RGB values 136, 68, 34 and HSL 20°, 60%, 33%. It is a dark colour, so white text on it reaches 7.2:1 contrast (AAA for normal text). The nearest named colour is Sienna.
Colour values
#884422#884422
HEX#884422
HEX (short)#842
RGBrgb(136, 68, 34)
RGB (0–1)0.5333, 0.2667, 0.1333
RGB percentages53.3%, 26.7%, 13.3%
HSLhsl(20, 60%, 33.3%)
HSV / HSBhsv(20, 75%, 53.3%)
CMYK0%, 50%, 75%, 46.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,930,338
CSS custom property--colour: #884422;
Brightness & contrast
Relative luminance0.09484WCAG 2.x, 0 is black and 1 is white
Perceived brightness91.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.25:1
Contrast with white7.25:1WCAG normal text: AAA
Contrast with black2.9:1WCAG normal text: Fail
Greyscale equivalent#505050
Inverted#77BBDD
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.25:1WCAG large text: AAA
Contrast with black, large text2.9:1WCAG large text: Fail
Named colours
Hue familyorange
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#226688
Analogous#882233, #887722
Triadic#228844, #442288
Split complementary#228877, #223388
Tetradic#338822, #226688, #772288
Tints, shades & saturation
Channel breakdown
R136
G68
B34
Red136 (53.3%)
Green68 (26.7%)
Blue34 (13.3%)
Hue20°
Saturation (HSL)60%
Lightness33.33%
Dominant channelRed
Hex per channelR 88 · G 44 · B 22
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