Nerdulator> put something in

Recognised as Number

340,498

  • Positive
  • Even
  • Composite
  • 6 digits

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

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,498
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 × 170,249
Distinct prime factors22, 170,249
Number of divisors4
Sum of divisors σ(n)510,750
Aliquot sum170,252sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)170,248integers below n that share no factor with it
Carmichael function λ(n)170,248the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 170,249, 340,4984 in total

Arithmetic

Previous number340,497
Next number340,499
Double680,996
Cube39,476,959,487,585,992
Square root583.522064707≈irrational, shown to 9 decimal places
Cube root69.829380384≈
Negation-340,498
Reciprocal0.0000029369≈

Representations

Decimal340,498
Binary101001100100001001019 bits
Octal1231022
Hexadecimal53212
Base 367AQA
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, four hundred and ninety-eight
Ordinalthree hundred and forty thousand, four hundred and ninety-eighth
Scientific notation3.40498 × 10^5
Engineering notation340.498 × 10^3

In other bases

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

Bit-level

00000000000001010011001000010010
Bit length19 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits12within that length
Bit parityodd7 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 12
Gray code1111010101100011011n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001010011001000010010
64-bit0000000000000000000000000000000000000000000001010011001000010010
One's complement11111111111110101100110111101101at 32 bits, every bit flipped
Bits reversed01001000010011001010000000000000at 32 bits
Rotated left by 100000000000010100110010000100100at 32 bits, wrapping
Shifted left by 110100110010000100100= 680,996, no wrap
Shifted right by 1101001100100001001= 170,249, discarding the low bit
These bits as a double1.68228364 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime340,519+21
Previous prime340,481−17
Distance to nearest prime17
Nearest square below339,889
Nearest square above341,056

Powers & multiples

340,498 to the power 2115,938,888,004
340,498 to the power 339,476,959,487,585,992
340,498 to the power 413,441,825,751,604,055,104,016
340,498 to the power 54,576,914,784,769,677,554,807,239,968
First ten multiples340,498, 680,996, 1,021,494, 1,361,992, 1,702,490, 2,042,988, 2,383,486, 2,723,984, 3,064,482, 3,404,980
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 4
Divisible by 8No, remainder 2
Divisible by 9No, remainder 1
Divisible by 10No, remainder 8
Divisible by 11No, remainder 4
Divisible by 12No, remainder 10
Divisible by 100No, remainder 98

Collatz (3n + 1) trajectory

Steps to reach 1104the total stopping time
Highest value reached861,8922× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,498 → 170,249 → 510,748 → 255,374 → 127,687 → 383,062 → 191,531 → 574,594 → 287,297 → 861,892 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage34,049,800%
340,498% as a decimal3,404.98
340,498% of 100340,498
340,498% of 1,0003,404,980
As a fraction of 100340,498/100

Read another way

As bytes332.518 KiB
As a 24-bit colour#053212

Keep nerding

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

Also reads as

#340498 (colour)

  • #340498
  • Violet
  • Dark
  • Nearest: Dark blue

#340498 is a violet with RGB values 52, 4, 152 and HSL 259°, 95%, 31%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Dark blue.

Open this reading on its own page →

Colour values

#340498#340498
HEX#340498
RGBrgb(52, 4, 152)
RGB (0–1)0.2039, 0.0157, 0.5961
RGB percentages20.4%, 1.6%, 59.6%
HSLhsl(259.5, 94.9%, 30.6%)
HSV / HSBhsv(259.5, 97.4%, 59.6%)
CMYK65.8%, 97.4%, 0%, 40.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,048
CSS custom property--colour: #340498;

Brightness & contrast

Relative luminance0.03084WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.99:1
Contrast with white12.99:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#CBFB67

Colour vision & accessibility

Protanopia#00359Cno red cones; affects about 1% of men; ΔE 27.2 from the original
Deuteranopia#002C96no green cones; the most common form, about 1% of men; ΔE 22.9 from the original
Tritanopia#003C57no blue cones; rare, and affects men and women equally; ΔE 76 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.99:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark blue (#00008B)ΔE 6.82, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#689804
Analogous#041E98, #7E0498
Triadic#983404, #049834
Split complementary#987E04, #1E9804
Tetradic#98041E, #689804, #04987E

Tints, shades & saturation

Lighter +40%#9B6DFB
Lighter +30%#793BFA
Lighter +20%#5709F9
Lighter +10%#4505CA
Darker −10%#230366
Darker −20%#120135
Darker −30%#010003
Darker −40%#000000
More saturated +25%#33009C
Less saturated −25%#3B1884

Channel breakdown

R52
G4
B152
Red52 (20.4%)
Green4 (1.6%)
Blue152 (59.6%)
Hue259.46°
Saturation (HSL)94.87%
Lightness30.59%
Dominant channelBlue
Hex per channelR 34 · G 04 · B 98

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