Recognised as Number
400,371
- Positive
- Odd
- Composite
- 6 digits
400,371 is an odd 6-digit integer and a composite number. It has 8 divisors and a digital root of 6.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value400,371
Digit count6
Digit sum15
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3 × 317 × 421
Distinct prime factors33, 317, 421
Number of divisors8
Sum of divisors σ(n)536,784
Aliquot sum136,413sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)265,440integers below n that share no factor with it
Carmichael function λ(n)33,180the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 265,440
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 3, 317, 421, 951, 1,263, 133,457, 400,3718 in total
Arithmetic
Representations
Decimal400,371
Binary110000110111111001119 bits
Octal1415763
Hexadecimal61BF3
Base 368KXF
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred thousand, three hundred and seventy-one
Ordinalfour hundred thousand, three hundred and seventy-first
Scientific notation4.00371 × 10^5
Engineering notation400.371 × 10^3
In other bases
Ternary202100012120base 3; the most digit-efficient integer base after e: 12 digits
Quinary100302441base 5; one hand: 9 digits
Septenary3255156base 7: 7 digits
Nonary670176base 9; each digit is two ternary digits: 6 digits
Duodecimal173843base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a0ibbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:12:51base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T1001T0TT0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110110000110111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001100001101111110011
Bit length19 bitsto write the magnitude
Set bits12the population count, or Hamming weight
Zero bits7within that length
Bit parityeven12 set bits, so even; 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 1b f3
Gray code1010001011000001010n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001100001101111110011
64-bit0000000000000000000000000000000000000000000001100001101111110011
One's complement11111111111110011110010000001100at 32 bits, every bit flipped
Bits reversed11001111110110000110000000000000at 32 bits
Rotated left by 100000000000011000011011111100110at 32 bits, wrapping
Shifted left by 111000011011111100110= 800,742, no wrap
Shifted right by 1110000110111111001= 200,185, discarding the low bit
These bits as a double1.97809557 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
400,371 to the power 2160,296,937,641
400,371 to the power 364,178,245,220,264,811
400,371 to the power 425,695,108,217,082,642,644,881
400,371 to the power 510,287,576,171,981,594,718,373,650,851
First ten multiples400,371, 800,742, 1,201,113, 1,601,484, 2,001,855, 2,402,226, 2,802,597, 3,202,968, 3,603,339, 4,003,710
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 3
Divisible by 5No, remainder 1
Divisible by 6No, remainder 3
Divisible by 7No, remainder 6
Divisible by 8No, remainder 3
Divisible by 9No, remainder 6
Divisible by 10No, remainder 1
Divisible by 11No, remainder 4
Divisible by 12No, remainder 3
Divisible by 100No, remainder 71
Collatz (3n + 1) trajectory
Steps to reach 1117the total stopping time
Highest value reached1,801,6724× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps400,371 → 1,201,114 → 600,557 → 1,801,672 → 900,836 → 450,418 → 225,209 → 675,628 → 337,814 → 168,907 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage40,037,100%
400,371% as a decimal4,003.71
400,371% of 100400,371
400,371% of 1,0004,003,710
As a fraction of 100400,371/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 400,371
Also reads as
#400371 (colour)
- #400371
- Violet
- Dark
- Nearest: Indigo
#400371 is a violet with RGB values 64, 3, 113 and HSL 273°, 95%, 23%. It is a dark colour, so white text on it reaches 14.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#400371#400371
HEX#400371
RGBrgb(64, 3, 113)
RGB (0–1)0.251, 0.0118, 0.4431
RGB percentages25.1%, 1.2%, 44.3%
HSLhsl(273.3, 94.8%, 22.7%)
HSV / HSBhsv(273.3, 97.3%, 44.3%)
CMYK43.4%, 97.3%, 0%, 55.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,195,185
CSS custom property--colour: #400371;
Brightness & contrast
Relative luminance0.02347WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.29:1
Contrast with white14.29:1WCAG normal text: AAA
Contrast with black1.47:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#BFFC8E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.29:1WCAG large text: AAA
Contrast with black, large text1.47:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#347103
Analogous#090371, #71036B
Triadic#714003, #037140
Split complementary#6B7103, #037109
Tetradic#710903, #347103, #036B71
Tints, shades & saturation
Channel breakdown
R64
G3
B113
Red64 (25.1%)
Green3 (1.2%)
Blue113 (44.3%)
Hue273.27°
Saturation (HSL)94.83%
Lightness22.75%
Dominant channelBlue
Hex per channelR 40 · G 03 · B 71
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