Nerdulator> put something in

Recognised as Number

31,999

  • Positive
  • Odd
  • Composite
  • 5 digits

31,999 is an odd 5-digit integer and a composite number. It has 4 divisors and a digital root of 4.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value31,999
Digit count5
Digit sum31
Digit product2,187
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root4repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation11 × 2,909
Distinct prime factors211, 2,909
Number of divisors4
Sum of divisors σ(n)34,920
Aliquot sum2,921sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)29,080integers below n that share no factor with it
Carmichael function λ(n)14,540the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 29,080
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 11, 2,909, 31,9994 in total

Arithmetic

Previous number31,998
Next number32,000
Double63,998
Square root178.882643093≈irrational, shown to 9 decimal places
Cube root31.747690327≈
Negation-31,999
Reciprocal0.000031251≈

Representations

Decimal31,999
Binary11111001111111115 bits
Octal76377
Hexadecimal7CFF
Base 36OOV
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthirty-one thousand, nine hundred and ninety-nine
Ordinalthirty-one thousand, nine hundred and ninety-ninth
Scientific notation3.1999 × 10^4
Engineering notation31.999 × 10^3

In other bases

Ternary1121220011base 3; the most digit-efficient integer base after e: 10 digits
Quinary2010444base 5; one hand: 7 digits
Septenary162202base 7: 6 digits
Nonary47804base 9; each digit is two ternary digits: 5 digits
Duodecimal16627base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 5 digits
Vigesimal3jjjbase 20; hands and feet, and the Mayan and Yoruba systems: 4 digits
Sexagesimal8:53:19base 60; Babylonian, and still how an hour and a circle are divided: 3 digits
Balanced ternary1TT0T0T0011digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary11000110100000011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

0111110011111111
Bit length15 bitsto write the magnitude
Set bits13the population count, or Hamming weight
Zero bits2within that length
Bit parityodd13 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 14worth 16,384
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes27c ff
Gray code100001010000000n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit0111110011111111
32-bit00000000000000000111110011111111
64-bit0000000000000000000000000000000000000000000000000111110011111111
One's complement1000001100000000at 16 bits, every bit flipped
Bits reversed1111111100111110at 16 bits
Rotated left by 11111100111111110at 16 bits, wrapping
Shifted left by 11111100111111110= 63,998, no wrap
Shifted right by 111111001111111= 15,999, discarding the low bit
These bits as a double1.58096066 × 10^-319≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime32,003+4
Previous prime31,991−8
Distance to nearest prime4
Nearest square below31,684
Nearest square above32,041

Powers & multiples

31,999 to the power 21,023,936,001
31,999 to the power 332,764,928,095,999
31,999 to the power 41,048,444,934,143,872,001
31,999 to the power 533,549,189,447,669,760,159,999
First ten multiples31,999, 63,998, 95,997, 127,996, 159,995, 191,994, 223,993, 255,992, 287,991, 319,990
Powers of twoBetween 2^14 (16,384) and 2^15 (32,768)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 198the total stopping time
Highest value reached2,335,44472× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps31,999 → 95,998 → 47,999 → 143,998 → 71,999 → 215,998 → 107,999 → 323,998 → 161,999 → 485,998 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage3,199,900%
31,999% as a decimal319.99
31,999% of 10031,999
31,999% of 1,000319,990
As a fraction of 10031,999/100

Read another way

As bytes31.249 KiB
As a 24-bit colour#007CFF

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