Nerdulator> put something in

Recognised as Number

402,008

  • Positive
  • Even
  • Composite
  • 6 digits

402,008 is an even 6-digit integer and a composite number. It has 16 divisors and a digital root of 5.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value402,008
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^3 × 31 × 1,621
Distinct prime factors32, 31, 1,621
Number of divisors16
Sum of divisors σ(n)778,560
Aliquot sum376,552sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)194,400integers below n that share no factor with it
Carmichael function λ(n)1,620the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 194,400
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 8, 31, 62, 124, 248, 1,621, 3,242, 6,484, 12,968, 50,251, 100,502, 201,004, 402,00816 in total

Arithmetic

Previous number402,007
Next number402,009
Double804,016
Cube64,968,686,573,184,512
Square root634.041008137≈irrational, shown to 9 decimal places
Cube root73.803716491≈
Negation-402,008
Reciprocal0.0000024875≈

Representations

Decimal402,008
Binary110001000100101100019 bits
Octal1421130
Hexadecimal62258
Base 368M6W
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and two thousand and eight
Ordinalfour hundred and two thousand and eighth
Scientific notation4.02008 × 10^5
Engineering notation402.008 × 10^3

In other bases

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

Bit-level

00000000000001100010001001011000
Bit length19 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits12within that length
Bit parityodd7 set bits, so odd; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 33 trailing zeros
Power of twoNo
Bytes306 22 58
Gray code1010011001101110100n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001100010001001011000
64-bit0000000000000000000000000000000000000000000001100010001001011000
One's complement11111111111110011101110110100111at 32 bits, every bit flipped
Bits reversed00011010010001000110000000000000at 32 bits
Rotated left by 100000000000011000100010010110000at 32 bits, wrapping
Shifted left by 111000100010010110000= 804,016, no wrap
Shifted right by 1110001000100101100= 201,004, discarding the low bit
These bits as a double1.98618342 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime402,023+15
Previous prime401,993−15
Distance to nearest prime15
Nearest square below401,956
Nearest square above403,225

Powers & multiples

402,008 to the power 2161,610,432,064
402,008 to the power 364,968,686,573,184,512
402,008 to the power 426,117,931,751,912,759,300,096
402,008 to the power 510,499,617,507,722,944,540,712,992,768
First ten multiples402,008, 804,016, 1,206,024, 1,608,032, 2,010,040, 2,412,048, 2,814,056, 3,216,064, 3,618,072, 4,020,080
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 142the total stopping time
Highest value reached402,008
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402,008 → 201,004 → 100,502 → 50,251 → 150,754 → 75,377 → 226,132 → 113,066 → 56,533 → 169,600 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage40,200,800%
402,008% as a decimal4,020.08
402,008% of 100402,008
402,008% of 1,0004,020,080
As a fraction of 100402,008/100

Read another way

As bytes392.586 KiB
As a 24-bit colour#062258

Keep nerding

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

Also reads as

#402008 (colour)

  • #402008
  • Orange
  • Dark
  • Nearest: Black

#402008 is a orange with RGB values 64, 32, 8 and HSL 26°, 78%, 14%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#402008#402008
HEX#402008
RGBrgb(64, 32, 8)
RGB (0–1)0.251, 0.1255, 0.0314
RGB percentages25.1%, 12.5%, 3.1%
HSLhsl(25.7, 77.8%, 14.1%)
HSV / HSBhsv(25.7, 87.5%, 25.1%)
CMYK0%, 50%, 87.5%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,504
CSS custom property--colour: #402008;

Brightness & contrast

Relative luminance0.02141WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.7:1
Contrast with white14.7:1WCAG normal text: AAA
Contrast with black1.43:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#BFDFF7

Colour vision & accessibility

Protanopia#292405no red cones; affects about 1% of men; ΔE 15.8 from the original
Deuteranopia#312B08no green cones; the most common form, about 1% of men; ΔE 15.6 from the original
Tritanopia#47191Bno blue cones; rare, and affects men and women equally; ΔE 14.2 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.7:1WCAG large text: AAA
Contrast with black, large text1.43:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#082840
Analogous#40080C, #403C08
Triadic#084020, #200840
Split complementary#08403C, #080C40
Tetradic#0C4008, #082840, #3C0840

Tints, shades & saturation

Lighter +40%#E57D2F
Lighter +30%#C86419
Lighter +20%#9B4D13
Lighter +10%#6D370E
Darker −10%#130902
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#481F00
Less saturated −25%#372111

Channel breakdown

R64
G32
B8
Red64 (25.1%)
Green32 (12.5%)
Blue8 (3.1%)
Hue25.71°
Saturation (HSL)77.78%
Lightness14.12%
Dominant channelRed
Hex per channelR 40 · G 20 · B 08

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