Nerdulator> put something in

Recognised as Number

340,678

  • Positive
  • Even
  • Composite
  • 6 digits

340,678 is an even 6-digit integer and a composite number. It has 8 divisors and a digital root of 1.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,678
Digit count6
Digit sum28
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation2 × 13 × 13,103
Distinct prime factors32, 13, 13,103
Number of divisors8
Sum of divisors σ(n)550,368
Aliquot sum209,690sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)157,224integers below n that share no factor with it
Carmichael function λ(n)78,612the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 157,224
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 13, 26, 13,103, 26,206, 170,339, 340,6788 in total

Arithmetic

Previous number340,677
Next number340,679
Double681,356
Cube39,539,599,589,345,752
Square root583.676280142≈irrational, shown to 9 decimal places
Cube root69.841683025≈
Negation-340,678
Reciprocal0.0000029353≈

Representations

Decimal340,678
Binary101001100101100011019 bits
Octal1231306
Hexadecimal532C6
Base 367AVA
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, six hundred and seventy-eight
Ordinalthree hundred and forty thousand, six hundred and seventy-eighth
Scientific notation3.40678 × 10^5
Engineering notation340.678 × 10^3

In other bases

Ternary122022022201base 3; the most digit-efficient integer base after e: 12 digits
Quinary41400203base 5; one hand: 8 digits
Septenary2616142base 7: 7 digits
Nonary568281base 9; each digit is two ternary digits: 6 digits
Duodecimal14519abase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22bdibase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:37:58base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T100T01digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011111011010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000001010011001011000110
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 11 trailing zero
Power of twoNo
Bytes305 32 c6
Gray code1111010101110100101n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001010011001011000110
64-bit0000000000000000000000000000000000000000000001010011001011000110
One's complement11111111111110101100110100111001at 32 bits, every bit flipped
Bits reversed01100011010011001010000000000000at 32 bits
Rotated left by 100000000000010100110010110001100at 32 bits, wrapping
Shifted left by 110100110010110001100= 681,356, no wrap
Shifted right by 1101001100101100011= 170,339, discarding the low bit
These bits as a double1.68317296 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime340,687+9
Previous prime340,661−17
Distance to nearest prime9
Nearest square below339,889
Nearest square above341,056

Powers & multiples

340,678 to the power 2116,061,499,684
340,678 to the power 339,539,599,589,345,752
340,678 to the power 413,470,271,708,899,132,099,856
340,678 to the power 54,589,025,225,244,338,525,514,742,368
First ten multiples340,678, 681,356, 1,022,034, 1,362,712, 1,703,390, 2,044,068, 2,384,746, 2,725,424, 3,066,102, 3,406,780
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)

Divisibility tests

Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4No, remainder 2
Divisible by 5No, remainder 3
Divisible by 6No, remainder 4
Divisible by 7No, remainder 2
Divisible by 8No, remainder 6
Divisible by 9No, remainder 1
Divisible by 10No, remainder 8
Divisible by 11No, remainder 8
Divisible by 12No, remainder 10
Divisible by 100No, remainder 78

Collatz (3n + 1) trajectory

Steps to reach 1197the total stopping time
Highest value reached766,5282× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,678 → 170,339 → 511,018 → 255,509 → 766,528 → 383,264 → 191,632 → 95,816 → 47,908 → 23,954 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage34,067,800%
340,678% as a decimal3,406.78
340,678% of 100340,678
340,678% of 1,0003,406,780
As a fraction of 100340,678/100

Read another way

As bytes332.693 KiB
As a 24-bit colour#0532C6

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Also reads as

#340678 (colour)

  • #340678
  • Violet
  • Dark
  • Nearest: Indigo

#340678 is a violet with RGB values 52, 6, 120 and HSL 264°, 90%, 25%. It is a dark colour, so white text on it reaches 14.6:1 contrast (AAA for normal text). The nearest named colour is Indigo.

Open this reading on its own page →

Colour values

#340678#340678
HEX#340678
RGBrgb(52, 6, 120)
RGB (0–1)0.2039, 0.0235, 0.4706
RGB percentages20.4%, 2.4%, 47.1%
HSLhsl(264.2, 90.5%, 24.7%)
HSV / HSBhsv(264.2, 95%, 47.1%)
CMYK56.7%, 95%, 0%, 52.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,528
CSS custom property--colour: #340678;

Brightness & contrast

Relative luminance0.02216WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.55:1
Contrast with white14.55:1WCAG normal text: AAA
Contrast with black1.44:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#CBF987

Colour vision & accessibility

Protanopia#002B7Bno red cones; affects about 1% of men; ΔE 24.1 from the original
Deuteranopia#002676no green cones; the most common form, about 1% of men; ΔE 22.4 from the original
Tritanopia#182D44no blue cones; rare, and affects men and women equally; ΔE 58.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.55:1WCAG large text: AAA
Contrast with black, large text1.44:1WCAG large text: Fail

Named colours

Nearest named CSS colourIndigo (#4B0082)ΔE 7.5, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#4A7806
Analogous#061178, #6D0678
Triadic#783406, #067834
Split complementary#786D06, #117806
Tetradic#780611, #4A7806, #06786D

Tints, shades & saturation

Lighter +40%#9554F6
Lighter +30%#7723F4
Lighter +20%#5E0BD9
Lighter +10%#4908A9
Darker −10%#1F0447
Darker −20%#0A0117
Darker −30%#000000
Darker −40%#000000
More saturated +25%#33007E
Less saturated −25%#371668

Channel breakdown

R52
G6
B120
Red52 (20.4%)
Green6 (2.4%)
Blue120 (47.1%)
Hue264.21°
Saturation (HSL)90.48%
Lightness24.71%
Dominant channelBlue
Hex per channelR 34 · G 06 · B 78

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

Every value on this page was computed from “340678” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.