Recognised as Number
798,871
- Positive
- Odd
- Prime
- 6 digits
798,871 is an odd 6-digit integer and a prime number. It has 2 divisors and a digital root of 4.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value798,871
Digit count6
Digit sum40
Digit product28,224
Multiplicative persistence4times the digit product can be taken before one digit is left
Digital root4repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation798,871
Distinct prime factors1798,871
Number of divisors2
Sum of divisors σ(n)798,872
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)798,870integers below n that share no factor with it
Carmichael function λ(n)798,870the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)−11 distinct prime factor, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 798,8712 in total
Arithmetic
Representations
Decimal798,871
Binary1100001100001001011120 bits
Octal3030227
HexadecimalC3097
Base 36H4EV
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsseven hundred and ninety-eight thousand, eight hundred and seventy-one
Ordinalseven hundred and ninety-eight thousand, eight hundred and seventy-first
Scientific notation7.98871 × 10^5
Engineering notation798.871 × 10^3
In other bases
Ternary1111120211211base 3; the most digit-efficient integer base after e: 13 digits
Quinary201030441base 5; one hand: 9 digits
Septenary6535033base 7: 7 digits
Nonary1446754base 9; each digit is two ternary digits: 7 digits
Duodecimal326387base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal4jh3bbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:41:54:31base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTTTTT10TTT11digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111000111000111101011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011000011000010010111
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 30 97
Gray code10100010100011011100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011000011000010010111
64-bit0000000000000000000000000000000000000000000011000011000010010111
One's complement11111111111100111100111101101000at 32 bits, every bit flipped
Bits reversed11101001000011000011000000000000at 32 bits
Rotated left by 100000000000110000110000100101110at 32 bits, wrapping
Shifted left by 1110000110000100101110= 1,597,742, no wrap
Shifted right by 11100001100001001011= 399,435, discarding the low bit
These bits as a double3.94694717 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
798,871 to the power 2638,194,874,641
798,871 to the power 3509,835,377,699,330,311
798,871 to the power 4407,292,698,018,041,704,878,881
798,871 to the power 5325,374,324,958,370,994,818,296,543,351
First ten multiples798,871, 1,597,742, 2,396,613, 3,195,484, 3,994,355, 4,793,226, 5,592,097, 6,390,968, 7,189,839, 7,988,710
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 3
Divisible by 5No, remainder 1
Divisible by 6No, remainder 1
Divisible by 7No, remainder 3
Divisible by 8No, remainder 7
Divisible by 9No, remainder 4
Divisible by 10No, remainder 1
Divisible by 11No, remainder 7
Divisible by 12No, remainder 7
Divisible by 100No, remainder 71
Collatz (3n + 1) trajectory
Steps to reach 156the total stopping time
Highest value reached5,392,3846× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps798,871 → 2,396,614 → 1,198,307 → 3,594,922 → 1,797,461 → 5,392,384 → 2,696,192 → 1,348,096 → 674,048 → 337,024 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage79,887,100%
798,871% as a decimal7,988.71
798,871% of 100798,871
798,871% of 1,0007,988,710
As a fraction of 100798,871/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,871
Also reads as
#798871 (colour)
- #798871
- Green
- Dark
- Nearest: Gray
#798871 is a green with RGB values 121, 136, 113 and HSL 99°, 9%, 49%. It is a dark colour, so black text on it reaches 5.6:1 contrast (AA for normal text). The nearest named colour is Gray.
Colour values
#798871#798871
HEX#798871
RGBrgb(121, 136, 113)
RGB (0–1)0.4745, 0.5333, 0.4431
RGB percentages47.5%, 53.3%, 44.3%
HSLhsl(99.1, 9.2%, 48.8%)
HSV / HSBhsv(99.1, 16.9%, 53.3%)
CMYK11%, 0%, 16.9%, 46.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,964,785
CSS custom property--colour: #798871;
Brightness & contrast
Relative luminance0.22866WCAG 2.x, 0 is black and 1 is white
Perceived brightness129.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.57:1
Contrast with white3.77:1WCAG normal text: Fail
Contrast with black5.57:1WCAG normal text: AA
Greyscale equivalent#838383
Inverted#86778E
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.77:1WCAG large text: AA
Contrast with black, large text5.57:1WCAG large text: AAA
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#807188
Analogous#858871, #718875
Triadic#717988, #887179
Split complementary#757188, #887184
Tetradic#718488, #807188, #887571
Tints, shades & saturation
Channel breakdown
R121
G136
B113
Red121 (47.5%)
Green136 (53.3%)
Blue113 (44.3%)
Hue99.13°
Saturation (HSL)9.24%
Lightness48.82%
Dominant channelGreen
Hex per channelR 79 · G 88 · B 71
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