Nerdulator> put something in

Recognised as Number

400,540

  • Positive
  • Even
  • Composite
  • 6 digits

400,540 is an even 6-digit integer and a composite number. It has 24 divisors and a digital root of 4.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value400,540
Digit count6
Digit sum13
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root4repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation2^2 × 5 × 7 × 2,861
Distinct prime factors42, 5, 7, 2,861
Number of divisors24
Sum of divisors σ(n)961,632
Aliquot sum561,092sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)137,280integers below n that share no factor with it
Carmichael function λ(n)8,580the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 137,280
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 5, 7, 10, 14, 20, 28, 35, 70, 140, 2,861, 5,722, 11,444, 14,305, 20,027, 28,610, 40,054, 57,220, 80,108, 100,135, 200,270, 400,54024 in total

Arithmetic

Previous number400,539
Next number400,541
Double801,080
Cube64,259,550,077,464,000
Square root632.882295534≈irrational, shown to 9 decimal places
Cube root73.713771347≈
Negation-400,540
Reciprocal0.0000024966≈

Representations

Decimal400,540
Binary110000111001001110019 bits
Octal1416234
Hexadecimal61C9C
Base 368L24
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred thousand, five hundred and forty
Ordinalfour hundred thousand, five hundred and fortieth
Scientific notation4.0054 × 10^5
Engineering notation400.54 × 10^3

In other bases

Ternary202100102211base 3; the most digit-efficient integer base after e: 12 digits
Quinary100304130base 5; one hand: 9 digits
Septenary3255520base 7: 7 digits
Nonary670384base 9; each digit is two ternary digits: 6 digits
Duodecimal173964base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a170base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:15:40base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T100110T11digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110110111101100base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000001100001110010011100
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 even
Highest set bitbit 18worth 262,144
Lowest set bitbit 22 trailing zeros
Power of twoNo
Bytes306 1c 9c
Gray code1010001001011010010n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001100001110010011100
64-bit0000000000000000000000000000000000000000000001100001110010011100
One's complement11111111111110011110001101100011at 32 bits, every bit flipped
Bits reversed00111001001110000110000000000000at 32 bits
Rotated left by 100000000000011000011100100111000at 32 bits, wrapping
Shifted left by 111000011100100111000= 801,080, no wrap
Shifted right by 1110000111001001110= 200,270, discarding the low bit
These bits as a double1.97893054 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime400,559+19
Previous prime400,523−17
Distance to nearest prime17
Nearest square below399,424
Nearest square above400,689

Powers & multiples

400,540 to the power 2160,432,291,600
400,540 to the power 364,259,550,077,464,000
400,540 to the power 425,738,520,188,027,430,560,000
400,540 to the power 510,309,306,876,112,507,036,502,400,000
First ten multiples400,540, 801,080, 1,201,620, 1,602,160, 2,002,700, 2,403,240, 2,803,780, 3,204,320, 3,604,860, 4,005,400
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)

Divisibility tests

Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4Yes
Divisible by 5Yes
Divisible by 6No, remainder 4
Divisible by 7Yes
Divisible by 8No, remainder 4
Divisible by 9No, remainder 4
Divisible by 10Yes
Divisible by 11No, remainder 8
Divisible by 12No, remainder 4
Divisible by 100No, remainder 40

Collatz (3n + 1) trajectory

Steps to reach 1117the total stopping time
Highest value reached760,4081× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps400,540 → 200,270 → 100,135 → 300,406 → 150,203 → 450,610 → 225,305 → 675,916 → 337,958 → 168,979 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage40,054,000%
400,540% as a decimal4,005.4
400,540% of 100400,540
400,540% of 1,0004,005,400
As a fraction of 100400,540/100

Read another way

As bytes391.152 KiB
As a 24-bit colour#061C9C

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Also reads as

#400540 (colour)

  • #400540
  • Magenta
  • Dark
  • Nearest: Midnight blue

#400540 is a magenta with RGB values 64, 5, 64 and HSL 300°, 86%, 14%. It is a dark colour, so white text on it reaches 16:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#400540#400540
HEX#400540
RGBrgb(64, 5, 64)
RGB (0–1)0.251, 0.0196, 0.251
RGB percentages25.1%, 2%, 25.1%
HSLhsl(300, 85.5%, 13.5%)
HSV / HSBhsv(300, 92.2%, 25.1%)
CMYK0%, 92.2%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,195,648
CSS custom property--colour: #400540;

Brightness & contrast

Relative luminance0.01569WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.98:1
Contrast with white15.98:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#BFFABF

Colour vision & accessibility

Protanopia#001D41no red cones; affects about 1% of men; ΔE 28.9 from the original
Deuteranopia#17243Fno green cones; the most common form, about 1% of men; ΔE 30.5 from the original
Tritanopia#420F23no blue cones; rare, and affects men and women equally; ΔE 23 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.98:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 28.35, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#054005
Analogous#230540, #400523
Triadic#404005, #054040
Split complementary#234005, #054023
Tetradic#402305, #054005, #052340

Tints, shades & saturation

Lighter +40%#EE23EE
Lighter +30%#CE10CE
Lighter +20%#9F0C9F
Lighter +10%#6F096F
Darker −10%#110111
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#450045
Less saturated −25%#370E37

Channel breakdown

R64
G5
B64
Red64 (25.1%)
Green5 (2%)
Blue64 (25.1%)
Hue300°
Saturation (HSL)85.51%
Lightness13.53%
Dominant channelRed and Blue
Hex per channelR 40 · G 05 · B 40

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “400540” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.