Nerdulator> put something in

Number

840,042

  • Positive
  • Even
  • Composite
  • 6 digits

840,042 is an even 6-digit integer and a composite number. It has 48 divisors and a digital root of 9.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value840,042
Digit count6
Digit sum18
Digital root9repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum

Factors & divisors

Prime factorisation2 × 3^2 × 7 × 59 × 113
Distinct prime factors52, 3, 7, 59, 113
Number of divisors48
Sum of divisors σ(n)2,134,080
Aliquot sum1,294,038sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)233,856integers below n that share no factor with it
SquarefreeNohas a repeated prime factor
All divisors1, 2, 3, 6, 7, 9, 14, 18, 21, 42, 59, 63, 113, 118, 126, 177, 226, 339, 354, 413, 531, 678, 791, 826, 1,017, 1,062, 1,239, 1,582, 2,034, 2,373, 2,478, 3,717, 4,746, 6,667, 7,119, 7,434, 13,334, 14,238, 20,001, 40,002, 46,669, 60,003, 93,338, 120,006, 140,007, 280,014, 420,021, 840,04248 in total

Arithmetic

Previous number840,041
Next number840,043
Double1,680,084
Cube592,792,910,045,354,088
Square root916.538051583irrational, shown to 9 decimal places
Cube root94.355452145
Negation-840,042
Reciprocal0.0000011904

Representations

Decimal840,042
Binary1100110100010110101020 bits
Octal3150552
HexadecimalCD16A
Base 36I06I
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand and forty-two
Ordinaleight hundred and forty thousand and forty-second
Scientific notation8.40042 × 10^5
Engineering notation840.042 × 10^3

Nearest landmarks

Next prime840,053+11
Previous prime840,023−19
Distance to nearest prime11
Nearest square below839,056
Nearest square above840,889

Powers & multiples

840,042 to the power 2705,670,561,764
840,042 to the power 3592,792,910,045,354,088
840,042 to the power 4497,970,941,740,319,338,791,696
840,042 to the power 5418,316,505,841,421,337,997,253,891,232
First ten multiples840,042, 1,680,084, 2,520,126, 3,360,168, 4,200,210, 5,040,252, 5,880,294, 6,720,336, 7,560,378, 8,400,420
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 182the total stopping time
Highest value reached1,260,0641× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,042 → 420,021 → 1,260,064 → 630,032 → 315,016 → 157,508 → 78,754 → 39,377 → 118,132 → 59,066 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage84,004,200%
840,042% as a decimal8,400.42
840,042% of 100840,042
840,042% of 1,0008,400,420
As a fraction of 100840,042/100

Read another way

As bytes820.354 KiB
As a 24-bit colour#0CD16A

Keep nerding

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

Also reads as

#840042 (colour)

  • #840042
  • Red
  • Dark
  • Nearest: Medium violet red

#840042 is a red with RGB values 132, 0, 66 and HSL 330°, 100%, 26%. It is a dark colour, so white text on it reaches 10.2:1 contrast (AAA for normal text). The nearest named colour is Medium violet red.

Open this reading on its own page →

Colour values

#840042#840042
HEX#840042
RGBrgb(132, 0, 66)
RGB (0–1)0.5176, 0, 0.2588
RGB percentages51.8%, 0%, 25.9%
HSLhsl(330, 100%, 25.9%)
HSV / HSBhsv(330, 100%, 51.8%)
CMYK0%, 100%, 50%, 48.2%naive device-independent conversion; real print needs an ICC profile
24-bit integer8,650,818
CSS custom property--colour: #840042;

Brightness & contrast

Relative luminance0.05299WCAG 2.x, 0 is black and 1 is white
Perceived brightness75.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.2:1
Contrast with white10.2:1WCAG normal text: AAA
Contrast with black2.06:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#7BFFBD

Colour vision & accessibility

Protanopia#2B3243no red cones; affects about 1% of men; ΔE 52.1 from the original
Deuteranopia#4C493Fno green cones; the most common form, about 1% of men; ΔE 53.3 from the original
Tritanopia#900024no blue cones; rare, and affects men and women equally; ΔE 23.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.2:1WCAG large text: AAA
Contrast with black, large text2.06:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium violet red (#C71585)ΔE 30.05, a distinctly different colour
Hue familyred
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#008442
Analogous#840084, #840000
Triadic#428400, #004284
Split complementary#008400, #008484
Tetradic#848400, #008442, #000084

Tints, shades & saturation

Lighter +40%#FF51A8
Lighter +30%#FF1E8F
Lighter +20%#EA0075
Lighter +10%#B7005C
Darker −10%#510029
Darker −20%#1E000F
Darker −30%#000000
Darker −40%#000000
More saturated +25%#840042
Less saturated −25%#741042

Channel breakdown

R132
G0
B66
Red132 (51.8%)
Green0 (0%)
Blue66 (25.9%)
Hue330°
Saturation (HSL)100%
Lightness25.88%
Dominant channelRed
Hex per channelR 84 · G 00 · B 42

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