Recognised as Number
340,820
- Positive
- Even
- Composite
- 6 digits
340,820 is an even 6-digit integer and a composite number. It has 12 divisors and a digital root of 8.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,820
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 numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2^2 × 5 × 17,041
Distinct prime factors32, 5, 17,041
Number of divisors12
Sum of divisors σ(n)715,764
Aliquot sum374,944sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)136,320integers below n that share no factor with it
Carmichael function λ(n)17,040the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 136,320
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 5, 10, 20, 17,041, 34,082, 68,164, 85,205, 170,410, 340,82012 in total
Arithmetic
Representations
Decimal340,820
Binary101001100110101010019 bits
Octal1231524
Hexadecimal53354
Base 367AZ8
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, eight hundred and twenty
Ordinalthree hundred and forty thousand, eight hundred and twentieth
Scientific notation3.4082 × 10^5
Engineering notation340.82 × 10^3
In other bases
Ternary122022111222base 3; the most digit-efficient integer base after e: 12 digits
Quinary41401240base 5; one hand: 8 digits
Septenary2616434base 7: 7 digits
Nonary568458base 9; each digit is two ternary digits: 6 digits
Duodecimal145298base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22c10base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:40:20base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T100TTT00Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011101010100base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011001101010100
Bit length19 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits10within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 22 trailing zeros
Power of twoNo
Bytes305 33 54
Gray code1111010101011111110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011001101010100
64-bit0000000000000000000000000000000000000000000001010011001101010100
One's complement11111111111110101100110010101011at 32 bits, every bit flipped
Bits reversed00101010110011001010000000000000at 32 bits
Rotated left by 100000000000010100110011010101000at 32 bits, wrapping
Shifted left by 110100110011010101000= 681,640, no wrap
Shifted right by 1101001100110101010= 170,410, discarding the low bit
These bits as a double1.68387453 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,820 to the power 2116,158,272,400
340,820 to the power 339,589,062,399,368,000
340,820 to the power 413,492,744,246,952,601,760,000
340,820 to the power 54,598,597,094,246,385,731,843,200,000
First ten multiples340,820, 681,640, 1,022,460, 1,363,280, 1,704,100, 2,044,920, 2,385,740, 2,726,560, 3,067,380, 3,408,200
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 5Yes
Divisible by 6No, remainder 2
Divisible by 7No, remainder 4
Divisible by 8No, remainder 4
Divisible by 9No, remainder 8
Divisible by 10Yes
Divisible by 11No, remainder 7
Divisible by 12No, remainder 8
Divisible by 100No, remainder 20
Collatz (3n + 1) trajectory
Steps to reach 160the total stopping time
Highest value reached340,820
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,820 → 170,410 → 85,205 → 255,616 → 127,808 → 63,904 → 31,952 → 15,976 → 7,988 → 3,994 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,082,000%
340,820% as a decimal3,408.2
340,820% of 100340,820
340,820% of 1,0003,408,200
As a fraction of 100340,820/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,820
Also reads as
#340820 (colour)
- #340820
- Magenta
- Dark
- Nearest: Black
#340820 is a magenta with RGB values 52, 8, 32 and HSL 327°, 73%, 12%. It is a dark colour, so white text on it reaches 17.5:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#340820#340820
HEX#340820
RGBrgb(52, 8, 32)
RGB (0–1)0.2039, 0.0314, 0.1255
RGB percentages20.4%, 3.1%, 12.5%
HSLhsl(327.3, 73.3%, 11.8%)
HSV / HSBhsv(327.3, 84.6%, 20.4%)
CMYK0%, 84.6%, 38.5%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,952
CSS custom property--colour: #340820;
Brightness & contrast
Relative luminance0.01008WCAG 2.x, 0 is black and 1 is white
Perceived brightness31 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.48:1
Contrast with white17.48:1WCAG normal text: AAA
Contrast with black1.2:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#CBF7DF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.48:1WCAG large text: AAA
Contrast with black, large text1.2:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#08341C
Analogous#320834, #34080A
Triadic#203408, #082034
Split complementary#0A3408, #083432
Tetradic#343208, #08341C, #080A34
Tints, shades & saturation
Channel breakdown
R52
G8
B32
Red52 (20.4%)
Green8 (3.1%)
Blue32 (12.5%)
Hue327.27°
Saturation (HSL)73.33%
Lightness11.76%
Dominant channelRed
Hex per channelR 34 · G 08 · B 20
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