Recognised as Number
340,679
- Positive
- Odd
- Composite
- 6 digits
340,679 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value340,679
Digit count6
Digit sum29
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 factorisation461 × 739
Distinct prime factors2461, 739
Number of divisors4
Sum of divisors σ(n)341,880
Aliquot sum1,201sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)339,480integers below n that share no factor with it
Carmichael function λ(n)169,740the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 339,480
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 461, 739, 340,6794 in total
Arithmetic
Representations
Decimal340,679
Binary101001100101100011119 bits
Octal1231307
Hexadecimal532C7
Base 367AVB
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, six hundred and seventy-nine
Ordinalthree hundred and forty thousand, six hundred and seventy-ninth
Scientific notation3.40679 × 10^5
Engineering notation340.679 × 10^3
In other bases
Ternary122022022202base 3; the most digit-efficient integer base after e: 12 digits
Quinary41400204base 5; one hand: 8 digits
Septenary2616143base 7: 7 digits
Nonary568282base 9; each digit is two ternary digits: 6 digits
Duodecimal14519bbase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22bdjbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:37:59base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T100T1Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011111011011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011001011000111
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 odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes305 32 c7
Gray code1111010101110100100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011001011000111
64-bit0000000000000000000000000000000000000000000001010011001011000111
One's complement11111111111110101100110100111000at 32 bits, every bit flipped
Bits reversed11100011010011001010000000000000at 32 bits
Rotated left by 100000000000010100110010110001110at 32 bits, wrapping
Shifted left by 110100110010110001110= 681,358, no wrap
Shifted right by 1101001100101100011= 170,339, discarding the low bit
These bits as a double1.6831779 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,679 to the power 2116,062,181,041
340,679 to the power 339,539,947,774,866,839
340,679 to the power 413,470,429,867,993,859,843,681
340,679 to the power 54,589,092,576,998,280,177,685,399,399
First ten multiples340,679, 681,358, 1,022,037, 1,362,716, 1,703,395, 2,044,074, 2,384,753, 2,725,432, 3,066,111, 3,406,790
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 3
Divisible by 5No, remainder 4
Divisible by 6No, remainder 5
Divisible by 7No, remainder 3
Divisible by 8No, remainder 7
Divisible by 9No, remainder 2
Divisible by 10No, remainder 9
Divisible by 11No, remainder 9
Divisible by 12No, remainder 11
Divisible by 100No, remainder 79
Collatz (3n + 1) trajectory
Steps to reach 1153the total stopping time
Highest value reached2,299,5886× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,679 → 1,022,038 → 511,019 → 1,533,058 → 766,529 → 2,299,588 → 1,149,794 → 574,897 → 1,724,692 → 862,346 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,067,900%
340,679% as a decimal3,406.79
340,679% of 100340,679
340,679% of 1,0003,406,790
As a fraction of 100340,679/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,679
Also reads as
#340679 (colour)
- #340679
- Violet
- Dark
- Nearest: Indigo
#340679 is a violet with RGB values 52, 6, 121 and HSL 264°, 91%, 25%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#340679#340679
HEX#340679
RGBrgb(52, 6, 121)
RGB (0–1)0.2039, 0.0235, 0.4745
RGB percentages20.4%, 2.4%, 47.5%
HSLhsl(264, 90.6%, 24.9%)
HSV / HSBhsv(264, 95%, 47.5%)
CMYK57%, 95%, 0%, 52.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,529
CSS custom property--colour: #340679;
Brightness & contrast
Relative luminance0.02241WCAG 2.x, 0 is black and 1 is white
Perceived brightness50 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.5:1
Contrast with white14.5:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#CBF986
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.5:1WCAG large text: AAA
Contrast with black, large text1.45:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4B7906
Analogous#061279, #6E0679
Triadic#793406, #067934
Split complementary#796D06, #127906
Tetradic#790611, #4B7906, #06796D
Tints, shades & saturation
Channel breakdown
R52
G6
B121
Red52 (20.4%)
Green6 (2.4%)
Blue121 (47.5%)
Hue264°
Saturation (HSL)90.55%
Lightness24.9%
Dominant channelBlue
Hex per channelR 34 · G 06 · B 79
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page