Recognised as Number
157,331
- Positive
- Odd
- Composite
- 6 digits
157,331 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value157,331
Digit count6
Digit sum20
Digit product315
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation131 × 1,201
Distinct prime factors2131, 1,201
Number of divisors4
Sum of divisors σ(n)158,664
Aliquot sum1,333sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)156,000integers below n that share no factor with it
Carmichael function λ(n)15,600the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 156,000
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 131, 1,201, 157,3314 in total
Arithmetic
Representations
Decimal157,331
Binary10011001101001001118 bits
Octal463223
Hexadecimal26693
Base 363DEB
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsone hundred and fifty-seven thousand, three hundred and thirty-one
Ordinalone hundred and fifty-seven thousand, three hundred and thirty-first
Scientific notation1.57331 × 10^5
Engineering notation157.331 × 10^3
In other bases
Ternary21222211002base 3; the most digit-efficient integer base after e: 11 digits
Quinary20013311base 5; one hand: 8 digits
Septenary1223456base 7: 7 digits
Nonary258732base 9; each digit is two ternary digits: 6 digits
Duodecimal7706bbase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 5 digits
Vigesimaljd6bbase 20; hands and feet, and the Mayan and Yoruba systems: 4 digits
Sexagesimal43:42:11base 60; Babylonian, and still how an hour and a circle are divided: 3 digits
Balanced ternary10T000T1101Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1111011101110010111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000000100110011010010011
Bit length18 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits9within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 17worth 131,072
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes302 66 93
Gray code110101010111011010n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000000100110011010010011
64-bit0000000000000000000000000000000000000000000000100110011010010011
One's complement11111111111111011001100101101100at 32 bits, every bit flipped
Bits reversed11001001011001100100000000000000at 32 bits
Rotated left by 100000000000001001100110100100110at 32 bits, wrapping
Shifted left by 11001100110100100110= 314,662, no wrap
Shifted right by 110011001101001001= 78,665, discarding the low bit
These bits as a double7.77318421 × 10^-319≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
157,331 to the power 224,753,043,561
157,331 to the power 33,894,421,096,495,691
157,331 to the power 4612,713,165,532,763,560,721
157,331 to the power 596,398,775,046,435,223,771,795,651
First ten multiples157,331, 314,662, 471,993, 629,324, 786,655, 943,986, 1,101,317, 1,258,648, 1,415,979, 1,573,310
Powers of twoBetween 2^17 (131,072) and 2^18 (262,144)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 3
Divisible by 5No, remainder 1
Divisible by 6No, remainder 5
Divisible by 7No, remainder 6
Divisible by 8No, remainder 3
Divisible by 9No, remainder 2
Divisible by 10No, remainder 1
Divisible by 11No, remainder 9
Divisible by 12No, remainder 11
Divisible by 100No, remainder 31
Collatz (3n + 1) trajectory
Steps to reach 151the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps157,331 → 471,994 → 235,997 → 707,992 → 353,996 → 176,998 → 88,499 → 265,498 → 132,749 → 398,248 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage15,733,100%
157,331% as a decimal1,573.31
157,331% of 100157,331
157,331% of 1,0001,573,310
As a fraction of 100157,331/100
Read another way
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 157,331
Also reads as
#157331 (colour)
- #157331
- Green
- Dark
- Nearest: Sea green
#157331 is a green with RGB values 21, 115, 49 and HSL 138°, 69%, 27%. It is a dark colour, so white text on it reaches 6:1 contrast (AA for normal text). The nearest named colour is Sea green.
Colour values
#157331#157331
HEX#157331
RGBrgb(21, 115, 49)
RGB (0–1)0.0824, 0.451, 0.1922
RGB percentages8.2%, 45.1%, 19.2%
HSLhsl(137.9, 69.1%, 26.7%)
HSV / HSBhsv(137.9, 81.7%, 45.1%)
CMYK81.7%, 0%, 57.4%, 54.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,405,745
CSS custom property--colour: #157331;
Brightness & contrast
Relative luminance0.12643WCAG 2.x, 0 is black and 1 is white
Perceived brightness90.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.95:1
Contrast with white5.95:1WCAG normal text: AA
Contrast with black3.53:1WCAG normal text: Fail
Greyscale equivalent#5A5A5A
Inverted#EA8CCE
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.95:1WCAG large text: AAA
Contrast with black, large text3.53:1WCAG large text: AA
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#731557
Analogous#287315, #157360
Triadic#311573, #733115
Split complementary#601573, #731528
Tetradic#152873, #731557, #736015
Tints, shades & saturation
Channel breakdown
R21
G115
B49
Red21 (8.2%)
Green115 (45.1%)
Blue49 (19.2%)
Hue137.87°
Saturation (HSL)69.12%
Lightness26.67%
Dominant channelGreen
Hex per channelR 15 · G 73 · B 31
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page