Recognised as Number
400,152
- Positive
- Even
- Composite
- 6 digits
400,152 is an even 6-digit integer and a composite number. It has 16 divisors and a digital root of 3.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value400,152
Digit count6
Digit sum12
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root3repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum
Factors & divisors
Prime factorisation2^3 × 3 × 16,673
Distinct prime factors32, 3, 16,673
Number of divisors16
Sum of divisors σ(n)1,000,440
Aliquot sum600,288sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)133,376integers below n that share no factor with it
Carmichael function λ(n)16,672the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 133,376
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 3, 4, 6, 8, 12, 24, 16,673, 33,346, 50,019, 66,692, 100,038, 133,384, 200,076, 400,15216 in total
Arithmetic
Representations
Decimal400,152
Binary110000110110001100019 bits
Octal1415430
Hexadecimal61B18
Base 368KRC
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred thousand, one hundred and fifty-two
Ordinalfour hundred thousand, one hundred and fifty-second
Scientific notation4.00152 × 10^5
Engineering notation400.152 × 10^3
In other bases
Ternary202022220110base 3; the most digit-efficient integer base after e: 12 digits
Quinary100301102base 5; one hand: 9 digits
Septenary3254424base 7: 7 digits
Nonary668813base 9; each digit is two ternary digits: 6 digits
Duodecimal1736a0base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a07cbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:9:12base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T1000T0110digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110111101101000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001100001101100011000
Bit length19 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits11within that length
Bit parityeven8 set bits, so even; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 33 trailing zeros
Power of twoNo
Bytes306 1b 18
Gray code1010001011010010100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001100001101100011000
64-bit0000000000000000000000000000000000000000000001100001101100011000
One's complement11111111111110011110010011100111at 32 bits, every bit flipped
Bits reversed00011000110110000110000000000000at 32 bits
Rotated left by 100000000000011000011011000110000at 32 bits, wrapping
Shifted left by 111000011011000110000= 800,304, no wrap
Shifted right by 1110000110110001100= 200,076, discarding the low bit
These bits as a double1.97701356 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
400,152 to the power 2160,121,623,104
400,152 to the power 364,072,987,728,311,808
400,152 to the power 425,638,934,185,459,426,594,816
400,152 to the power 510,259,470,792,179,960,470,768,812,032
First ten multiples400,152, 800,304, 1,200,456, 1,600,608, 2,000,760, 2,400,912, 2,801,064, 3,201,216, 3,601,368, 4,001,520
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3Yes
Divisible by 4Yes
Divisible by 5No, remainder 2
Divisible by 6Yes
Divisible by 7No, remainder 4
Divisible by 8Yes
Divisible by 9No, remainder 3
Divisible by 10No, remainder 2
Divisible by 11No, remainder 5
Divisible by 12Yes
Divisible by 100No, remainder 52
Collatz (3n + 1) trajectory
Steps to reach 1161the total stopping time
Highest value reached400,152
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps400,152 → 200,076 → 100,038 → 50,019 → 150,058 → 75,029 → 225,088 → 112,544 → 56,272 → 28,136 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage40,015,200%
400,152% as a decimal4,001.52
400,152% of 100400,152
400,152% of 1,0004,001,520
As a fraction of 100400,152/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,152
Also reads as
#400152 (colour)
- #400152
- Violet
- Dark
- Nearest: Midnight blue
#400152 is a violet with RGB values 64, 1, 82 and HSL 287°, 98%, 16%. It is a dark colour, so white text on it reaches 15.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#400152#400152
HEX#400152
RGBrgb(64, 1, 82)
RGB (0–1)0.251, 0.0039, 0.3216
RGB percentages25.1%, 0.4%, 32.2%
HSLhsl(286.7, 97.6%, 16.3%)
HSV / HSBhsv(286.7, 98.8%, 32.2%)
CMYK22%, 98.8%, 0%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,194,642
CSS custom property--colour: #400152;
Brightness & contrast
Relative luminance0.01721WCAG 2.x, 0 is black and 1 is white
Perceived brightness44.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.62:1
Contrast with white15.62:1WCAG normal text: AAA
Contrast with black1.34:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#BFFEAD
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.62:1WCAG large text: AAA
Contrast with black, large text1.34:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#135201
Analogous#180152, #52013B
Triadic#524001, #015240
Split complementary#3B5201, #015218
Tetradic#521801, #135201, #013B52
Tints, shades & saturation
Channel breakdown
R64
G1
B82
Red64 (25.1%)
Green1 (0.4%)
Blue82 (32.2%)
Hue286.67°
Saturation (HSL)97.59%
Lightness16.27%
Dominant channelBlue
Hex per channelR 40 · G 01 · B 52
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