Nerdulator> put something in

Number

31

  • Positive
  • Odd
  • Prime
  • 2 digits

31 is an odd 2-digit integer and a prime number. It has 2 divisors and a digital root of 4.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value31
Digit count2
Digit sum4
Digital root4repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation31
Distinct prime factors131
Number of divisors2
Sum of divisors σ(n)32
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)30integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 312 in total

Arithmetic

Previous number30
Next number32
Double62
Half15.5
Square961
Cube29,791
Square root5.567764363irrational, shown to 9 decimal places
Cube root3.141380652
Negation-31
Reciprocal0.0322580645
31 factorial8,222,838,654,177,922,817,725,562,880,000,000

Representations

Decimal31
Binary111115 bits
Octal37
Hexadecimal1F
Base 36V
Roman numeralXXXI
In wordsthirty-one
Ordinalthirty-first
Scientific notation3.1 × 10^1
Engineering notation31

Nearest landmarks

Next prime37+6
Previous prime29−2
Distance to nearest prime0, it is prime
Nearest square below25
Nearest square above36

Powers & multiples

31 to the power 2961
31 to the power 329,791
31 to the power 4923,521
31 to the power 528,629,151
First ten multiples31, 62, 93, 124, 155, 186, 217, 248, 279, 310
Powers of twoBetween 2^4 (16) and 2^5 (32)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 1106the total stopping time
Highest value reached9,232297× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps31 → 94 → 47 → 142 → 71 → 214 → 107 → 322 → 161 → 484 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage3,100%
31% as a decimal0.31
31% of 10031
31% of 1,000310
As a fraction of 10031/100

Read another way

As seconds31 seconds
As bytes31 B
As a 24-bit colour#00001F

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