Nerdulator> put something in

Recognised as Number

-12

  • Negative
  • Even
  • 2 digits

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

Number properties

ParityEvendivisible by 2
SignNegative
Absolute value12
Digit count2
Digit sum3
Digit product2
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root3repeated digit sum
PalindromicNoreads differently backwards

Factors & divisors

Prime factorisation−1 × 2^2 × 3
Distinct prime factors22, 3
Number of divisors6
Sum of divisors σ(n)28
SquarefreeNohas a repeated prime factor
All divisors1, 2, 3, 4, 6, 126 in total

Arithmetic

Previous number-13
Next number-11
Double-24
Half-6
Square144
Cube-1,728
Cube root-2.289428485≈
Negation12
Reciprocal-0.0833333333≈

Representations

Decimal-12
Binary11004 bits
Octal14
HexadecimalC
Base 36C
In wordsminus twelve
Ordinalminus twelfth
Scientific notation-1.2 × 10^1
Engineering notation-12

In other bases

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

Bit-level

11110100
Bit length4 bitsto write the magnitude
Set bits2the population count, or Hamming weight
Zero bits2within that length
Bit parityeven2 set bits, so even; not the same as the number itself being even
Highest set bitbit 3worth 8
Lowest set bitbit 22 trailing zeros
Power of twoNo
Bytes10c
Gray code1010n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

8-bit11110100two's complement
16-bit1111111111110100two's complement
32-bit11111111111111111111111111110100two's complement
64-bit1111111111111111111111111111111111111111111111111111111111110100two's complement
One's complement00001011at 8 bits, every bit flipped
Bits reversed00101111at 8 bits
Rotated left by 111101001at 8 bits, wrapping
Shifted left by 1-11000= -24, no wrap
Shifted right by 1-110= -6, discarding the low bit
These bits as a double5.92878775 × 10^-323≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime2+14
Nearest square below9
Nearest square above16

Powers & multiples

-12 to the power 2144
-12 to the power 3-1,728
-12 to the power 420,736
-12 to the power 5-248,832
First ten multiples-12, -24, -36, -48, -60, -72, -84, -96, -108, -120
Powers of twoBetween 2^3 (8) and 2^4 (16)

Divisibility tests

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

As a percentage & fraction

As a percentage-1,200%
-12% as a decimal-0.12
-12% of 100-12
-12% of 1,000-120
As a fraction of 100-12/100

Keep nerding

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

Neighbouring numbers

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “-12” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.