Recognised as Number
802,118
- Positive
- Even
- Composite
- 6 digits
802,118 is an even 6-digit integer and a composite number. It has 8 divisors and a digital root of 2.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value802,118
Digit count6
Digit sum20
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 389 × 1,031
Distinct prime factors32, 389, 1,031
Number of divisors8
Sum of divisors σ(n)1,207,440
Aliquot sum405,322sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)399,640integers below n that share no factor with it
Carmichael function λ(n)199,820the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 399,640
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 389, 778, 1,031, 2,062, 401,059, 802,1188 in total
Arithmetic
Representations
Decimal802,118
Binary1100001111010100011020 bits
Octal3036506
HexadecimalC3D46
Base 36H6X2
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and two thousand, one hundred and eighteen
Ordinaleight hundred and two thousand, one hundred and eighteenth
Scientific notation8.02118 × 10^5
Engineering notation802.118 × 10^3
In other bases
Ternary1111202022002base 3; the most digit-efficient integer base after e: 13 digits
Quinary201131433base 5; one hand: 9 digits
Septenary6550352base 7: 7 digits
Nonary1452262base 9; each digit is two ternary digits: 7 digits
Duodecimal328232base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal5055ibase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:42:48:38base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTTTT1T10T01Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111000100110101011010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011000011110101000110
Bit length20 bitsto write the magnitude
Set bits10the population count, or Hamming weight
Zero bits10within that length
Bit parityeven10 set bits, so even; not the same as the number itself being even
Highest set bitbit 19worth 524,288
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes30c 3d 46
Gray code10100010001111100101n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011000011110101000110
64-bit0000000000000000000000000000000000000000000011000011110101000110
One's complement11111111111100111100001010111001at 32 bits, every bit flipped
Bits reversed01100010101111000011000000000000at 32 bits
Rotated left by 100000000000110000111101010001100at 32 bits, wrapping
Shifted left by 1110000111101010001100= 1,604,236, no wrap
Shifted right by 11100001111010100011= 401,059, discarding the low bit
These bits as a double3.96298948 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
802,118 to the power 2643,393,285,924
802,118 to the power 3516,077,335,718,787,032
802,118 to the power 4413,954,920,372,082,016,533,776
802,118 to the power 5332,040,692,819,013,682,938,039,337,568
First ten multiples802,118, 1,604,236, 2,406,354, 3,208,472, 4,010,590, 4,812,708, 5,614,826, 6,416,944, 7,219,062, 8,021,180
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4No, remainder 2
Divisible by 5No, remainder 3
Divisible by 6No, remainder 2
Divisible by 7No, remainder 2
Divisible by 8No, remainder 6
Divisible by 9No, remainder 2
Divisible by 10No, remainder 8
Divisible by 11No, remainder 9
Divisible by 12No, remainder 2
Divisible by 100No, remainder 18
Collatz (3n + 1) trajectory
Steps to reach 1118the total stopping time
Highest value reached1,804,7682× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps802,118 → 401,059 → 1,203,178 → 601,589 → 1,804,768 → 902,384 → 451,192 → 225,596 → 112,798 → 56,399 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage80,211,800%
802,118% as a decimal8,021.18
802,118% of 100802,118
802,118% of 1,0008,021,180
As a fraction of 100802,118/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 802,118
Also reads as
#802118 (colour)
- #802118
- Red
- Dark
- Nearest: Maroon
#802118 is a red with RGB values 128, 33, 24 and HSL 5°, 68%, 30%. It is a dark colour, so white text on it reaches 9.8:1 contrast (AAA for normal text). The nearest named colour is Maroon.
Colour values
#802118#802118
HEX#802118
RGBrgb(128, 33, 24)
RGB (0–1)0.502, 0.1294, 0.0941
RGB percentages50.2%, 12.9%, 9.4%
HSLhsl(5.2, 68.4%, 29.8%)
HSV / HSBhsv(5.2, 81.3%, 50.2%)
CMYK0%, 74.2%, 81.3%, 49.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,397,080
CSS custom property--colour: #802118;
Brightness & contrast
Relative luminance0.05743WCAG 2.x, 0 is black and 1 is white
Perceived brightness74.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.77:1
Contrast with white9.77:1WCAG normal text: AAA
Contrast with black2.15:1WCAG normal text: Fail
Greyscale equivalent#353535
Inverted#7FDEE7
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.77:1WCAG large text: AAA
Contrast with black, large text2.15:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#187780
Analogous#801843, #805518
Triadic#188021, #211880
Split complementary#188055, #184380
Tetradic#438018, #187780, #551880
Tints, shades & saturation
Channel breakdown
R128
G33
B24
Red128 (50.2%)
Green33 (12.9%)
Blue24 (9.4%)
Hue5.19°
Saturation (HSL)68.42%
Lightness29.8%
Dominant channelRed
Hex per channelR 80 · G 21 · B 18
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