Nerdulator> put something in

Recognised as Number

-342

  • Negative
  • Even
  • 3 digits

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

Number properties

ParityEvendivisible by 2
SignNegative
Absolute value342
Digit count3
Digit sum9
Digit product24
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root9repeated digit sum
PalindromicNoreads differently backwards

Factors & divisors

Prime factorisation−1 × 2 × 3^2 × 19
Distinct prime factors32, 3, 19
Number of divisors12
Sum of divisors σ(n)780
SquarefreeNohas a repeated prime factor
All divisors1, 2, 3, 6, 9, 18, 19, 38, 57, 114, 171, 34212 in total

Arithmetic

Previous number-343
Next number-341
Double-684
Half-171
Square116,964
Cube root-6.993190657
Negation342
Reciprocal-0.0029239766

Representations

Decimal-342
Binary1010101109 bits
Octal526
Hexadecimal156
Base 369I
In wordsminus three hundred and forty-two
Ordinalminus three hundred and forty-second
Scientific notation-3.42 × 10^2
Engineering notation-342

In other bases

Ternary110200base 3; the most digit-efficient integer base after e: 6 digits
Quinary2332base 5; one hand: 4 digits
Septenary666base 7: 3 digits
Nonary420base 9; each digit is two ternary digits: 3 digits
Duodecimal246base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 3 digits
Vigesimalh2base 20; hands and feet, and the Mayan and Yoruba systems: 2 digits
Sexagesimal5:42base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternaryTTT100digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1111111110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

1111111010101010
Bit length9 bitsto write the magnitude
Set bits5the population count, or Hamming weight
Zero bits4within that length
Bit parityodd5 set bits, so odd; not the same as the number itself being even
Highest set bitbit 8worth 256
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes201 56
Gray code111111101n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit1111111010101010two's complement
32-bit11111111111111111111111010101010two's complement
64-bit1111111111111111111111111111111111111111111111111111111010101010two's complement
One's complement0000000101010101at 16 bits, every bit flipped
Bits reversed0101010101111111at 16 bits
Rotated left by 11111110101010101at 16 bits, wrapping
Shifted left by 1-1010101100= -684, no wrap
Shifted right by 1-10101011= -171, discarding the low bit
These bits as a double1.68970451 × 10^-321IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime2+344
Nearest square below324
Nearest square above361

Powers & multiples

-342 to the power 2116,964
-342 to the power 3-40,001,688
-342 to the power 413,680,577,296
-342 to the power 5-4,678,757,435,232
First ten multiples-342, -684, -1,026, -1,368, -1,710, -2,052, -2,394, -2,736, -3,078, -3,420
Powers of twoBetween 2^8 (256) and 2^9 (512)

Divisibility tests

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

As a percentage & fraction

As a percentage-34,200%
-342% as a decimal-3.42
-342% of 100-342
-342% of 1,000-3,420
As a fraction of 100-342/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 “-342” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.