Nerdulator> put something in

Recognised as Number

340,118

  • Positive
  • Even
  • Composite
  • 6 digits

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

Number properties

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

Factors & divisors

Prime factorisation2 × 173 × 983
Distinct prime factors32, 173, 983
Number of divisors8
Sum of divisors σ(n)513,648
Aliquot sum173,530sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)168,904integers below n that share no factor with it
Carmichael function λ(n)84,452the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 168,904
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 173, 346, 983, 1,966, 170,059, 340,1188 in total

Arithmetic

Previous number340,117
Next number340,119
Double680,236
Cube39,344,936,604,123,032
Square root583.196364872≈irrational, shown to 9 decimal places
Cube root69.803393896≈
Negation-340,118
Reciprocal0.0000029402≈

Representations

Decimal340,118
Binary101001100001001011019 bits
Octal1230226
Hexadecimal53096
Base 367AFQ
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, one hundred and eighteen
Ordinalthree hundred and forty thousand, one hundred and eighteenth
Scientific notation3.40118 × 10^5
Engineering notation340.118 × 10^3

In other bases

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

Bit-level

00000000000001010011000010010110
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 30 96
Gray code1111010100011011101n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001010011000010010110
64-bit0000000000000000000000000000000000000000000001010011000010010110
One's complement11111111111110101100111101101001at 32 bits, every bit flipped
Bits reversed01101001000011001010000000000000at 32 bits
Rotated left by 100000000000010100110000100101100at 32 bits, wrapping
Shifted left by 110100110000100101100= 680,236, no wrap
Shifted right by 1101001100001001011= 170,059, discarding the low bit
These bits as a double1.68040619 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime340,121+3
Previous prime340,117−1
Distance to nearest prime1
Nearest square below339,889
Nearest square above341,056

Powers & multiples

340,118 to the power 2115,680,253,924
340,118 to the power 339,344,936,604,123,032
340,118 to the power 413,381,921,147,921,117,397,776
340,118 to the power 54,551,432,256,988,634,607,096,777,568
First ten multiples340,118, 680,236, 1,020,354, 1,360,472, 1,700,590, 2,040,708, 2,380,826, 2,720,944, 3,061,062, 3,401,180
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 160the total stopping time
Highest value reached765,2682× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,118 → 170,059 → 510,178 → 255,089 → 765,268 → 382,634 → 191,317 → 573,952 → 286,976 → 143,488 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage34,011,800%
340,118% as a decimal3,401.18
340,118% of 100340,118
340,118% of 1,0003,401,180
As a fraction of 100340,118/100

Read another way

As bytes332.146 KiB
As a 24-bit colour#053096

Keep nerding

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

Also reads as

#340118 (colour)

  • #340118
  • Red
  • Dark
  • Nearest: Black

#340118 is a red with RGB values 52, 1, 24 and HSL 333°, 96%, 10%. It is a dark colour, so white text on it reaches 18:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#340118#340118
HEX#340118
RGBrgb(52, 1, 24)
RGB (0–1)0.2039, 0.0039, 0.0941
RGB percentages20.4%, 0.4%, 9.4%
HSLhsl(332.9, 96.2%, 10.4%)
HSV / HSBhsv(332.9, 98.1%, 20.4%)
CMYK0%, 98.1%, 53.8%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,408,152
CSS custom property--colour: #340118;

Brightness & contrast

Relative luminance0.00818WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.05:1
Contrast with white18.05:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#CBFEE7

Colour vision & accessibility

Protanopia#0C1019no red cones; affects about 1% of men; ΔE 27 from the original
Deuteranopia#1B1A17no green cones; the most common form, about 1% of men; ΔE 27.6 from the original
Tritanopia#39000Ano blue cones; rare, and affects men and women equally; ΔE 9.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.05:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 28.12, a distinctly different colour
Hue familyred
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#01341D
Analogous#340131, #340301
Triadic#183401, #011834
Split complementary#013403, #013134
Tetradic#313401, #01341D, #040134

Tints, shades & saturation

Lighter +40%#FA0775
Lighter +30%#CA045D
Lighter +20%#980346
Lighter +10%#66022F
Darker −10%#020001
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#350018
Less saturated −25%#2D0819

Channel breakdown

R52
G1
B24
Red52 (20.4%)
Green1 (0.4%)
Blue24 (9.4%)
Hue332.94°
Saturation (HSL)96.23%
Lightness10.39%
Dominant channelRed
Hex per channelR 34 · G 01 · B 18

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