Recognised as Number
240,237
- Positive
- Odd
- Composite
- 6 digits
240,237 is an odd 6-digit integer and a composite number. It has 6 divisors and a digital root of 9.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value240,237
Digit count6
Digit sum18
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 numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3^2 × 26,693
Distinct prime factors23, 26,693
Number of divisors6
Sum of divisors σ(n)347,022
Aliquot sum106,785sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)160,152integers below n that share no factor with it
Carmichael function λ(n)80,076the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 160,152
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 9, 26,693, 80,079, 240,2376 in total
Arithmetic
Representations
Decimal240,237
Binary11101010100110110118 bits
Octal725155
Hexadecimal3AA6D
Base 3655D9
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordstwo hundred and forty thousand, two hundred and thirty-seven
Ordinaltwo hundred and forty thousand, two hundred and thirty-seventh
Scientific notation2.40237 × 10^5
Engineering notation240.237 × 10^3
In other bases
Ternary110012112200base 3; the most digit-efficient integer base after e: 12 digits
Quinary30141422base 5; one hand: 8 digits
Septenary2020254base 7: 7 digits
Nonary405480base 9; each digit is two ternary digits: 6 digits
Duodecimalb7039base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 5 digits
Vigesimal1a0bhbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:6:43:57base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1101T0TT0T00digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1001111111110111101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000000111010101001101101
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 odd
Highest set bitbit 17worth 131,072
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes303 aa 6d
Gray code100111111101011011n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000000111010101001101101
64-bit0000000000000000000000000000000000000000000000111010101001101101
One's complement11111111111111000101010110010010at 32 bits, every bit flipped
Bits reversed10110110010101011100000000000000at 32 bits
Rotated left by 100000000000001110101010011011010at 32 bits, wrapping
Shifted left by 11110101010011011010= 480,474, no wrap
Shifted right by 111101010100110110= 120,118, discarding the low bit
These bits as a double1.18692849 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
240,237 to the power 257,713,816,169
240,237 to the power 313,864,994,054,992,053
240,237 to the power 43,330,884,576,789,125,836,561
240,237 to the power 5800,201,718,074,089,223,597,904,957
First ten multiples240,237, 480,474, 720,711, 960,948, 1,201,185, 1,441,422, 1,681,659, 1,921,896, 2,162,133, 2,402,370
Powers of twoBetween 2^17 (131,072) and 2^18 (262,144)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3Yes
Divisible by 4No, remainder 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 3
Divisible by 7No, remainder 4
Divisible by 8No, remainder 5
Divisible by 9Yes
Divisible by 10No, remainder 7
Divisible by 11No, remainder 8
Divisible by 12No, remainder 9
Divisible by 100No, remainder 37
Collatz (3n + 1) trajectory
Steps to reach 167the total stopping time
Highest value reached1,154,4644× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps240,237 → 720,712 → 360,356 → 180,178 → 90,089 → 270,268 → 135,134 → 67,567 → 202,702 → 101,351 → …
Last steps… → 32 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage24,023,700%
240,237% as a decimal2,402.37
240,237% of 100240,237
240,237% of 1,0002,402,370
As a fraction of 100240,237/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,237
Also reads as
#240237 (colour)
- #240237
- Violet
- Dark
- Nearest: Midnight blue
#240237 is a violet with RGB values 36, 2, 55 and HSL 278°, 93%, 11%. It is a dark colour, so white text on it reaches 18.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#240237#240237
HEX#240237
RGBrgb(36, 2, 55)
RGB (0–1)0.1412, 0.0078, 0.2157
RGB percentages14.1%, 0.8%, 21.6%
HSLhsl(278.5, 93%, 11.2%)
HSV / HSBhsv(278.5, 96.4%, 21.6%)
CMYK34.5%, 96.4%, 0%, 78.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,359,863
CSS custom property--colour: #240237;
Brightness & contrast
Relative luminance0.00694WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.44:1
Contrast with white18.44:1WCAG normal text: AAA
Contrast with black1.14:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#DBFDC8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.44:1WCAG large text: AAA
Contrast with black, large text1.14:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#153702
Analogous#090237, #370230
Triadic#372402, #023724
Split complementary#303702, #023709
Tetradic#370902, #153702, #023037
Tints, shades & saturation
Channel breakdown
R36
G2
B55
Red36 (14.1%)
Green2 (0.8%)
Blue55 (21.6%)
Hue278.49°
Saturation (HSL)92.98%
Lightness11.18%
Dominant channelBlue
Hex per channelR 24 · G 02 · B 37
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