Nerdulator> put something in

Number

340,787

  • Positive
  • Odd
  • Prime
  • 6 digits

340,787 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,787
Digit count6
Digit sum29
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation340,787
Distinct prime factors1340,787
Number of divisors2
Sum of divisors σ(n)340,788
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)340,786integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 340,7872 in total

Arithmetic

Previous number340,786
Next number340,788
Double681,574
Cube39,577,563,843,823,403
Square root583.76964635irrational, shown to 9 decimal places
Cube root69.849130852
Negation-340,787
Reciprocal0.0000029344

Representations

Decimal340,787
Binary101001100110011001119 bits
Octal1231463
Hexadecimal53333
Base 367AYB
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, seven hundred and eighty-seven
Ordinalthree hundred and forty thousand, seven hundred and eighty-seventh
Scientific notation3.40787 × 10^5
Engineering notation340.787 × 10^3

Nearest landmarks

Next prime340,789+2
Previous prime340,777−10
Distance to nearest prime0, it is prime
Nearest square below339,889
Nearest square above341,056

Powers & multiples

340,787 to the power 2116,135,779,369
340,787 to the power 339,577,563,843,823,403
340,787 to the power 413,487,519,249,645,046,038,161
340,787 to the power 54,596,371,222,528,786,304,206,772,707
First ten multiples340,787, 681,574, 1,022,361, 1,363,148, 1,703,935, 2,044,722, 2,385,509, 2,726,296, 3,067,083, 3,407,870
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 2
Divisible by 6No, remainder 5
Divisible by 7No, remainder 6
Divisible by 8No, remainder 3
Divisible by 9No, remainder 2
Divisible by 10No, remainder 7
Divisible by 11No, remainder 7
Divisible by 12No, remainder 11
Divisible by 100No, remainder 87

Collatz (3n + 1) trajectory

Steps to reach 1197the total stopping time
Highest value reached1,533,5444× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,787 → 1,022,362 → 511,181 → 1,533,544 → 766,772 → 383,386 → 191,693 → 575,080 → 287,540 → 143,770 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage34,078,700%
340,787% as a decimal3,407.87
340,787% of 100340,787
340,787% of 1,0003,407,870
As a fraction of 100340,787/100

Read another way

As bytes332.8 KiB
As a 24-bit colour#053333

Keep nerding

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

Also reads as

#340787 (colour)

  • #340787
  • Violet
  • Dark
  • Nearest: Indigo

#340787 is a violet with RGB values 52, 7, 135 and HSL 261°, 90%, 28%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Indigo.

Open this reading on its own page →

Colour values

#340787#340787
HEX#340787
RGBrgb(52, 7, 135)
RGB (0–1)0.2039, 0.0275, 0.5294
RGB percentages20.4%, 2.7%, 52.9%
HSLhsl(261.1, 90.1%, 27.8%)
HSV / HSBhsv(261.1, 94.8%, 52.9%)
CMYK61.5%, 94.8%, 0%, 47.1%naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,799
CSS custom property--colour: #340787;

Brightness & contrast

Relative luminance0.02631WCAG 2.x, 0 is black and 1 is white
Perceived brightness54 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.76:1
Contrast with white13.76:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#CBF878

Colour vision & accessibility

Protanopia#00308Ano red cones; affects about 1% of men; ΔE 25.4 from the original
Deuteranopia#002985no green cones; the most common form, about 1% of men; ΔE 22.1 from the original
Tritanopia#00354Eno blue cones; rare, and affects men and women equally; ΔE 67.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.76:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#5A8707
Analogous#071A87, #740787
Triadic#873407, #078734
Split complementary#877407, #1A8707
Tetradic#87071A, #5A8707, #078774

Tints, shades & saturation

Lighter +40%#9763F7
Lighter +30%#7733F4
Lighter +20%#590CE8
Lighter +10%#470AB7
Darker −10%#210457
Darker −20%#0F0226
Darker −30%#000000
Darker −40%#000000
More saturated +25%#32008E
Less saturated −25%#391975

Channel breakdown

R52
G7
B135
Red52 (20.4%)
Green7 (2.7%)
Blue135 (52.9%)
Hue261.09°
Saturation (HSL)90.14%
Lightness27.84%
Dominant channelBlue
Hex per channelR 34 · G 07 · B 87

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