Nerdulator> put something in

Recognised as Number

-118

  • Negative
  • Even
  • 3 digits

-118 is an even 3-digit integer and the negative of 118. It has 4 divisors and a digital root of 1.

Number properties

ParityEvendivisible by 2
SignNegative
Absolute value118
Digit count3
Digit sum10
Digit product8
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards

Factors & divisors

Prime factorisation−1 × 2 × 59
Distinct prime factors22, 59
Number of divisors4
Sum of divisors σ(n)180
SquarefreeYesno repeated prime factor
All divisors1, 2, 59, 1184 in total

Arithmetic

Previous number-119
Next number-117
Double-236
Half-59
Square13,924
Cube root-4.904868132
Negation118
Reciprocal-0.0084745763

Representations

Decimal-118
Binary11101107 bits
Octal166
Hexadecimal76
Base 363A
In wordsminus one hundred and eighteen
Ordinalminus one hundred and eighteenth
Scientific notation-1.18 × 10^2
Engineering notation-118

In other bases

Ternary11101base 3; the most digit-efficient integer base after e: 5 digits
Quinary433base 5; one hand: 3 digits
Septenary226base 7: 3 digits
Nonary141base 9; each digit is two ternary digits: 3 digits
Duodecimal9abase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 2 digits
Vigesimal5ibase 20; hands and feet, and the Mayan and Yoruba systems: 2 digits
Sexagesimal1:58base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternaryTTT0Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary10011110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

10001010
Bit length7 bitsto write the magnitude
Set bits5the population count, or Hamming weight
Zero bits2within that length
Bit parityodd5 set bits, so odd; not the same as the number itself being even
Highest set bitbit 6worth 64
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes176
Gray code1001101n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

8-bit10001010two's complement
16-bit1111111110001010two's complement
32-bit11111111111111111111111110001010two's complement
64-bit1111111111111111111111111111111111111111111111111111111110001010two's complement
One's complement01110101at 8 bits, every bit flipped
Bits reversed01010001at 8 bits
Rotated left by 100010101at 8 bits, wrapping
Shifted left by 1-11101100= -236, no wrap
Shifted right by 1-111011= -59, discarding the low bit
These bits as a double5.82997462 × 10^-322IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime2+120
Nearest square below100
Nearest square above121

Powers & multiples

-118 to the power 213,924
-118 to the power 3-1,643,032
-118 to the power 4193,877,776
-118 to the power 5-22,877,577,568
First ten multiples-118, -236, -354, -472, -590, -708, -826, -944, -1,062, -1,180
Powers of twoBetween 2^6 (64) and 2^7 (128)

Divisibility tests

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

As a percentage & fraction

As a percentage-11,800%
-118% as a decimal-1.18
-118% of 100-118
-118% of 1,000-1,180
As a fraction of 100-118/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 “-118” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.