Recognised as Number
798,187
- Positive
- Odd
- Composite
- 6 digits
798,187 is an odd 6-digit integer and a composite number. It has 6 divisors and a digital root of 4.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value798,187
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 factorisation13^2 × 4,723
Distinct prime factors213, 4,723
Number of divisors6
Sum of divisors σ(n)864,492
Aliquot sum66,305sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)736,632integers below n that share no factor with it
Carmichael function λ(n)122,772the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 736,632
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 13, 169, 4,723, 61,399, 798,1876 in total
Arithmetic
Representations
Decimal798,187
Binary1100001011011110101120 bits
Octal3026753
HexadecimalC2DEB
Base 36H3VV
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsseven hundred and ninety-eight thousand, one hundred and eighty-seven
Ordinalseven hundred and ninety-eight thousand, one hundred and eighty-seventh
Scientific notation7.98187 × 10^5
Engineering notation798.187 × 10^3
In other bases
Ternary1111112220111base 3; the most digit-efficient integer base after e: 13 digits
Quinary201020222base 5; one hand: 9 digits
Septenary6533035base 7: 7 digits
Nonary1445814base 9; each digit is two ternary digits: 7 digits
Duodecimal325ab7base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal4jf97base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:41:43:7base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTTTTT00T0111digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111000111001000111111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011000010110111101011
Bit length20 bitsto write the magnitude
Set bits12the population count, or Hamming weight
Zero bits8within that length
Bit parityeven12 set bits, so even; 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 eb
Gray code10100011101100011110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011000010110111101011
64-bit0000000000000000000000000000000000000000000011000010110111101011
One's complement11111111111100111101001000010100at 32 bits, every bit flipped
Bits reversed11010111101101000011000000000000at 32 bits
Rotated left by 100000000000110000101101111010110at 32 bits, wrapping
Shifted left by 1110000101101111010110= 1,596,374, no wrap
Shifted right by 11100001011011110101= 399,093, discarding the low bit
These bits as a double3.94356776 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
798,187 to the power 2637,102,486,969
798,187 to the power 3508,526,922,766,325,203
798,187 to the power 4405,899,578,902,084,814,806,961
798,187 to the power 5323,983,767,185,118,372,076,323,779,707
First ten multiples798,187, 1,596,374, 2,394,561, 3,192,748, 3,990,935, 4,789,122, 5,587,309, 6,385,496, 7,183,683, 7,981,870
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 2
Divisible by 6No, remainder 1
Divisible by 7No, remainder 5
Divisible by 8No, remainder 3
Divisible by 9No, remainder 4
Divisible by 10No, remainder 7
Divisible by 11No, remainder 5
Divisible by 12No, remainder 7
Divisible by 100No, remainder 87
Collatz (3n + 1) trajectory
Steps to reach 1162the total stopping time
Highest value reached15,342,53219× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps798,187 → 2,394,562 → 1,197,281 → 3,591,844 → 1,795,922 → 897,961 → 2,693,884 → 1,346,942 → 673,471 → 2,020,414 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage79,818,700%
798,187% as a decimal7,981.87
798,187% of 100798,187
798,187% of 1,0007,981,870
As a fraction of 100798,187/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,187
Also reads as
#798187 (colour)
- #798187
- Grey
- Dark
- Nearest: Gray
#798187 is a grey with RGB values 121, 129, 135 and HSL 206°, 6%, 50%. It is a dark colour, so black text on it reaches 5.3:1 contrast (AA for normal text). The nearest named colour is Gray.
Colour values
#798187#798187
HEX#798187
RGBrgb(121, 129, 135)
RGB (0–1)0.4745, 0.5059, 0.5294
RGB percentages47.5%, 50.6%, 52.9%
HSLhsl(205.7, 5.5%, 50.2%)
HSV / HSBhsv(205.7, 10.4%, 52.9%)
CMYK10.4%, 4.4%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,963,015
CSS custom property--colour: #798187;
Brightness & contrast
Relative luminance0.21515WCAG 2.x, 0 is black and 1 is white
Perceived brightness127.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.3:1
Contrast with white3.96:1WCAG normal text: Fail
Contrast with black5.3:1WCAG normal text: AA
Greyscale equivalent#808080
Inverted#867E78
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.96:1WCAG large text: AA
Contrast with black, large text5.3:1WCAG large text: AAA
Named colours
Hue familygrey
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#877F79
Analogous#798786, #797A87
Triadic#877981, #818779
Split complementary#87797A, #878679
Tetradic#867987, #877F79, #7A8779
Tints, shades & saturation
Channel breakdown
R121
G129
B135
Red121 (47.5%)
Green129 (50.6%)
Blue135 (52.9%)
Hue205.71°
Saturation (HSL)5.51%
Lightness50.2%
Dominant channelBlue
Hex per channelR 79 · G 81 · B 87
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