Recognised as Number
402,085
- Positive
- Odd
- Composite
- 6 digits
402,085 is an odd 6-digit integer and a composite number. It has 16 divisors and a digital root of 1.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value402,085
Digit count6
Digit sum19
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation5 × 29 × 47 × 59
Distinct prime factors45, 29, 47, 59
Number of divisors16
Sum of divisors σ(n)518,400
Aliquot sum116,315sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)298,816integers below n that share no factor with it
Carmichael function λ(n)18,676the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 298,816
Möbius function μ(n)+14 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 5, 29, 47, 59, 145, 235, 295, 1,363, 1,711, 2,773, 6,815, 8,555, 13,865, 80,417, 402,08516 in total
Arithmetic
Representations
Decimal402,085
Binary110001000101010010119 bits
Octal1421245
Hexadecimal622A5
Base 368M91
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and two thousand and eighty-five
Ordinalfour hundred and two thousand and eighty-fifth
Scientific notation4.02085 × 10^5
Engineering notation402.085 × 10^3
In other bases
Ternary202102120001base 3; the most digit-efficient integer base after e: 12 digits
Quinary100331320base 5; one hand: 9 digits
Septenary3263155base 7: 7 digits
Nonary672501base 9; each digit is two ternary digits: 6 digits
Duodecimal174831base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a545base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:41:25base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T110TT0001digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110011111100101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001100010001010100101
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 a5
Gray code1010011001111110111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001100010001010100101
64-bit0000000000000000000000000000000000000000000001100010001010100101
One's complement11111111111110011101110101011010at 32 bits, every bit flipped
Bits reversed10100101010001000110000000000000at 32 bits
Rotated left by 100000000000011000100010101001010at 32 bits, wrapping
Shifted left by 111000100010101001010= 804,170, no wrap
Shifted right by 1110001000101010010= 201,042, discarding the low bit
These bits as a double1.98656385 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
402,085 to the power 2161,672,347,225
402,085 to the power 365,006,025,733,964,125
402,085 to the power 426,137,947,857,240,965,200,625
402,085 to the power 510,509,676,764,178,733,492,693,303,125
First ten multiples402,085, 804,170, 1,206,255, 1,608,340, 2,010,425, 2,412,510, 2,814,595, 3,216,680, 3,618,765, 4,020,850
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 1
Divisible by 5Yes
Divisible by 6No, remainder 1
Divisible by 7No, remainder 5
Divisible by 8No, remainder 5
Divisible by 9No, remainder 1
Divisible by 10No, remainder 5
Divisible by 11No, remainder 2
Divisible by 12No, remainder 1
Divisible by 100No, remainder 85
Collatz (3n + 1) trajectory
Steps to reach 1236the total stopping time
Highest value reached7,336,38418× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402,085 → 1,206,256 → 603,128 → 301,564 → 150,782 → 75,391 → 226,174 → 113,087 → 339,262 → 169,631 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage40,208,500%
402,085% as a decimal4,020.85
402,085% of 100402,085
402,085% of 1,0004,020,850
As a fraction of 100402,085/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,085
Also reads as
#402085 (colour)
- #402085
- Violet
- Dark
- Nearest: Midnight blue
#402085 is a violet with RGB values 64, 32, 133 and HSL 259°, 61%, 32%. It is a dark colour, so white text on it reaches 11.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#402085#402085
HEX#402085
RGBrgb(64, 32, 133)
RGB (0–1)0.251, 0.1255, 0.5216
RGB percentages25.1%, 12.5%, 52.2%
HSLhsl(259, 61.2%, 32.4%)
HSV / HSBhsv(259, 75.9%, 52.2%)
CMYK51.9%, 75.9%, 0%, 47.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,629
CSS custom property--colour: #402085;
Brightness & contrast
Relative luminance0.03816WCAG 2.x, 0 is black and 1 is white
Perceived brightness62 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.91:1
Contrast with white11.91:1WCAG normal text: AAA
Contrast with black1.76:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#BFDF7A
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.91:1WCAG large text: AAA
Contrast with black, large text1.76:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#658520
Analogous#203285, #732085
Triadic#854020, #208540
Split complementary#857320, #328520
Tetradic#852032, #658520, #208573
Tints, shades & saturation
Channel breakdown
R64
G32
B133
Red64 (25.1%)
Green32 (12.5%)
Blue133 (52.2%)
Hue259.01°
Saturation (HSL)61.21%
Lightness32.35%
Dominant channelBlue
Hex per channelR 40 · G 20 · B 85
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page