Recognised as Number
402,161
- Positive
- Odd
- Composite
- 6 digits
402,161 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 5.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value402,161
Digit count6
Digit sum14
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation397 × 1,013
Distinct prime factors2397, 1,013
Number of divisors4
Sum of divisors σ(n)403,572
Aliquot sum1,411sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)400,752integers below n that share no factor with it
Carmichael function λ(n)9,108the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 400,752
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 397, 1,013, 402,1614 in total
Arithmetic
Representations
Decimal402,161
Binary110001000101111000119 bits
Octal1421361
Hexadecimal622F1
Base 368MB5
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and two thousand, one hundred and sixty-one
Ordinalfour hundred and two thousand, one hundred and sixty-first
Scientific notation4.02161 × 10^5
Engineering notation402.161 × 10^3
In other bases
Ternary202102122212base 3; the most digit-efficient integer base after e: 12 digits
Quinary100332121base 5; one hand: 9 digits
Septenary3263324base 7: 7 digits
Nonary672585base 9; each digit is two ternary digits: 6 digits
Duodecimal174895base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a581base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:42:41base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T110T000TTdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110011100110001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001100010001011110001
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 22 f1
Gray code1010011001110001001n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001100010001011110001
64-bit0000000000000000000000000000000000000000000001100010001011110001
One's complement11111111111110011101110100001110at 32 bits, every bit flipped
Bits reversed10001111010001000110000000000000at 32 bits
Rotated left by 100000000000011000100010111100010at 32 bits, wrapping
Shifted left by 111000100010111100010= 804,322, no wrap
Shifted right by 1110001000101111000= 201,080, discarding the low bit
These bits as a double1.98693934 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
402,161 to the power 2161,733,469,921
402,161 to the power 365,042,893,996,899,281
402,161 to the power 426,157,715,292,687,011,746,241
402,161 to the power 510,519,612,939,822,301,330,880,026,801
First ten multiples402,161, 804,322, 1,206,483, 1,608,644, 2,010,805, 2,412,966, 2,815,127, 3,217,288, 3,619,449, 4,021,610
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 1
Divisible by 6No, remainder 5
Divisible by 7No, remainder 4
Divisible by 8No, remainder 1
Divisible by 9No, remainder 5
Divisible by 10No, remainder 1
Divisible by 11No, remainder 1
Divisible by 12No, remainder 5
Divisible by 100No, remainder 61
Collatz (3n + 1) trajectory
Steps to reach 1161the total stopping time
Highest value reached1,206,4843× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402,161 → 1,206,484 → 603,242 → 301,621 → 904,864 → 452,432 → 226,216 → 113,108 → 56,554 → 28,277 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage40,216,100%
402,161% as a decimal4,021.61
402,161% of 100402,161
402,161% of 1,0004,021,610
As a fraction of 100402,161/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 402,161
Also reads as
#402161 (colour)
- #402161
- Violet
- Dark
- Nearest: Dark slateblue
#402161 is a violet with RGB values 64, 33, 97 and HSL 269°, 49%, 25%. It is a dark colour, so white text on it reaches 13.1:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#402161#402161
HEX#402161
RGBrgb(64, 33, 97)
RGB (0–1)0.251, 0.1294, 0.3804
RGB percentages25.1%, 12.9%, 38%
HSLhsl(269.1, 49.2%, 25.5%)
HSV / HSBhsv(269.1, 66%, 38%)
CMYK34%, 66%, 0%, 62%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,849
CSS custom property--colour: #402161;
Brightness & contrast
Relative luminance0.03041WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.06:1
Contrast with white13.06:1WCAG normal text: AAA
Contrast with black1.61:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#BFDE9E
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.06:1WCAG large text: AAA
Contrast with black, large text1.61:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#426121
Analogous#212261, #602161
Triadic#614021, #216140
Split complementary#616021, #226121
Tetradic#612122, #426121, #216160
Tints, shades & saturation
Channel breakdown
R64
G33
B97
Red64 (25.1%)
Green33 (12.9%)
Blue97 (38%)
Hue269.06°
Saturation (HSL)49.23%
Lightness25.49%
Dominant channelBlue
Hex per channelR 40 · G 21 · B 61
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