Recognised as Number
798,842
- Positive
- Even
- Composite
- 6 digits
798,842 is an even 6-digit integer and a composite number. It has 12 divisors and a digital root of 2.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value798,842
Digit count6
Digit sum38
Digit product32,256
Multiplicative persistence3times 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 × 11^2 × 3,301
Distinct prime factors32, 11, 3,301
Number of divisors12
Sum of divisors σ(n)1,317,498
Aliquot sum518,656sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)363,000integers below n that share no factor with it
Carmichael function λ(n)3,300the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 363,000
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 11, 22, 121, 242, 3,301, 6,602, 36,311, 72,622, 399,421, 798,84212 in total
Arithmetic
Representations
Decimal798,842
Binary1100001100000111101020 bits
Octal3030172
HexadecimalC307A
Base 36H4E2
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsseven hundred and ninety-eight thousand, eight hundred and forty-two
Ordinalseven hundred and ninety-eight thousand, eight hundred and forty-second
Scientific notation7.98842 × 10^5
Engineering notation798.842 × 10^3
In other bases
Ternary1111120210202base 3; the most digit-efficient integer base after e: 13 digits
Quinary201030332base 5; one hand: 9 digits
Septenary6534662base 7: 7 digits
Nonary1446722base 9; each digit is two ternary digits: 7 digits
Duodecimal326362base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal4jh22base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:41:54:2base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTTTTT1T11T1Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111000111000110001110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011000011000001111010
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 even
Highest set bitbit 19worth 524,288
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes30c 30 7a
Gray code10100010100001000111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011000011000001111010
64-bit0000000000000000000000000000000000000000000011000011000001111010
One's complement11111111111100111100111110000101at 32 bits, every bit flipped
Bits reversed01011110000011000011000000000000at 32 bits
Rotated left by 100000000000110000110000011110100at 32 bits, wrapping
Shifted left by 1110000110000011110100= 1,597,684, no wrap
Shifted right by 11100001100000111101= 399,421, discarding the low bit
These bits as a double3.94680389 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
798,842 to the power 2638,148,540,964
798,842 to the power 3509,779,856,760,763,688
798,842 to the power 4407,233,560,334,481,986,049,296
798,842 to the power 5325,315,271,804,718,258,699,591,715,232
First ten multiples798,842, 1,597,684, 2,396,526, 3,195,368, 3,994,210, 4,793,052, 5,591,894, 6,390,736, 7,189,578, 7,988,420
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 2
Divisible by 6No, remainder 2
Divisible by 7No, remainder 2
Divisible by 8No, remainder 2
Divisible by 9No, remainder 2
Divisible by 10No, remainder 2
Divisible by 11Yes
Divisible by 12No, remainder 2
Divisible by 100No, remainder 42
Collatz (3n + 1) trajectory
Steps to reach 1206the total stopping time
Highest value reached1,198,2641× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps798,842 → 399,421 → 1,198,264 → 599,132 → 299,566 → 149,783 → 449,350 → 224,675 → 674,026 → 337,013 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage79,884,200%
798,842% as a decimal7,988.42
798,842% of 100798,842
798,842% of 1,0007,988,420
As a fraction of 100798,842/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,842
Also reads as
#798842 (colour)
- #798842
- Green
- Dark
- Nearest: Dark olivegreen
#798842 is a green with RGB values 121, 136, 66 and HSL 73°, 35%, 40%. It is a dark colour, so black text on it reaches 5.4:1 contrast (AA for normal text). The nearest named colour is Dark olivegreen.
Colour values
#798842#798842
HEX#798842
RGBrgb(121, 136, 66)
RGB (0–1)0.4745, 0.5333, 0.2588
RGB percentages47.5%, 53.3%, 25.9%
HSLhsl(72.9, 34.7%, 39.6%)
HSV / HSBhsv(72.9, 51.5%, 53.3%)
CMYK11%, 0%, 51.5%, 46.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,964,738
CSS custom property--colour: #798842;
Brightness & contrast
Relative luminance0.22067WCAG 2.x, 0 is black and 1 is white
Perceived brightness125.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.41:1
Contrast with white3.88:1WCAG normal text: Fail
Contrast with black5.41:1WCAG normal text: AA
Greyscale equivalent#808080
Inverted#8677BD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.88:1WCAG large text: AA
Contrast with black, large text5.41:1WCAG large text: AAA
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#514288
Analogous#887442, #568842
Triadic#427988, #884279
Split complementary#425688, #744288
Tetradic#428874, #514288, #884256
Tints, shades & saturation
Channel breakdown
R121
G136
B66
Red121 (47.5%)
Green136 (53.3%)
Blue66 (25.9%)
Hue72.86°
Saturation (HSL)34.65%
Lightness39.61%
Dominant channelGreen
Hex per channelR 79 · G 88 · B 42
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