Recognised as Number
240,004
- Positive
- Even
- Composite
- 6 digits
240,004 is an even 6-digit integer and a composite number. It has 12 divisors and a digital root of 1.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value240,004
Digit count6
Digit sum10
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2^2 × 29 × 2,069
Distinct prime factors32, 29, 2,069
Number of divisors12
Sum of divisors σ(n)434,700
Aliquot sum194,696sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)115,808integers below n that share no factor with it
Carmichael function λ(n)14,476the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 115,808
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 29, 58, 116, 2,069, 4,138, 8,276, 60,001, 120,002, 240,00412 in total
Arithmetic
Representations
Decimal240,004
Binary11101010011000010018 bits
Octal724604
Hexadecimal3A984
Base 36556S
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordstwo hundred and forty thousand and four
Ordinaltwo hundred and forty thousand and fourth
Scientific notation2.40004 × 10^5
Engineering notation240.004 × 10^3
In other bases
Ternary110012020001base 3; the most digit-efficient integer base after e: 12 digits
Quinary30140004base 5; one hand: 8 digits
Septenary2016502base 7: 7 digits
Nonary405201base 9; each digit is two ternary digits: 6 digits
Duodecimalb6a84base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 5 digits
Vigesimal1a004base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:6:40:4base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1101TT1T0001digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1001111111010000100base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000000111010100110000100
Bit length18 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits10within that length
Bit parityeven8 set bits, so even; not the same as the number itself being even
Highest set bitbit 17worth 131,072
Lowest set bitbit 22 trailing zeros
Power of twoNo
Bytes303 a9 84
Gray code100111110101000110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000000111010100110000100
64-bit0000000000000000000000000000000000000000000000111010100110000100
One's complement11111111111111000101011001111011at 32 bits, every bit flipped
Bits reversed00100001100101011100000000000000at 32 bits
Rotated left by 100000000000001110101001100001000at 32 bits, wrapping
Shifted left by 11110101001100001000= 480,008, no wrap
Shifted right by 111101010011000010= 120,002, discarding the low bit
These bits as a double1.18577731 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
240,004 to the power 257,601,920,016
240,004 to the power 313,824,691,211,520,064
240,004 to the power 43,317,981,189,529,661,440,256
240,004 to the power 5796,328,757,411,876,864,307,201,024
First ten multiples240,004, 480,008, 720,012, 960,016, 1,200,020, 1,440,024, 1,680,028, 1,920,032, 2,160,036, 2,400,040
Powers of twoBetween 2^17 (131,072) and 2^18 (262,144)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4Yes
Divisible by 5No, remainder 4
Divisible by 6No, remainder 4
Divisible by 7No, remainder 2
Divisible by 8No, remainder 4
Divisible by 9No, remainder 1
Divisible by 10No, remainder 4
Divisible by 11No, remainder 6
Divisible by 12No, remainder 4
Divisible by 100No, remainder 4
Collatz (3n + 1) trajectory
Steps to reach 167the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps240,004 → 120,002 → 60,001 → 180,004 → 90,002 → 45,001 → 135,004 → 67,502 → 33,751 → 101,254 → …
Last steps… → 32 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage24,000,400%
240,004% as a decimal2,400.04
240,004% of 100240,004
240,004% of 1,0002,400,040
As a fraction of 100240,004/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,004
Also reads as
#240004 (colour)
- #240004
- Red
- Dark
- Nearest: Black
#240004 is a red with RGB values 36, 0, 4 and HSL 353°, 100%, 7%. It is a dark colour, so white text on it reaches 19.5:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#240004#240004
HEX#240004
RGBrgb(36, 0, 4)
RGB (0–1)0.1412, 0, 0.0157
RGB percentages14.1%, 0%, 1.6%
HSLhsl(353.3, 100%, 7.1%)
HSV / HSBhsv(353.3, 100%, 14.1%)
CMYK0%, 100%, 88.9%, 85.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,359,300
CSS custom property--colour: #240004;
Brightness & contrast
Relative luminance0.00384WCAG 2.x, 0 is black and 1 is white
Perceived brightness19.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.5:1
Contrast with white19.5:1WCAG normal text: AAA
Contrast with black1.08:1WCAG normal text: Fail
Greyscale equivalent#080808
Inverted#DBFFFB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.5:1WCAG large text: AAA
Contrast with black, large text1.08:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#002420
Analogous#240016, #240E00
Triadic#042400, #000424
Split complementary#00240E, #001624
Tetradic#162400, #002420, #0E0024
Tints, shades & saturation
Channel breakdown
R36
G0
B4
Red36 (14.1%)
Green0 (0%)
Blue4 (1.6%)
Hue353.33°
Saturation (HSL)100%
Lightness7.06%
Dominant channelRed
Hex per channelR 24 · G 00 · 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