Nerdulator> put something in

Number

127

  • Positive
  • Odd
  • Prime
  • 3 digits

127 is an odd 3-digit integer and a prime number. It has 2 divisors and a digital root of 1.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value127
Digit count3
Digit sum10
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

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

Arithmetic

Previous number126
Next number128
Double254
Half63.5
Square16,129
Square root11.26942767irrational, shown to 9 decimal places
Cube root5.026525695
Negation-127
Reciprocal0.0078740157
127 factorial3012660018457659544809977077527059692324… (214 digits)

Representations

Decimal127
Binary11111117 bits
Octal177
Hexadecimal7F
Base 363J
Roman numeralCXXVII
In wordsone hundred and twenty-seven
Ordinalone hundred and twenty-seventh
Scientific notation1.27 × 10^2
Engineering notation127

Nearest landmarks

Next prime131+4
Previous prime113−14
Distance to nearest prime0, it is prime
Nearest square below121
Nearest square above144

Powers & multiples

127 to the power 216,129
127 to the power 32,048,383
127 to the power 4260,144,641
127 to the power 533,038,369,407
First ten multiples127, 254, 381, 508, 635, 762, 889, 1,016, 1,143, 1,270
Powers of twoBetween 2^6 (64) and 2^7 (128)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 146the total stopping time
Highest value reached4,37234× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps127 → 382 → 191 → 574 → 287 → 862 → 431 → 1,294 → 647 → 1,942 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage12,700%
127% as a decimal1.27
127% of 100127
127% of 1,0001,270
As a fraction of 100127/100

Read another way

As bytes127 B
As a 24-bit colour#00007F

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Also reads as

#112277 (colour)

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

#112277 is a blue with RGB values 17, 34, 119 and HSL 230°, 75%, 27%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#112277#112277
HEX#112277
HEX (short)#127
RGBrgb(17, 34, 119)
RGB (0–1)0.0667, 0.1333, 0.4667
RGB percentages6.7%, 13.3%, 46.7%
HSLhsl(230, 75%, 26.7%)
HSV / HSBhsv(230, 85.7%, 46.7%)
CMYK85.7%, 71.4%, 0%, 53.3%naive device-independent conversion; real print needs an ICC profile
24-bit integer1,122,935
CSS custom property--colour: #112277;

Brightness & contrast

Relative luminance0.02595WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.82:1
Contrast with white13.82:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#EEDD88

Colour vision & accessibility

Protanopia#00327Ano red cones; affects about 1% of men; ΔE 13.1 from the original
Deuteranopia#002875no green cones; the most common form, about 1% of men; ΔE 6.8 from the original
Tritanopia#003A49no blue cones; rare, and affects men and women equally; ΔE 52.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.82:1WCAG large text: AAA
Contrast with black, large text1.52:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 4.67, a close match
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#776611
Analogous#115577, #331177
Triadic#771122, #227711
Split complementary#773311, #557711
Tetradic#771155, #776611, #117733

Tints, shades & saturation

Lighter +40%#6A80EA
Lighter +30%#3E59E3
Lighter +20%#1E3BD0
Lighter +10%#172FA4
Darker −10%#0B154A
Darker −20%#04091E
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001788
Less saturated −25%#222D66

Channel breakdown

R17
G34
B119
Red17 (6.7%)
Green34 (13.3%)
Blue119 (46.7%)
Hue230°
Saturation (HSL)75%
Lightness26.67%
Dominant channelBlue
Hex per channelR 11 · G 22 · B 77

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