Number
331,157
- Positive
- Odd
- Composite
- 6 digits
331,157 is an odd 6-digit integer and a composite number. It has 6 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value331,157
Digit count6
Digit sum20
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation41^2 × 197
Distinct prime factors241, 197
Number of divisors6
Sum of divisors σ(n)341,154
Aliquot sum9,997sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)321,440integers below n that share no factor with it
SquarefreeNohas a repeated prime factor
All divisors1, 41, 197, 1,681, 8,077, 331,1576 in total
Arithmetic
Representations
Decimal331,157
Binary101000011011001010119 bits
Octal1206625
Hexadecimal50D95
Base 3673IT
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and thirty-one thousand, one hundred and fifty-seven
Ordinalthree hundred and thirty-one thousand, one hundred and fifty-seventh
Scientific notation3.31157 × 10^5
Engineering notation331.157 × 10^3
Nearest landmarks
Powers & multiples
331,157 to the power 2109,664,958,649
331,157 to the power 336,316,318,711,326,893
331,157 to the power 412,026,403,155,486,879,905,201
331,157 to the power 53,982,627,589,761,568,688,766,647,557
First ten multiples331,157, 662,314, 993,471, 1,324,628, 1,655,785, 1,986,942, 2,318,099, 2,649,256, 2,980,413, 3,311,570
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 5
Divisible by 7No, remainder 1
Divisible by 8No, remainder 5
Divisible by 9No, remainder 2
Divisible by 10No, remainder 7
Divisible by 11No, remainder 2
Divisible by 12No, remainder 5
Divisible by 100No, remainder 57
Collatz (3n + 1) trajectory
Steps to reach 1153the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps331,157 → 993,472 → 496,736 → 248,368 → 124,184 → 62,092 → 31,046 → 15,523 → 46,570 → 23,285 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage33,115,700%
331,157% as a decimal3,311.57
331,157% of 100331,157
331,157% of 1,0003,311,570
As a fraction of 100331,157/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 331,157
Also reads as
#331157 (colour)
- #331157
- Violet
- Dark
- Nearest: Midnight blue
#331157 is a violet with RGB values 51, 17, 87 and HSL 269°, 67%, 20%. It is a dark colour, so white text on it reaches 15.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#331157#331157
HEX#331157
RGBrgb(51, 17, 87)
RGB (0–1)0.2, 0.0667, 0.3412
RGB percentages20%, 6.7%, 34.1%
HSLhsl(269.1, 67.3%, 20.4%)
HSV / HSBhsv(269.1, 80.5%, 34.1%)
CMYK41.4%, 80.5%, 0%, 65.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,346,775
CSS custom property--colour: #331157;
Brightness & contrast
Relative luminance0.01793WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.46:1
Contrast with white15.46:1WCAG normal text: AAA
Contrast with black1.36:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#CCEEA8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.46:1WCAG large text: AAA
Contrast with black, large text1.36:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#355711
Analogous#111257, #561157
Triadic#573311, #115733
Split complementary#575611, #125711
Tetradic#571112, #355711, #115756
Tints, shades & saturation
Channel breakdown
R51
G17
B87
Red51 (20%)
Green17 (6.7%)
Blue87 (34.1%)
Hue269.14°
Saturation (HSL)67.31%
Lightness20.39%
Dominant channelBlue
Hex per channelR 33 · G 11 · B 57
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