Recognised as Number
540,387
- Positive
- Odd
- Composite
- 6 digits
540,387 is an odd 6-digit integer and a composite number. It has 12 divisors and a digital root of 9.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value540,387
Digit count6
Digit sum27
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 × 97 × 619
Distinct prime factors33, 97, 619
Number of divisors12
Sum of divisors σ(n)789,880
Aliquot sum249,493sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)355,968integers below n that share no factor with it
Carmichael function λ(n)9,888the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 355,968
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 9, 97, 291, 619, 873, 1,857, 5,571, 60,043, 180,129, 540,38712 in total
Arithmetic
Representations
Decimal540,387
Binary1000001111101110001120 bits
Octal2037343
Hexadecimal83EE3
Base 36BKYR
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfive hundred and forty thousand, three hundred and eighty-seven
Ordinalfive hundred and forty thousand, three hundred and eighty-seventh
Scientific notation5.40387 × 10^5
Engineering notation540.387 × 10^3
In other bases
Ternary1000110021100base 3; the most digit-efficient integer base after e: 13 digits
Quinary114243022base 5; one hand: 9 digits
Septenary4410321base 7: 7 digits
Nonary1013240base 9; each digit is two ternary digits: 7 digits
Duodecimal220883base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal37aj7base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal2:30:6:27base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary10001101T1100digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110000100001100100111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000010000011111011100011
Bit length20 bitsto write the magnitude
Set bits11the population count, or Hamming weight
Zero bits9within that length
Bit parityodd11 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 19worth 524,288
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes308 3e e3
Gray code11000010000110010010n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000010000011111011100011
64-bit0000000000000000000000000000000000000000000010000011111011100011
One's complement11111111111101111100000100011100at 32 bits, every bit flipped
Bits reversed11000111011111000001000000000000at 32 bits
Rotated left by 100000000000100000111110111000110at 32 bits, wrapping
Shifted left by 1100000111110111000110= 1,080,774, no wrap
Shifted right by 11000001111101110001= 270,193, discarding the low bit
These bits as a double2.66986652 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
540,387 to the power 2292,018,109,769
540,387 to the power 3157,802,790,283,740,603
540,387 to the power 485,274,576,433,059,733,233,361
540,387 to the power 546,081,272,534,931,850,062,776,250,707
First ten multiples540,387, 1,080,774, 1,621,161, 2,161,548, 2,701,935, 3,242,322, 3,782,709, 4,323,096, 4,863,483, 5,403,870
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3Yes
Divisible by 4No, remainder 3
Divisible by 5No, remainder 2
Divisible by 6No, remainder 3
Divisible by 7No, remainder 1
Divisible by 8No, remainder 3
Divisible by 9Yes
Divisible by 10No, remainder 7
Divisible by 11No, remainder 1
Divisible by 12No, remainder 3
Divisible by 100No, remainder 87
Collatz (3n + 1) trajectory
Steps to reach 1115the total stopping time
Highest value reached2,431,7444× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps540,387 → 1,621,162 → 810,581 → 2,431,744 → 1,215,872 → 607,936 → 303,968 → 151,984 → 75,992 → 37,996 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage54,038,700%
540,387% as a decimal5,403.87
540,387% of 100540,387
540,387% of 1,0005,403,870
As a fraction of 100540,387/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 540,387
Also reads as
#540387 (colour)
- #540387
- Violet
- Dark
- Nearest: Indigo
#540387 is a violet with RGB values 84, 3, 135 and HSL 277°, 96%, 27%. It is a dark colour, so white text on it reaches 12.1:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#540387#540387
HEX#540387
RGBrgb(84, 3, 135)
RGB (0–1)0.3294, 0.0118, 0.5294
RGB percentages32.9%, 1.2%, 52.9%
HSLhsl(276.8, 95.7%, 27.1%)
HSV / HSBhsv(276.8, 97.8%, 52.9%)
CMYK37.8%, 97.8%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,505,927
CSS custom property--colour: #540387;
Brightness & contrast
Relative luminance0.03699WCAG 2.x, 0 is black and 1 is white
Perceived brightness64.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.07:1
Contrast with white12.07:1WCAG normal text: AAA
Contrast with black1.74:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#ABFC78
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.07:1WCAG large text: AAA
Contrast with black, large text1.74:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#368703
Analogous#120387, #870378
Triadic#875403, #038754
Split complementary#788703, #038712
Tetradic#871203, #368703, #037887
Tints, shades & saturation
Channel breakdown
R84
G3
B135
Red84 (32.9%)
Green3 (1.2%)
Blue135 (52.9%)
Hue276.82°
Saturation (HSL)95.65%
Lightness27.06%
Dominant channelBlue
Hex per channelR 54 · G 03 · B 87
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