Nerdulator> put something in

Recognised as Number

340,643

  • Positive
  • Odd
  • Prime
  • 6 digits

340,643 is an odd 6-digit integer and a prime number. It has 2 divisors and a digital root of 2.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value340,643
Digit count6
Digit sum20
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 numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation340,643
Distinct prime factors1340,643
Number of divisors2
Sum of divisors σ(n)340,644
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)340,642integers below n that share no factor with it
Carmichael function λ(n)340,642the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)−11 distinct prime factor, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 340,6432 in total

Arithmetic

Previous number340,642
Next number340,644
Double681,286
Cube39,527,414,383,827,707
Square root583.646296998≈irrational, shown to 9 decimal places
Cube root69.839291185≈
Negation-340,643
Reciprocal0.0000029356≈

Representations

Decimal340,643
Binary101001100101010001119 bits
Octal1231243
Hexadecimal532A3
Base 367AUB
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, six hundred and forty-three
Ordinalthree hundred and forty thousand, six hundred and forty-third
Scientific notation3.40643 × 10^5
Engineering notation340.643 × 10^3

In other bases

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

Bit-level

00000000000001010011001010100011
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 odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes305 32 a3
Gray code1111010101111110010n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001010011001010100011
64-bit0000000000000000000000000000000000000000000001010011001010100011
One's complement11111111111110101100110101011100at 32 bits, every bit flipped
Bits reversed11000101010011001010000000000000at 32 bits
Rotated left by 100000000000010100110010101000110at 32 bits, wrapping
Shifted left by 110100110010101000110= 681,286, no wrap
Shifted right by 1101001100101010001= 170,321, discarding the low bit
These bits as a double1.68300004 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime340,649+6
Previous prime340,633−10
Distance to nearest prime0, it is prime
Nearest square below339,889
Nearest square above341,056

Powers & multiples

340,643 to the power 2116,037,653,449
340,643 to the power 339,527,414,383,827,707
340,643 to the power 413,464,737,017,950,221,595,601
340,643 to the power 54,586,668,412,005,617,334,990,311,443
First ten multiples340,643, 681,286, 1,021,929, 1,362,572, 1,703,215, 2,043,858, 2,384,501, 2,725,144, 3,065,787, 3,406,430
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 3
Divisible by 6No, remainder 5
Divisible by 7No, remainder 2
Divisible by 8No, remainder 3
Divisible by 9No, remainder 2
Divisible by 10No, remainder 3
Divisible by 11No, remainder 6
Divisible by 12No, remainder 11
Divisible by 100No, remainder 43

Collatz (3n + 1) trajectory

Steps to reach 1228the total stopping time
Highest value reached1,532,8964× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,643 → 1,021,930 → 510,965 → 1,532,896 → 766,448 → 383,224 → 191,612 → 95,806 → 47,903 → 143,710 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage34,064,300%
340,643% as a decimal3,406.43
340,643% of 100340,643
340,643% of 1,0003,406,430
As a fraction of 100340,643/100

Read another way

As bytes332.659 KiB
As a 24-bit colour#0532A3

Keep nerding

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

Also reads as

#340643 (colour)

  • #340643
  • Violet
  • Dark
  • Nearest: Midnight blue

#340643 is a violet with RGB values 52, 6, 67 and HSL 285°, 84%, 14%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#340643#340643
HEX#340643
RGBrgb(52, 6, 67)
RGB (0–1)0.2039, 0.0235, 0.2627
RGB percentages20.4%, 2.4%, 26.3%
HSLhsl(285.2, 83.6%, 14.3%)
HSV / HSBhsv(285.2, 91%, 26.3%)
CMYK22.4%, 91%, 0%, 73.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,475
CSS custom property--colour: #340643;

Brightness & contrast

Relative luminance0.01266WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.76:1
Contrast with white16.76:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#CBF9BC

Colour vision & accessibility

Protanopia#001B45no red cones; affects about 1% of men; ΔE 22.6 from the original
Deuteranopia#051F42no green cones; the most common form, about 1% of men; ΔE 26.4 from the original
Tritanopia#331525no blue cones; rare, and affects men and women equally; ΔE 27.1 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.76:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 23.11, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#154306
Analogous#160643, #430633
Triadic#433406, #064334
Split complementary#344306, #064315
Tetradic#431506, #154306, #063343

Tints, shades & saturation

Lighter +40%#BC29EC
Lighter +30%#A113CF
Lighter +20%#7D0EA1
Lighter +10%#580A72
Darker −10%#100214
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#370049
Less saturated −25%#2F0F3A

Channel breakdown

R52
G6
B67
Red52 (20.4%)
Green6 (2.4%)
Blue67 (26.3%)
Hue285.25°
Saturation (HSL)83.56%
Lightness14.31%
Dominant channelBlue
Hex per channelR 34 · G 06 · B 43

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 “340643” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.