Recognised as Number
402,009
- Positive
- Odd
- Composite
- 6 digits
402,009 is an odd 6-digit integer and a composite number. It has 8 divisors and a digital root of 6.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value402,009
Digit count6
Digit sum15
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3 × 103 × 1,301
Distinct prime factors33, 103, 1,301
Number of divisors8
Sum of divisors σ(n)541,632
Aliquot sum139,623sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)265,200integers below n that share no factor with it
Carmichael function λ(n)66,300the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 265,200
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 3, 103, 309, 1,301, 3,903, 134,003, 402,0098 in total
Arithmetic
Representations
Decimal402,009
Binary110001000100101100119 bits
Octal1421131
Hexadecimal62259
Base 368M6X
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and two thousand and nine
Ordinalfour hundred and two thousand and ninth
Scientific notation4.02009 × 10^5
Engineering notation402.009 × 10^3
In other bases
Ternary202102110020base 3; the most digit-efficient integer base after e: 12 digits
Quinary100331014base 5; one hand: 9 digits
Septenary3263016base 7: 7 digits
Nonary672406base 9; each digit is two ternary digits: 6 digits
Duodecimal174789base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a509base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:40:9base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T11T1101T0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110011110101001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001100010001001011001
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 odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes306 22 59
Gray code1010011001101110101n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001100010001001011001
64-bit0000000000000000000000000000000000000000000001100010001001011001
One's complement11111111111110011101110110100110at 32 bits, every bit flipped
Bits reversed10011010010001000110000000000000at 32 bits
Rotated left by 100000000000011000100010010110010at 32 bits, wrapping
Shifted left by 111000100010010110010= 804,018, no wrap
Shifted right by 1110001000100101100= 201,004, discarding the low bit
These bits as a double1.98618836 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
402,009 to the power 2161,611,236,081
402,009 to the power 364,969,171,405,686,729
402,009 to the power 426,118,191,627,628,716,238,561
402,009 to the power 510,499,748,098,031,392,586,347,669,049
First ten multiples402,009, 804,018, 1,206,027, 1,608,036, 2,010,045, 2,412,054, 2,814,063, 3,216,072, 3,618,081, 4,020,090
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3Yes
Divisible by 4No, remainder 1
Divisible by 5No, remainder 4
Divisible by 6No, remainder 3
Divisible by 7No, remainder 6
Divisible by 8No, remainder 1
Divisible by 9No, remainder 6
Divisible by 10No, remainder 9
Divisible by 11No, remainder 3
Divisible by 12No, remainder 9
Divisible by 100No, remainder 9
Collatz (3n + 1) trajectory
Steps to reach 1143the total stopping time
Highest value reached1,931,8484× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402,009 → 1,206,028 → 603,014 → 301,507 → 904,522 → 452,261 → 1,356,784 → 678,392 → 339,196 → 169,598 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage40,200,900%
402,009% as a decimal4,020.09
402,009% of 100402,009
402,009% of 1,0004,020,090
As a fraction of 100402,009/100
Read another way
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 402,009
Also reads as
#402009 (colour)
- #402009
- Orange
- Dark
- Nearest: Black
#402009 is a orange with RGB values 64, 32, 9 and HSL 25°, 75%, 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.
Colour values
#402009#402009
HEX#402009
RGBrgb(64, 32, 9)
RGB (0–1)0.251, 0.1255, 0.0353
RGB percentages25.1%, 12.5%, 3.5%
HSLhsl(25.1, 75.3%, 14.3%)
HSV / HSBhsv(25.1, 85.9%, 25.1%)
CMYK0%, 50%, 85.9%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,505
CSS custom property--colour: #402009;
Brightness & contrast
Relative luminance0.02143WCAG 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#BFDFF6
Colour vision & accessibility
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
Hue familyorange
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#092940
Analogous#40090E, #403C09
Triadic#094020, #200940
Split complementary#09403C, #090D40
Tetradic#0D4009, #092940, #3B0940
Tints, shades & saturation
Channel breakdown
R64
G32
B9
Red64 (25.1%)
Green32 (12.5%)
Blue9 (3.5%)
Hue25.09°
Saturation (HSL)75.34%
Lightness14.31%
Dominant channelRed
Hex per channelR 40 · G 20 · B 09
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