Recognised as Number
340,328
- Positive
- Even
- Composite
- 6 digits
340,328 is an even 6-digit integer and a composite number. It has 16 divisors and a digital root of 2.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,328
Digit count6
Digit sum20
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2^3 × 19 × 2,239
Distinct prime factors32, 19, 2,239
Number of divisors16
Sum of divisors σ(n)672,000
Aliquot sum331,672sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)161,136integers below n that share no factor with it
Carmichael function λ(n)6,714the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 161,136
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 8, 19, 38, 76, 152, 2,239, 4,478, 8,956, 17,912, 42,541, 85,082, 170,164, 340,32816 in total
Arithmetic
Representations
Decimal340,328
Binary101001100010110100019 bits
Octal1230550
Hexadecimal53168
Base 367ALK
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, three hundred and twenty-eight
Ordinalthree hundred and forty thousand, three hundred and twenty-eighth
Scientific notation3.40328 × 10^5
Engineering notation340.328 × 10^3
In other bases
Ternary122021211202base 3; the most digit-efficient integer base after e: 12 digits
Quinary41342303base 5; one hand: 8 digits
Septenary2615132base 7: 7 digits
Nonary567752base 9; each digit is two ternary digits: 6 digits
Duodecimal144b48base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22ag8base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:32:8base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T0TTT1Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011010111000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011000101101000
Bit length19 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits11within that length
Bit parityeven8 set bits, so even; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 33 trailing zeros
Power of twoNo
Bytes305 31 68
Gray code1111010100111011100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011000101101000
64-bit0000000000000000000000000000000000000000000001010011000101101000
One's complement11111111111110101100111010010111at 32 bits, every bit flipped
Bits reversed00010110100011001010000000000000at 32 bits
Rotated left by 100000000000010100110001011010000at 32 bits, wrapping
Shifted left by 110100110001011010000= 680,656, no wrap
Shifted right by 1101001100010110100= 170,164, discarding the low bit
These bits as a double1.68144373 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,328 to the power 2115,823,147,584
340,328 to the power 339,417,860,170,967,552
340,328 to the power 413,415,001,516,265,045,037,056
340,328 to the power 54,565,500,636,027,450,247,371,194,368
First ten multiples340,328, 680,656, 1,020,984, 1,361,312, 1,701,640, 2,041,968, 2,382,296, 2,722,624, 3,062,952, 3,403,280
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4Yes
Divisible by 5No, remainder 3
Divisible by 6No, remainder 2
Divisible by 7No, remainder 2
Divisible by 8Yes
Divisible by 9No, remainder 2
Divisible by 10No, remainder 8
Divisible by 11No, remainder 10
Divisible by 12No, remainder 8
Divisible by 100No, remainder 28
Collatz (3n + 1) trajectory
Steps to reach 160the total stopping time
Highest value reached340,328
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,328 → 170,164 → 85,082 → 42,541 → 127,624 → 63,812 → 31,906 → 15,953 → 47,860 → 23,930 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,032,800%
340,328% as a decimal3,403.28
340,328% of 100340,328
340,328% of 1,0003,403,280
As a fraction of 100340,328/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,328
Also reads as
#340328 (colour)
- #340328
- Magenta
- Dark
- Nearest: Black
#340328 is a magenta with RGB values 52, 3, 40 and HSL 315°, 89%, 11%. It is a dark colour, so white text on it reaches 17.7:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#340328#340328
HEX#340328
RGBrgb(52, 3, 40)
RGB (0–1)0.2039, 0.0118, 0.1569
RGB percentages20.4%, 1.2%, 15.7%
HSLhsl(314.7, 89.1%, 10.8%)
HSV / HSBhsv(314.7, 94.2%, 20.4%)
CMYK0%, 94.2%, 23.1%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,408,680
CSS custom property--colour: #340328;
Brightness & contrast
Relative luminance0.00948WCAG 2.x, 0 is black and 1 is white
Perceived brightness31.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.65:1
Contrast with white17.65:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#CBFCD7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.65:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#03340F
Analogous#280334, #34030F
Triadic#283403, #032834
Split complementary#0F3403, #033428
Tetradic#342803, #03340F, #030F34
Tints, shades & saturation
Channel breakdown
R52
G3
B40
Red52 (20.4%)
Green3 (1.2%)
Blue40 (15.7%)
Hue314.69°
Saturation (HSL)89.09%
Lightness10.78%
Dominant channelRed
Hex per channelR 34 · G 03 · B 28
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