Nerdulator> put something in

Recognised as Number

398,642

  • Positive
  • Even
  • Composite
  • 6 digits

398,642 is an even 6-digit integer and a composite number. It has 4 divisors and a digital root of 5.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value398,642
Digit count6
Digit sum32
Digit product10,368
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation2 × 199,321
Distinct prime factors22, 199,321
Number of divisors4
Sum of divisors σ(n)597,966
Aliquot sum199,324sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)199,320integers below n that share no factor with it
Carmichael function λ(n)199,320the 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, 199,321, 398,6424 in total

Arithmetic

Previous number398,641
Next number398,643
Double797,284
Cube63,350,370,492,425,288
Square root631.381026006≈irrational, shown to 9 decimal places
Cube root73.597153521≈
Negation-398,642
Reciprocal0.0000025085≈

Representations

Decimal398,642
Binary110000101010011001019 bits
Octal1412462
Hexadecimal61532
Base 368JLE
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and ninety-eight thousand, six hundred and forty-two
Ordinalthree hundred and ninety-eight thousand, six hundred and forty-second
Scientific notation3.98642 × 10^5
Engineering notation398.642 × 10^3

In other bases

Ternary202020211112base 3; the most digit-efficient integer base after e: 12 digits
Quinary100224032base 5; one hand: 9 digits
Septenary3250136base 7: 7 digits
Nonary666745base 9; each digit is two ternary digits: 6 digits
Duodecimal172842base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal29gc2base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:50:44:2base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T1T10TTTTTdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100001010101110110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000001100001010100110010
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
Bytes306 15 32
Gray code1010001111110101011n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001100001010100110010
64-bit0000000000000000000000000000000000000000000001100001010100110010
One's complement11111111111110011110101011001101at 32 bits, every bit flipped
Bits reversed01001100101010000110000000000000at 32 bits
Rotated left by 100000000000011000010101001100100at 32 bits, wrapping
Shifted left by 111000010101001100100= 797,284, no wrap
Shifted right by 1110000101010011001= 199,321, discarding the low bit
These bits as a double1.96955317 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime398,669+27
Previous prime398,627−15
Distance to nearest prime15
Nearest square below398,161
Nearest square above399,424

Powers & multiples

398,642 to the power 2158,915,444,164
398,642 to the power 363,350,370,492,425,288
398,642 to the power 425,254,118,393,841,401,658,896
398,642 to the power 510,067,352,264,757,724,040,105,619,232
First ten multiples398,642, 797,284, 1,195,926, 1,594,568, 1,993,210, 2,391,852, 2,790,494, 3,189,136, 3,587,778, 3,986,420
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 2
Divisible by 6No, remainder 2
Divisible by 7No, remainder 6
Divisible by 8No, remainder 2
Divisible by 9No, remainder 5
Divisible by 10No, remainder 2
Divisible by 11No, remainder 2
Divisible by 12No, remainder 2
Divisible by 100No, remainder 42

Collatz (3n + 1) trajectory

Steps to reach 168the total stopping time
Highest value reached672,7121× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps398,642 → 199,321 → 597,964 → 298,982 → 149,491 → 448,474 → 224,237 → 672,712 → 336,356 → 168,178 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage39,864,200%
398,642% as a decimal3,986.42
398,642% of 100398,642
398,642% of 1,0003,986,420
As a fraction of 100398,642/100

Read another way

As bytes389.299 KiB
As a 24-bit colour#061532

Keep nerding

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

Also reads as

#398642 (colour)

  • #398642
  • Green
  • Dark
  • Nearest: Sea green

#398642 is a green with RGB values 57, 134, 66 and HSL 127°, 40%, 37%. It is a dark colour, so black text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Sea green.

Open this reading on its own page →

Colour values

#398642#398642
HEX#398642
RGBrgb(57, 134, 66)
RGB (0–1)0.2235, 0.5255, 0.2588
RGB percentages22.4%, 52.5%, 25.9%
HSLhsl(127, 40.3%, 37.5%)
HSV / HSBhsv(127, 57.5%, 52.5%)
CMYK57.5%, 0%, 50.7%, 47.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,769,922
CSS custom property--colour: #398642;

Brightness & contrast

Relative luminance0.18313WCAG 2.x, 0 is black and 1 is white
Perceived brightness109.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.66:1
Contrast with white4.5:1WCAG normal text: AA
Contrast with black4.66:1WCAG normal text: AA
Greyscale equivalent#717171
Inverted#C679BD

Colour vision & accessibility

Protanopia#887B3Cno red cones; affects about 1% of men; ΔE 35.8 from the original
Deuteranopia#7E7447no green cones; the most common form, about 1% of men; ΔE 36 from the original
Tritanopia#2A8376no blue cones; rare, and affects men and women equally; ΔE 31.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text4.5:1WCAG large text: AAA
Contrast with black, large text4.66:1WCAG large text: AAA

Named colours

Nearest named CSS colourSea green (#2E8B57)ΔE 9.6, clearly different but related
Hue familygreen
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#86397D
Analogous#568639, #398668
Triadic#423986, #864239
Split complementary#683986, #863957
Tetradic#395786, #86397D, #866939

Tints, shades & saturation

Lighter +40%#AEDDB4
Lighter +30%#8BCD92
Lighter +20%#67BE71
Lighter +10%#48AA54
Darker −10%#2A6230
Darker −20%#1B3E1F
Darker −30%#0B1B0D
Darker −40%#000000
More saturated +25%#219E30
Less saturated −25%#516E54

Channel breakdown

R57
G134
B66
Red57 (22.4%)
Green134 (52.5%)
Blue66 (25.9%)
Hue127.01°
Saturation (HSL)40.31%
Lightness37.45%
Dominant channelGreen
Hex per channelR 39 · G 86 · 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 “398642” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.