Recognised as Number
798,021
- Positive
- Odd
- Composite
- 6 digits
798,021 is an odd 6-digit integer and a composite number. It has 24 divisors and a digital root of 9.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value798,021
Digit count6
Digit sum27
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root9repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3^2 × 7 × 53 × 239
Distinct prime factors43, 7, 53, 239
Number of divisors24
Sum of divisors σ(n)1,347,840
Aliquot sum549,819sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)445,536integers below n that share no factor with it
Carmichael function λ(n)18,564the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 445,536
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 7, 9, 21, 53, 63, 159, 239, 371, 477, 717, 1,113, 1,673, 2,151, 3,339, 5,019, 12,667, 15,057, 38,001, 88,669, 114,003, 266,007, 798,02124 in total
Arithmetic
Representations
Decimal798,021
Binary1100001011010100010120 bits
Octal3026505
HexadecimalC2D45
Base 36H3R9
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsseven hundred and ninety-eight thousand and twenty-one
Ordinalseven hundred and ninety-eight thousand and twenty-first
Scientific notation7.98021 × 10^5
Engineering notation798.021 × 10^3
In other bases
Ternary1111112200100base 3; the most digit-efficient integer base after e: 13 digits
Quinary201014041base 5; one hand: 9 digits
Septenary6532410base 7: 7 digits
Nonary1445610base 9; each digit is two ternary digits: 7 digits
Duodecimal325999base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal4jf11base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:41:40:21base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTTTTT0T00100digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111000111110101000101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011000010110101000101
Bit length20 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits11within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 19worth 524,288
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes30c 2d 45
Gray code10100011101111100111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011000010110101000101
64-bit0000000000000000000000000000000000000000000011000010110101000101
One's complement11111111111100111101001010111010at 32 bits, every bit flipped
Bits reversed10100010101101000011000000000000at 32 bits
Rotated left by 100000000000110000101101010001010at 32 bits, wrapping
Shifted left by 1110000101101010001010= 1,596,042, no wrap
Shifted right by 11100001011010100010= 399,010, discarding the low bit
These bits as a double3.94274761 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
798,021 to the power 2636,837,516,441
798,021 to the power 3508,209,711,707,763,261
798,021 to the power 4405,562,022,346,740,945,306,481
798,021 to the power 5323,647,010,635,168,555,914,423,274,101
First ten multiples798,021, 1,596,042, 2,394,063, 3,192,084, 3,990,105, 4,788,126, 5,586,147, 6,384,168, 7,182,189, 7,980,210
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3Yes
Divisible by 4No, remainder 1
Divisible by 5No, remainder 1
Divisible by 6No, remainder 3
Divisible by 7Yes
Divisible by 8No, remainder 5
Divisible by 9Yes
Divisible by 10No, remainder 1
Divisible by 11No, remainder 4
Divisible by 12No, remainder 9
Divisible by 100No, remainder 21
Collatz (3n + 1) trajectory
Steps to reach 1118the total stopping time
Highest value reached2,394,0643× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps798,021 → 2,394,064 → 1,197,032 → 598,516 → 299,258 → 149,629 → 448,888 → 224,444 → 112,222 → 56,111 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage79,802,100%
798,021% as a decimal7,980.21
798,021% of 100798,021
798,021% of 1,0007,980,210
As a fraction of 100798,021/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 798,021
Also reads as
#798021 (colour)
- #798021
- Yellow
- Dark
- Nearest: Olive
#798021 is a yellow with RGB values 121, 128, 33 and HSL 64°, 59%, 32%. It is a dark colour, so black text on it reaches 4.9:1 contrast (AA for normal text). The nearest named colour is Olive.
Colour values
#798021#798021
HEX#798021
RGBrgb(121, 128, 33)
RGB (0–1)0.4745, 0.502, 0.1294
RGB percentages47.5%, 50.2%, 12.9%
HSLhsl(64.4, 59%, 31.6%)
HSV / HSBhsv(64.4, 74.2%, 50.2%)
CMYK5.5%, 0%, 74.2%, 49.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,962,657
CSS custom property--colour: #798021;
Brightness & contrast
Relative luminance0.19613WCAG 2.x, 0 is black and 1 is white
Perceived brightness118.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.92:1
Contrast with white4.27:1WCAG normal text: Fail
Contrast with black4.92:1WCAG normal text: AA
Greyscale equivalent#787878
Inverted#867FDE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text4.27:1WCAG large text: AA
Contrast with black, large text4.92:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#282180
Analogous#805821, #498021
Triadic#217980, #802179
Split complementary#214980, #572180
Tetradic#218058, #282180, #80214A
Tints, shades & saturation
Channel breakdown
R121
G128
B33
Red121 (47.5%)
Green128 (50.2%)
Blue33 (12.9%)
Hue64.42°
Saturation (HSL)59.01%
Lightness31.57%
Dominant channelGreen
Hex per channelR 79 · G 80 · B 21
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