Recognised as Number
340,674
- Positive
- Even
- Composite
- 6 digits
340,674 is an even 6-digit integer and a composite number. It has 8 divisors and a digital root of 6.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,674
Digit count6
Digit sum24
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 numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 3 × 56,779
Distinct prime factors32, 3, 56,779
Number of divisors8
Sum of divisors σ(n)681,360
Aliquot sum340,686sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)113,556integers below n that share no factor with it
Carmichael function λ(n)56,778the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 113,556
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 56,779, 113,558, 170,337, 340,6748 in total
Arithmetic
Representations
Decimal340,674
Binary101001100101100001019 bits
Octal1231302
Hexadecimal532C2
Base 367AV6
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, six hundred and seventy-four
Ordinalthree hundred and forty thousand, six hundred and seventy-fourth
Scientific notation3.40674 × 10^5
Engineering notation340.674 × 10^3
In other bases
Ternary122022022120base 3; the most digit-efficient integer base after e: 12 digits
Quinary41400144base 5; one hand: 8 digits
Septenary2616135base 7: 7 digits
Nonary568276base 9; each digit is two ternary digits: 6 digits
Duodecimal145196base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22bdebase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:37:54base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T100TT0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011111000110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011001011000010
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 32 c2
Gray code1111010101110100011n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011001011000010
64-bit0000000000000000000000000000000000000000000001010011001011000010
One's complement11111111111110101100110100111101at 32 bits, every bit flipped
Bits reversed01000011010011001010000000000000at 32 bits
Rotated left by 100000000000010100110010110000100at 32 bits, wrapping
Shifted left by 110100110010110000100= 681,348, no wrap
Shifted right by 1101001100101100001= 170,337, discarding the low bit
These bits as a double1.6831532 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,674 to the power 2116,058,774,276
340,674 to the power 339,538,206,867,702,024
340,674 to the power 413,469,639,086,447,519,324,176
340,674 to the power 54,588,755,826,136,422,198,244,334,624
First ten multiples340,674, 681,348, 1,022,022, 1,362,696, 1,703,370, 2,044,044, 2,384,718, 2,725,392, 3,066,066, 3,406,740
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 5No, remainder 4
Divisible by 6Yes
Divisible by 7No, remainder 5
Divisible by 8No, remainder 2
Divisible by 9No, remainder 6
Divisible by 10No, remainder 4
Divisible by 11No, remainder 4
Divisible by 12No, remainder 6
Divisible by 100No, remainder 74
Collatz (3n + 1) trajectory
Steps to reach 1153the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,674 → 170,337 → 511,012 → 255,506 → 127,753 → 383,260 → 191,630 → 95,815 → 287,446 → 143,723 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,067,400%
340,674% as a decimal3,406.74
340,674% of 100340,674
340,674% of 1,0003,406,740
As a fraction of 100340,674/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,674
Also reads as
#340674 (colour)
- #340674
- Violet
- Dark
- Nearest: Indigo
#340674 is a violet with RGB values 52, 6, 116 and HSL 265°, 90%, 24%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#340674#340674
HEX#340674
RGBrgb(52, 6, 116)
RGB (0–1)0.2039, 0.0235, 0.4549
RGB percentages20.4%, 2.4%, 45.5%
HSLhsl(265.1, 90.2%, 23.9%)
HSV / HSBhsv(265.1, 94.8%, 45.5%)
CMYK55.2%, 94.8%, 0%, 54.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,524
CSS custom property--colour: #340674;
Brightness & contrast
Relative luminance0.02121WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.74:1
Contrast with white14.74:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#CBF98B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.74:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#467406
Analogous#060F74, #6B0674
Triadic#743406, #067434
Split complementary#746B06, #0F7406
Tetradic#74060F, #467406, #06746B
Tints, shades & saturation
Channel breakdown
R52
G6
B116
Red52 (20.4%)
Green6 (2.4%)
Blue116 (45.5%)
Hue265.09°
Saturation (HSL)90.16%
Lightness23.92%
Dominant channelBlue
Hex per channelR 34 · G 06 · B 74
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