Recognised as Number
340,170
- Positive
- Even
- Composite
- 6 digits
340,170 is an even 6-digit integer and a composite number. It has 64 divisors and a digital root of 6.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,170
Digit count6
Digit sum15
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 3 × 5 × 17 × 23 × 29
Distinct prime factors62, 3, 5, 17, 23, 29
Number of divisors64
Sum of divisors σ(n)933,120
Aliquot sum592,950sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)78,848integers below n that share no factor with it
Carmichael function λ(n)1,232the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 78,848
Möbius function μ(n)+16 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 5, 6, 10, 15, 17, 23, 29, 30, 34, 46, 51, 58, 69, 85, 87, 102, 115, 138, 145, 170, 174, 230, 255, 290, 345, 391, 435, 493, 510, 667, 690, 782, 870, 986, 1,173, 1,334, 1,479, 1,955, 2,001, 2,346, 2,465, 2,958, 3,335, 3,910, 4,002, 4,930, 5,865, 6,670, 7,395, 10,005, 11,339, 11,730, 14,790, 20,010, 22,678, 34,017, 56,695, 68,034, 113,390, 170,085, 340,17064 in total
Arithmetic
Representations
Decimal340,170
Binary101001100001100101019 bits
Octal1230312
Hexadecimal530CA
Base 367AH6
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, one hundred and seventy
Ordinalthree hundred and forty thousand, one hundred and seventieth
Scientific notation3.4017 × 10^5
Engineering notation340.17 × 10^3
In other bases
Ternary122021121220base 3; the most digit-efficient integer base after e: 12 digits
Quinary41341140base 5; one hand: 8 digits
Septenary2614515base 7: 7 digits
Nonary567556base 9; each digit is two ternary digits: 6 digits
Duodecimal144a36base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22a8abase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:29:30base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10TT0T0T0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111000111011110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011000011001010
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 11 trailing zero
Power of twoNo
Bytes305 30 ca
Gray code1111010100010101111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011000011001010
64-bit0000000000000000000000000000000000000000000001010011000011001010
One's complement11111111111110101100111100110101at 32 bits, every bit flipped
Bits reversed01010011000011001010000000000000at 32 bits
Rotated left by 100000000000010100110000110010100at 32 bits, wrapping
Shifted left by 110100110000110010100= 680,340, no wrap
Shifted right by 1101001100001100101= 170,085, discarding the low bit
These bits as a double1.68066311 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,170 to the power 2115,715,628,900
340,170 to the power 339,362,985,482,913,000
340,170 to the power 413,390,106,771,722,515,210,000
340,170 to the power 54,554,912,620,536,847,998,985,700,000
First ten multiples340,170, 680,340, 1,020,510, 1,360,680, 1,700,850, 2,041,020, 2,381,190, 2,721,360, 3,061,530, 3,401,700
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3Yes
Divisible by 4No, remainder 2
Divisible by 5Yes
Divisible by 6Yes
Divisible by 7No, remainder 5
Divisible by 8No, remainder 2
Divisible by 9No, remainder 6
Divisible by 10Yes
Divisible by 11No, remainder 6
Divisible by 12No, remainder 6
Divisible by 100No, remainder 70
Collatz (3n + 1) trajectory
Steps to reach 165the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,170 → 170,085 → 510,256 → 255,128 → 127,564 → 63,782 → 31,891 → 95,674 → 47,837 → 143,512 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,017,000%
340,170% as a decimal3,401.7
340,170% of 100340,170
340,170% of 1,0003,401,700
As a fraction of 100340,170/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,170
Also reads as
#340170 (colour)
- #340170
- Violet
- Dark
- Nearest: Indigo
#340170 is a violet with RGB values 52, 1, 112 and HSL 268°, 98%, 22%. It is a dark colour, so white text on it reaches 15.2:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#340170#340170
HEX#340170
RGBrgb(52, 1, 112)
RGB (0–1)0.2039, 0.0039, 0.4392
RGB percentages20.4%, 0.4%, 43.9%
HSLhsl(267.6, 98.2%, 22.2%)
HSV / HSBhsv(267.6, 99.1%, 43.9%)
CMYK53.6%, 99.1%, 0%, 56.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,408,240
CSS custom property--colour: #340170;
Brightness & contrast
Relative luminance0.01922WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.17:1
Contrast with white15.17:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#CBFE8F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.17:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3D7001
Analogous#010570, #6C0170
Triadic#703401, #017034
Split complementary#706C01, #057001
Tetradic#700105, #3D7001, #01706C
Tints, shades & saturation
Channel breakdown
R52
G1
B112
Red52 (20.4%)
Green1 (0.4%)
Blue112 (43.9%)
Hue267.57°
Saturation (HSL)98.23%
Lightness22.16%
Dominant channelBlue
Hex per channelR 34 · G 01 · B 70
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