Recognised as Number
-842
- Negative
- Even
- 3 digits
-842 is an even 3-digit integer and the negative of 842. It has 4 divisors and a digital root of 5.
Number properties
ParityEvendivisible by 2
SignNegative
Absolute value842
Digit count3
Digit sum14
Digit product64
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Factors & divisors
Prime factorisation−1 × 2 × 421
Distinct prime factors22, 421
Number of divisors4
Sum of divisors σ(n)1,266
SquarefreeYesno repeated prime factor
All divisors1, 2, 421, 8424 in total
Arithmetic
Representations
Decimal-842
Binary110100101010 bits
Octal1512
Hexadecimal34A
Base 36NE
In wordsminus eight hundred and forty-two
Ordinalminus eight hundred and forty-second
Scientific notation-8.42 × 10^2
Engineering notation-842
In other bases
Ternary1011012base 3; the most digit-efficient integer base after e — 7 digits
Quinary11332base 5; one hand — 5 digits
Septenary2312base 7 — 4 digits
Nonary1135base 9; each digit is two ternary digits — 4 digits
Duodecimal5a2base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves — 3 digits
Vigesimal222base 20; hands and feet, and the Mayan and Yoruba systems — 3 digits
Sexagesimal14:2base 60; Babylonian, and still how an hour and a circle are divided — 2 digits
Balanced ternaryT0TTT11digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110111001010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
1111110010110110
Bit length10 bitsto write the magnitude
Set bits5the population count, or Hamming weight
Zero bits5within that length
Bit parityodd5 set bits, so odd; not the same as the number itself being even
Highest set bitbit 9worth 512
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes203 4a
Gray code1011101111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
16-bit1111110010110110two's complement
32-bit11111111111111111111110010110110two's complement
64-bit1111111111111111111111111111111111111111111111111111110010110110two's complement
One's complement0000001101001001at 16 bits, every bit flipped
Bits reversed0110110100111111at 16 bits
Rotated left by 11111100101101101at 16 bits, wrapping
Shifted left by 1-11010010100= -1,684, no wrap
Shifted right by 1-110100101= -421, discarding the low bit
These bits as a double4.16003274 × 10^-321≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Powers & multiples
-842 to the power 2708,964
-842 to the power 3-596,947,688
-842 to the power 4502,629,953,296
-842 to the power 5-423,214,420,675,232
First ten multiples-842, -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
As a percentage & fraction
As a percentage-84,200%
-842% as a decimal-8.42
-842% of 100-842
-842% of 1,000-8,420
As a fraction of 100-842/100
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from -842
Nerdulate something else
Nothing in mind? Surprise me · today’s page