Recognised as Number
240,504
- Positive
- Even
- Composite
- 6 digits
240,504 is an even 6-digit integer and a composite number. It has 32 divisors and a digital root of 6.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value240,504
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 factorisation2^3 × 3 × 11 × 911
Distinct prime factors42, 3, 11, 911
Number of divisors32
Sum of divisors σ(n)656,640
Aliquot sum416,136sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)72,800integers below n that share no factor with it
Carmichael function λ(n)910the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 72,800
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 3, 4, 6, 8, 11, 12, 22, 24, 33, 44, 66, 88, 132, 264, 911, 1,822, 2,733, 3,644, 5,466, 7,288, 10,021, 10,932, 20,042, 21,864, 30,063, 40,084, 60,126, 80,168, 120,252, 240,50432 in total
Arithmetic
Representations
Decimal240,504
Binary11101010110111100018 bits
Octal725570
Hexadecimal3AB78
Base 3655KO
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordstwo hundred and forty thousand, five hundred and four
Ordinaltwo hundred and forty thousand, five hundred and fourth
Scientific notation2.40504 × 10^5
Engineering notation240.504 × 10^3
In other bases
Ternary110012220120base 3; the most digit-efficient integer base after e: 12 digits
Quinary30144004base 5; one hand: 8 digits
Septenary2021115base 7: 7 digits
Nonary405816base 9; each digit is two ternary digits: 6 digits
Duodecimalb7220base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 5 digits
Vigesimal1a154base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:6:48:24base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1101T00T1TT0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1001111110010001000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000000111010101101111000
Bit length18 bitsto write the magnitude
Set bits11the population count, or Hamming weight
Zero bits7within that length
Bit parityodd11 set bits, so odd; not the same as the number itself being even
Highest set bitbit 17worth 131,072
Lowest set bitbit 33 trailing zeros
Power of twoNo
Bytes303 ab 78
Gray code100111111011000100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000000111010101101111000
64-bit0000000000000000000000000000000000000000000000111010101101111000
One's complement11111111111111000101010010000111at 32 bits, every bit flipped
Bits reversed00011110110101011100000000000000at 32 bits
Rotated left by 100000000000001110101011011110000at 32 bits, wrapping
Shifted left by 11110101011011110000= 481,008, no wrap
Shifted right by 111101010110111100= 120,252, discarding the low bit
These bits as a double1.18824764 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
240,504 to the power 257,842,174,016
240,504 to the power 313,911,274,219,544,064
240,504 to the power 43,345,717,094,897,225,568,256
240,504 to the power 5804,658,344,191,162,338,067,841,024
First ten multiples240,504, 481,008, 721,512, 962,016, 1,202,520, 1,443,024, 1,683,528, 1,924,032, 2,164,536, 2,405,040
Powers of twoBetween 2^17 (131,072) and 2^18 (262,144)
Divisibility tests
Divisible by 2Yes
Divisible by 3Yes
Divisible by 4Yes
Divisible by 5No, remainder 4
Divisible by 6Yes
Divisible by 7No, remainder 5
Divisible by 8Yes
Divisible by 9No, remainder 6
Divisible by 10No, remainder 4
Divisible by 11Yes
Divisible by 12Yes
Divisible by 100No, remainder 4
Collatz (3n + 1) trajectory
Steps to reach 1212the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps240,504 → 120,252 → 60,126 → 30,063 → 90,190 → 45,095 → 135,286 → 67,643 → 202,930 → 101,465 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage24,050,400%
240,504% as a decimal2,405.04
240,504% of 100240,504
240,504% of 1,0002,405,040
As a fraction of 100240,504/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 240,504
Also reads as
#240504 (colour)
- #240504
- Red
- Dark
- Nearest: Black
#240504 is a red with RGB values 36, 5, 4 and HSL 2°, 80%, 8%. It is a dark colour, so white text on it reaches 19.1:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#240504#240504
HEX#240504
RGBrgb(36, 5, 4)
RGB (0–1)0.1412, 0.0196, 0.0157
RGB percentages14.1%, 2%, 1.6%
HSLhsl(1.9, 80%, 7.8%)
HSV / HSBhsv(1.9, 88.9%, 14.1%)
CMYK0%, 86.1%, 88.9%, 85.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,360,580
CSS custom property--colour: #240504;
Brightness & contrast
Relative luminance0.00492WCAG 2.x, 0 is black and 1 is white
Perceived brightness20.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.12:1
Contrast with white19.12:1WCAG normal text: AAA
Contrast with black1.1:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#DBFAFB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.12:1WCAG large text: AAA
Contrast with black, large text1.1:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#042324
Analogous#240413, #241504
Triadic#042405, #050424
Split complementary#042415, #041324
Tetradic#132404, #042324, #150424
Tints, shades & saturation
Channel breakdown
R36
G5
B4
Red36 (14.1%)
Green5 (2%)
Blue4 (1.6%)
Hue1.88°
Saturation (HSL)80%
Lightness7.84%
Dominant channelRed
Hex per channelR 24 · G 05 · B 04
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