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.

The canonical address for this page is /31.

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.

Also reads as

#000031 (colour)

  • #000031
  • Blue
  • Dark
  • Nearest: Midnight blue

#000031 is a blue with RGB values 0, 0, 49 and HSL 240°, 100%, 10%. It is a dark colour, so white text on it reaches 20.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#000031#000031
HEX#000031
RGBrgb(0, 0, 49)
RGB (0–1)0, 0, 0.1922
RGB percentages0%, 0%, 19.2%
HSLhsl(240, 100%, 9.6%)
HSV / HSBhsv(240, 100%, 19.2%)
CMYK100%, 100%, 0%, 80.8%naive device-independent conversion; real print needs an ICC profile
24-bit integer49
CSS custom property--colour: #000031;

Brightness & contrast

Relative luminance0.00222WCAG 2.x, 0 is black and 1 is white
Perceived brightness16.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 20.11:1
Contrast with white20.11:1WCAG normal text: AAA
Contrast with black1.04:1WCAG normal text: Fail
Greyscale equivalent#040404
Inverted#FFFFCE

Colour vision & accessibility

Protanopia#000A32no red cones; affects about 1% of men; ΔE 4.7 from the original
Deuteranopia#000530no green cones; the most common form, about 1% of men; ΔE 3.5 from the original
Tritanopia#000E18no blue cones; rare, and affects men and women equally; ΔE 26.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text20.11:1WCAG large text: AAA
Contrast with black, large text1.04:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 30.56, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#313100
Analogous#001931, #190031
Triadic#310000, #003100
Split complementary#311900, #193100
Tetradic#310019, #313100, #003119

Tints, shades & saturation

Lighter +40%#0000FD
Lighter +30%#0000CA
Lighter +20%#000097
Lighter +10%#000064
Darker −10%#000000
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000031
Less saturated −25%#06062B

Channel breakdown

R0
G0
B49
Red0 (0%)
Green0 (0%)
Blue49 (19.2%)
Hue240°
Saturation (HSL)100%
Lightness9.61%
Dominant channelBlue
Hex per channelR 00 · G 00 · B 31

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

This page is marked noindex: duplicate of /31.