Recognised as Number
401,157
- Positive
- Odd
- Composite
- 6 digits
401,157 is an odd 6-digit integer and a composite number. It has 18 divisors and a digital root of 9.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value401,157
Digit count6
Digit sum18
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root9repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3^2 × 29^2 × 53
Distinct prime factors33, 29, 53
Number of divisors18
Sum of divisors σ(n)611,442
Aliquot sum210,285sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)253,344integers below n that share no factor with it
Carmichael function λ(n)31,668the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 253,344
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 9, 29, 53, 87, 159, 261, 477, 841, 1,537, 2,523, 4,611, 7,569, 13,833, 44,573, 133,719, 401,15718 in total
Arithmetic
Representations
Decimal401,157
Binary110000111110000010119 bits
Octal1417405
Hexadecimal61F05
Base 368LJ9
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and one thousand, one hundred and fifty-seven
Ordinalfour hundred and one thousand, one hundred and fifty-seventh
Scientific notation4.01157 × 10^5
Engineering notation401.157 × 10^3
In other bases
Ternary202101021200base 3; the most digit-efficient integer base after e: 12 digits
Quinary100314112base 5; one hand: 9 digits
Septenary3260361base 7: 7 digits
Nonary671250base 9; each digit is two ternary digits: 6 digits
Duodecimal174199base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a2hhbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:25:57base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T10110TT00digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110001100000101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001100001111100000101
Bit length19 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits10within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes306 1f 05
Gray code1010001000010000111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001100001111100000101
64-bit0000000000000000000000000000000000000000000001100001111100000101
One's complement11111111111110011110000011111010at 32 bits, every bit flipped
Bits reversed10100000111110000110000000000000at 32 bits
Rotated left by 100000000000011000011111000001010at 32 bits, wrapping
Shifted left by 111000011111000001010= 802,314, no wrap
Shifted right by 1110000111110000010= 200,578, discarding the low bit
These bits as a double1.98197892 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
401,157 to the power 2160,926,938,649
401,157 to the power 364,556,967,927,616,893
401,157 to the power 425,897,479,582,939,009,945,201
401,157 to the power 510,388,955,217,053,064,412,586,997,557
First ten multiples401,157, 802,314, 1,203,471, 1,604,628, 2,005,785, 2,406,942, 2,808,099, 3,209,256, 3,610,413, 4,011,570
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3Yes
Divisible by 4No, remainder 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 3
Divisible by 7No, remainder 1
Divisible by 8No, remainder 5
Divisible by 9Yes
Divisible by 10No, remainder 7
Divisible by 11No, remainder 9
Divisible by 12No, remainder 9
Divisible by 100No, remainder 57
Collatz (3n + 1) trajectory
Steps to reach 168the total stopping time
Highest value reached1,203,4723× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps401,157 → 1,203,472 → 601,736 → 300,868 → 150,434 → 75,217 → 225,652 → 112,826 → 56,413 → 169,240 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage40,115,700%
401,157% as a decimal4,011.57
401,157% of 100401,157
401,157% of 1,0004,011,570
As a fraction of 100401,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 401,157
Also reads as
#401157 (colour)
- #401157
- Violet
- Dark
- Nearest: Midnight blue
#401157 is a violet with RGB values 64, 17, 87 and HSL 280°, 67%, 20%. It is a dark colour, so white text on it reaches 14.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#401157#401157
HEX#401157
RGBrgb(64, 17, 87)
RGB (0–1)0.251, 0.0667, 0.3412
RGB percentages25.1%, 6.7%, 34.1%
HSLhsl(280.3, 67.3%, 20.4%)
HSV / HSBhsv(280.3, 80.5%, 34.1%)
CMYK26.4%, 80.5%, 0%, 65.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,198,743
CSS custom property--colour: #401157;
Brightness & contrast
Relative luminance0.02179WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.63:1
Contrast with white14.63:1WCAG normal text: AAA
Contrast with black1.44:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#BFEEA8
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.63:1WCAG large text: AAA
Contrast with black, large text1.44:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#285711
Analogous#1D1157, #57114B
Triadic#574011, #115740
Split complementary#4B5711, #11571D
Tetradic#571D11, #285711, #114B57
Tints, shades & saturation
Channel breakdown
R64
G17
B87
Red64 (25.1%)
Green17 (6.7%)
Blue87 (34.1%)
Hue280.29°
Saturation (HSL)67.31%
Lightness20.39%
Dominant channelBlue
Hex per channelR 40 · 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