Nerdulator> put something in

Recognised as Number

400,802

  • Positive
  • Even
  • Composite
  • 6 digits

400,802 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 value400,802
Digit count6
Digit sum14
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times 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 × 200,401
Distinct prime factors22, 200,401
Number of divisors4
Sum of divisors σ(n)601,206
Aliquot sum200,404sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)200,400integers below n that share no factor with it
Carmichael function λ(n)200,400the 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, 200,401, 400,8024 in total

Arithmetic

Previous number400,801
Next number400,803
Double801,604
Cube64,385,732,360,649,608
Square root633.089251212≈irrational, shown to 9 decimal places
Cube root73.72984032≈
Negation-400,802
Reciprocal0.000002495≈

Representations

Decimal400,802
Binary110000111011010001019 bits
Octal1416642
Hexadecimal61DA2
Base 368L9E
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred thousand, eight hundred and two
Ordinalfour hundred thousand, eight hundred and second
Scientific notation4.00802 × 10^5
Engineering notation400.802 × 10^3

In other bases

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

Bit-level

00000000000001100001110110100010
Bit length19 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits10within that length
Bit parityodd9 set bits, so odd; 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 1d a2
Gray code1010001001101110011n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001100001110110100010
64-bit0000000000000000000000000000000000000000000001100001110110100010
One's complement11111111111110011110001001011101at 32 bits, every bit flipped
Bits reversed01000101101110000110000000000000at 32 bits
Rotated left by 100000000000011000011101101000100at 32 bits, wrapping
Shifted left by 111000011101101000100= 801,604, no wrap
Shifted right by 1110000111011010001= 200,401, discarding the low bit
These bits as a double1.98022499 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime400,823+21
Previous prime400,759−43
Distance to nearest prime21
Nearest square below400,689
Nearest square above401,956

Powers & multiples

400,802 to the power 2160,642,243,204
400,802 to the power 364,385,732,360,649,608
400,802 to the power 425,805,930,301,613,084,185,616
400,802 to the power 510,343,068,476,747,127,367,763,264,032
First ten multiples400,802, 801,604, 1,202,406, 1,603,208, 2,004,010, 2,404,812, 2,805,614, 3,206,416, 3,607,218, 4,008,020
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 3
Divisible by 8No, remainder 2
Divisible by 9No, remainder 5
Divisible by 10No, remainder 2
Divisible by 11No, remainder 6
Divisible by 12No, remainder 2
Divisible by 100No, remainder 2

Collatz (3n + 1) trajectory

Steps to reach 168the total stopping time
Highest value reached601,2041× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps400,802 → 200,401 → 601,204 → 300,602 → 150,301 → 450,904 → 225,452 → 112,726 → 56,363 → 169,090 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage40,080,200%
400,802% as a decimal4,008.02
400,802% of 100400,802
400,802% of 1,0004,008,020
As a fraction of 100400,802/100

Read another way

As bytes391.408 KiB
As a 24-bit colour#061DA2

Keep nerding

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

Also reads as

#400802 (colour)

  • #400802
  • Red
  • Dark
  • Nearest: Black

#400802 is a red with RGB values 64, 8, 2 and HSL 6°, 94%, 13%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#400802#400802
HEX#400802
RGBrgb(64, 8, 2)
RGB (0–1)0.251, 0.0314, 0.0078
RGB percentages25.1%, 3.1%, 0.8%
HSLhsl(5.8, 93.9%, 12.9%)
HSV / HSBhsv(5.8, 96.9%, 25.1%)
CMYK0%, 87.5%, 96.9%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,196,354
CSS custom property--colour: #400802;

Brightness & contrast

Relative luminance0.01268WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.75:1
Contrast with white16.75:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#BFF7FD

Colour vision & accessibility

Protanopia#1A1601no red cones; affects about 1% of men; ΔE 28.6 from the original
Deuteranopia#282200no green cones; the most common form, about 1% of men; ΔE 28.3 from the original
Tritanopia#480007no blue cones; rare, and affects men and women equally; ΔE 6.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.75:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#023A40
Analogous#40021B, #402702
Triadic#024008, #080240
Split complementary#024027, #021B40
Tetradic#1B4002, #023A40, #270240

Tints, shades & saturation

Lighter +40%#F82C16
Lighter +30%#D41B07
Lighter +20%#A31405
Lighter +10%#710E04
Darker −10%#0F0200
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#420600
Less saturated −25%#380F0A

Channel breakdown

R64
G8
B2
Red64 (25.1%)
Green8 (3.1%)
Blue2 (0.8%)
Hue5.81°
Saturation (HSL)93.94%
Lightness12.94%
Dominant channelRed
Hex per channelR 40 · G 08 · B 02

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