Nerdulator> put something in

Recognised as Number

340,246

  • Positive
  • Even
  • Composite
  • 6 digits

340,246 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,246
Digit count6
Digit sum19
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,123
Distinct prime factors22, 170,123
Number of divisors4
Sum of divisors σ(n)510,372
Aliquot sum170,126sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)170,122integers below n that share no factor with it
Carmichael function λ(n)170,122the 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,123, 340,2464 in total

Arithmetic

Previous number340,245
Next number340,247
Double680,492
Cube39,389,374,541,206,936
Square root583.306094602≈irrational, shown to 9 decimal places
Cube root69.8121494≈
Negation-340,246
Reciprocal0.000002939≈

Representations

Decimal340,246
Binary101001100010001011019 bits
Octal1230426
Hexadecimal53116
Base 367AJA
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, two hundred and forty-six
Ordinalthree hundred and forty thousand, two hundred and forty-sixth
Scientific notation3.40246 × 10^5
Engineering notation340.246 × 10^3

In other bases

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

Bit-level

00000000000001010011000100010110
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 31 16
Gray code1111010100110011101n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001010011000100010110
64-bit0000000000000000000000000000000000000000000001010011000100010110
One's complement11111111111110101100111011101001at 32 bits, every bit flipped
Bits reversed01101000100011001010000000000000at 32 bits
Rotated left by 100000000000010100110001000101100at 32 bits, wrapping
Shifted left by 110100110001000101100= 680,492, no wrap
Shifted right by 1101001100010001011= 170,123, discarding the low bit
These bits as a double1.6810386 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime340,261+15
Previous prime340,237−9
Distance to nearest prime9
Nearest square below339,889
Nearest square above341,056

Powers & multiples

340,246 to the power 2115,767,340,516
340,246 to the power 339,389,374,541,206,936
340,246 to the power 413,402,077,130,147,495,146,256
340,246 to the power 54,560,003,135,224,164,633,533,018,976
First ten multiples340,246, 680,492, 1,020,738, 1,360,984, 1,701,230, 2,041,476, 2,381,722, 2,721,968, 3,062,214, 3,402,460
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 1
Divisible by 6No, remainder 4
Divisible by 7No, remainder 4
Divisible by 8No, remainder 6
Divisible by 9No, remainder 1
Divisible by 10No, remainder 6
Divisible by 11No, remainder 5
Divisible by 12No, remainder 10
Divisible by 100No, remainder 46

Collatz (3n + 1) trajectory

Steps to reach 1184the total stopping time
Highest value reached3,104,0809× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,246 → 170,123 → 510,370 → 255,185 → 765,556 → 382,778 → 191,389 → 574,168 → 287,084 → 143,542 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage34,024,600%
340,246% as a decimal3,402.46
340,246% of 100340,246
340,246% of 1,0003,402,460
As a fraction of 100340,246/100

Read another way

As bytes332.271 KiB
As a 24-bit colour#053116

Keep nerding

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

Also reads as

#340246 (colour)

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

#340246 is a violet with RGB values 52, 2, 70 and HSL 284°, 94%, 14%. It is a dark colour, so white text on it reaches 16.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#340246#340246
HEX#340246
RGBrgb(52, 2, 70)
RGB (0–1)0.2039, 0.0078, 0.2745
RGB percentages20.4%, 0.8%, 27.5%
HSLhsl(284.1, 94.4%, 14.1%)
HSV / HSBhsv(284.1, 97.1%, 27.5%)
CMYK25.7%, 97.1%, 0%, 72.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,408,454
CSS custom property--colour: #340246;

Brightness & contrast

Relative luminance0.01216WCAG 2.x, 0 is black and 1 is white
Perceived brightness37 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.89:1
Contrast with white16.89:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#CBFDB9

Colour vision & accessibility

Protanopia#001A48no red cones; affects about 1% of men; ΔE 22.8 from the original
Deuteranopia#001E45no green cones; the most common form, about 1% of men; ΔE 27.5 from the original
Tritanopia#321426no blue cones; rare, and affects men and women equally; ΔE 29.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.89:1WCAG large text: AAA
Contrast with black, large text1.24:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#144602
Analogous#120246, #460236
Triadic#463402, #024634
Split complementary#364602, #024612
Tetradic#461202, #144602, #023646

Tints, shades & saturation

Lighter +40%#BE1BF9
Lighter +30%#A306DB
Lighter +20%#7E05A9
Lighter +10%#590378
Darker −10%#0F0114
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#350048
Less saturated −25%#300B3D

Channel breakdown

R52
G2
B70
Red52 (20.4%)
Green2 (0.8%)
Blue70 (27.5%)
Hue284.12°
Saturation (HSL)94.44%
Lightness14.12%
Dominant channelBlue
Hex per channelR 34 · G 02 · B 46

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