Nerdulator> put something in

Recognised as Number

-42

  • Negative
  • Even
  • 2 digits

-42 is an even 2-digit integer and the negative of 42. It has 8 divisors and a digital root of 6.

Number properties

ParityEvendivisible by 2
SignNegative
Absolute value42
Digit count2
Digit sum6
Digit product8
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root6repeated digit sum
PalindromicNoreads differently backwards

Factors & divisors

Prime factorisation−1 × 2 × 3 × 7
Distinct prime factors32, 3, 7
Number of divisors8
Sum of divisors σ(n)96
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 7, 14, 21, 428 in total

Arithmetic

Previous number-43
Next number-41
Double-84
Half-21
Square1,764
Cube root-3.476026645
Negation42
Reciprocal-0.0238095238

Representations

Decimal-42
Binary1010106 bits
Octal52
Hexadecimal2A
Base 3616
In wordsminus forty-two
Ordinalminus forty-second
Scientific notation-4.2 × 10^1
Engineering notation-42

In other bases

Ternary1120base 3; the most digit-efficient integer base after e: 4 digits
Quinary132base 5; one hand: 3 digits
Septenary60base 7: 2 digits
Nonary46base 9; each digit is two ternary digits: 2 digits
Duodecimal36base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 2 digits
Vigesimal22base 20; hands and feet, and the Mayan and Yoruba systems: 2 digits
Sexagesimal42base 60; Babylonian, and still how an hour and a circle are divided: 1 digit
Balanced ternaryT1110digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary101010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

11010110
Bit length6 bitsto write the magnitude
Set bits3the population count, or Hamming weight
Zero bits3within that length
Bit parityodd3 set bits, so odd; not the same as the number itself being even
Highest set bitbit 5worth 32
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes12a
Gray code111111n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

8-bit11010110two's complement
16-bit1111111111010110two's complement
32-bit11111111111111111111111111010110two's complement
64-bit1111111111111111111111111111111111111111111111111111111111010110two's complement
One's complement00101001at 8 bits, every bit flipped
Bits reversed01101011at 8 bits
Rotated left by 110101101at 8 bits, wrapping
Shifted left by 1-1010100= -84, no wrap
Shifted right by 1-10101= -21, discarding the low bit
These bits as a double2.07507571 × 10^-322IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime2+44
Nearest square below36
Nearest square above49

Powers & multiples

-42 to the power 21,764
-42 to the power 3-74,088
-42 to the power 43,111,696
-42 to the power 5-130,691,232
First ten multiples-42, -84, -126, -168, -210, -252, -294, -336, -378, -420
Powers of twoBetween 2^5 (32) and 2^6 (64)

Divisibility tests

Divisible by 2Yes
Divisible by 3Yes
Divisible by 4No, remainder 2
Divisible by 5No, remainder 2
Divisible by 6Yes
Divisible by 7Yes
Divisible by 8No, remainder 2
Divisible by 9No, remainder 6
Divisible by 10No, remainder 2
Divisible by 11No, remainder 9
Divisible by 12No, remainder 6
Divisible by 100No, remainder 42

As a percentage & fraction

As a percentage-4,200%
-42% as a decimal-0.42
-42% of 100-42
-42% of 1,000-420
As a fraction of 100-42/100

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