Recognised as Number
157,142
- Positive
- Even
- Composite
- 6 digits
157,142 is an even 6-digit integer and a composite number. It has 4 divisors and a digital root of 2.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value157,142
Digit count6
Digit sum20
Digit product280
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 78,571
Distinct prime factors22, 78,571
Number of divisors4
Sum of divisors σ(n)235,716
Aliquot sum78,574sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)78,570integers below n that share no factor with it
Carmichael function λ(n)78,570the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 78,571, 157,1424 in total
Arithmetic
Representations
Decimal157,142
Binary10011001011101011018 bits
Octal462726
Hexadecimal265D6
Base 363D92
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsone hundred and fifty-seven thousand, one hundred and forty-two
Ordinalone hundred and fifty-seven thousand, one hundred and forty-second
Scientific notation1.57142 × 10^5
Engineering notation157.142 × 10^3
In other bases
Ternary21222120002base 3; the most digit-efficient integer base after e: 11 digits
Quinary20012032base 5; one hand: 8 digits
Septenary1223066base 7: 7 digits
Nonary258502base 9; each digit is two ternary digits: 6 digits
Duodecimal76b32base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 5 digits
Vigesimaljch2base 20; hands and feet, and the Mayan and Yoruba systems: 4 digits
Sexagesimal43:39:2base 60; Babylonian, and still how an hour and a circle are divided: 3 digits
Balanced ternary10T000TT001Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1111011101000101010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000000100110010111010110
Bit length18 bitsto write the magnitude
Set bits10the population count, or Hamming weight
Zero bits8within that length
Bit parityeven10 set bits, so even; not the same as the number itself being even
Highest set bitbit 17worth 131,072
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes302 65 d6
Gray code110101011100111101n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000000100110010111010110
64-bit0000000000000000000000000000000000000000000000100110010111010110
One's complement11111111111111011001101000101001at 32 bits, every bit flipped
Bits reversed01101011101001100100000000000000at 32 bits
Rotated left by 100000000000001001100101110101100at 32 bits, wrapping
Shifted left by 11001100101110101100= 314,284, no wrap
Shifted right by 110011001011101011= 78,571, discarding the low bit
These bits as a double7.76384637 × 10^-319≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
157,142 to the power 224,693,608,164
157,142 to the power 33,880,402,974,107,288
157,142 to the power 4609,774,284,157,167,450,896
157,142 to the power 595,821,150,561,025,607,568,699,232
First ten multiples157,142, 314,284, 471,426, 628,568, 785,710, 942,852, 1,099,994, 1,257,136, 1,414,278, 1,571,420
Powers of twoBetween 2^17 (131,072) and 2^18 (262,144)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4No, remainder 2
Divisible by 5No, remainder 2
Divisible by 6No, remainder 2
Divisible by 7No, remainder 6
Divisible by 8No, remainder 6
Divisible by 9No, remainder 2
Divisible by 10No, remainder 2
Divisible by 11No, remainder 7
Divisible by 12No, remainder 2
Divisible by 100No, remainder 42
Collatz (3n + 1) trajectory
Steps to reach 1201the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps157,142 → 78,571 → 235,714 → 117,857 → 353,572 → 176,786 → 88,393 → 265,180 → 132,590 → 66,295 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage15,714,200%
157,142% as a decimal1,571.42
157,142% of 100157,142
157,142% of 1,0001,571,420
As a fraction of 100157,142/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,142
Also reads as
#157142 (colour)
- #157142
- Green
- Dark
- Nearest: Sea green
#157142 is a green with RGB values 21, 113, 66 and HSL 149°, 69%, 26%. 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
#157142#157142
HEX#157142
RGBrgb(21, 113, 66)
RGB (0–1)0.0824, 0.4431, 0.2588
RGB percentages8.2%, 44.3%, 25.9%
HSLhsl(149.3, 68.7%, 26.3%)
HSV / HSBhsv(149.3, 81.4%, 44.3%)
CMYK81.4%, 0%, 41.6%, 55.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,405,250
CSS custom property--colour: #157142;
Brightness & contrast
Relative luminance0.12363WCAG 2.x, 0 is black and 1 is white
Perceived brightness90.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.05:1
Contrast with white6.05:1WCAG normal text: AA
Contrast with black3.47:1WCAG normal text: Fail
Greyscale equivalent#5A5A5A
Inverted#EA8EBD
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.05:1WCAG large text: AAA
Contrast with black, large text3.47:1WCAG large text: AA
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#711544
Analogous#167115, #157170
Triadic#421571, #714215
Split complementary#701571, #711516
Tetradic#151671, #711544, #717015
Tints, shades & saturation
Channel breakdown
R21
G113
B66
Red21 (8.2%)
Green113 (44.3%)
Blue66 (25.9%)
Hue149.35°
Saturation (HSL)68.66%
Lightness26.27%
Dominant channelGreen
Hex per channelR 15 · G 71 · B 42
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