Recognised as Number
340,442
- Positive
- Even
- Composite
- 6 digits
340,442 is an even 6-digit integer and a composite number. It has 24 divisors and a digital root of 8.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,442
Digit count6
Digit sum17
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root8repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 17^2 × 19 × 31
Distinct prime factors42, 17, 19, 31
Number of divisors24
Sum of divisors σ(n)589,440
Aliquot sum248,998sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)146,880integers below n that share no factor with it
Carmichael function λ(n)12,240the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 146,880
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 17, 19, 31, 34, 38, 62, 289, 323, 527, 578, 589, 646, 1,054, 1,178, 5,491, 8,959, 10,013, 10,982, 17,918, 20,026, 170,221, 340,44224 in total
Arithmetic
Representations
Decimal340,442
Binary101001100011101101019 bits
Octal1230732
Hexadecimal531DA
Base 367AOQ
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, four hundred and forty-two
Ordinalthree hundred and forty thousand, four hundred and forty-second
Scientific notation3.40442 × 10^5
Engineering notation340.442 × 10^3
In other bases
Ternary122021222222base 3; the most digit-efficient integer base after e: 12 digits
Quinary41343232base 5; one hand: 8 digits
Septenary2615354base 7: 7 digits
Nonary567888base 9; each digit is two ternary digits: 6 digits
Duodecimal145022base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22b22base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:34:2base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T00000Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011000101110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011000111011010
Bit length19 bitsto write the magnitude
Set bits10the population count, or Hamming weight
Zero bits9within that length
Bit parityeven10 set bits, so even; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes305 31 da
Gray code1111010100100110111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011000111011010
64-bit0000000000000000000000000000000000000000000001010011000111011010
One's complement11111111111110101100111000100101at 32 bits, every bit flipped
Bits reversed01011011100011001010000000000000at 32 bits
Rotated left by 100000000000010100110001110110100at 32 bits, wrapping
Shifted left by 110100110001110110100= 680,884, no wrap
Shifted right by 1101001100011101101= 170,221, discarding the low bit
These bits as a double1.68200697 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,442 to the power 2115,900,755,364
340,442 to the power 339,457,484,957,630,888
340,442 to the power 413,432,985,093,945,774,772,496
340,442 to the power 54,573,152,311,353,087,455,098,083,232
First ten multiples340,442, 680,884, 1,021,326, 1,361,768, 1,702,210, 2,042,652, 2,383,094, 2,723,536, 3,063,978, 3,404,420
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4No, remainder 2
Divisible by 5No, remainder 2
Divisible by 6No, remainder 2
Divisible by 7No, remainder 4
Divisible by 8No, remainder 2
Divisible by 9No, remainder 8
Divisible by 10No, remainder 2
Divisible by 11No, remainder 3
Divisible by 12No, remainder 2
Divisible by 100No, remainder 42
Collatz (3n + 1) trajectory
Steps to reach 1104the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,442 → 170,221 → 510,664 → 255,332 → 127,666 → 63,833 → 191,500 → 95,750 → 47,875 → 143,626 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,044,200%
340,442% as a decimal3,404.42
340,442% of 100340,442
340,442% of 1,0003,404,420
As a fraction of 100340,442/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 340,442
Also reads as
#340442 (colour)
- #340442
- Violet
- Dark
- Nearest: Midnight blue
#340442 is a violet with RGB values 52, 4, 66 and HSL 286°, 89%, 14%. It is a dark colour, so white text on it reaches 16.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#340442#340442
HEX#340442
RGBrgb(52, 4, 66)
RGB (0–1)0.2039, 0.0157, 0.2588
RGB percentages20.4%, 1.6%, 25.9%
HSLhsl(286.5, 88.6%, 13.7%)
HSV / HSBhsv(286.5, 93.9%, 25.9%)
CMYK21.2%, 93.9%, 0%, 74.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,408,962
CSS custom property--colour: #340442;
Brightness & contrast
Relative luminance0.0121WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.91:1
Contrast with white16.91:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#CBFBBD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.91:1WCAG large text: AAA
Contrast with black, large text1.24:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#124204
Analogous#150442, #420431
Triadic#423404, #044234
Split complementary#314204, #044215
Tetradic#421504, #124204, #043142
Tints, shades & saturation
Channel breakdown
R52
G4
B66
Red52 (20.4%)
Green4 (1.6%)
Blue66 (25.9%)
Hue286.45°
Saturation (HSL)88.57%
Lightness13.73%
Dominant channelBlue
Hex per channelR 34 · G 04 · B 42
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