Recognised as Number
797,787
- Positive
- Odd
- Composite
- 6 digits
797,787 is an odd 6-digit integer and a composite number. It has 6 divisors and a digital root of 9.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value797,787
Digit count6
Digit sum45
Digit product172,872
Multiplicative persistence4times 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 × 88,643
Distinct prime factors23, 88,643
Number of divisors6
Sum of divisors σ(n)1,152,372
Aliquot sum354,585sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)531,852integers below n that share no factor with it
Carmichael function λ(n)265,926the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 531,852
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 9, 88,643, 265,929, 797,7876 in total
Arithmetic
Representations
Decimal797,787
Binary1100001011000101101120 bits
Octal3026133
HexadecimalC2C5B
Base 36H3KR
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsseven hundred and ninety-seven thousand, seven hundred and eighty-seven
Ordinalseven hundred and ninety-seven thousand, seven hundred and eighty-seventh
Scientific notation7.97787 × 10^5
Engineering notation797.787 × 10^3
In other bases
Ternary1111112100200base 3; the most digit-efficient integer base after e: 13 digits
Quinary201012122base 5; one hand: 9 digits
Septenary6531624base 7: 7 digits
Nonary1445320base 9; each digit is two ternary digits: 7 digits
Duodecimal325823base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal4je97base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:41:36:27base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTTTTTT101T00digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111000111110110101111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011000010110001011011
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 odd
Highest set bitbit 19worth 524,288
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes30c 2c 5b
Gray code10100011101001110110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011000010110001011011
64-bit0000000000000000000000000000000000000000000011000010110001011011
One's complement11111111111100111101001110100100at 32 bits, every bit flipped
Bits reversed11011010001101000011000000000000at 32 bits
Rotated left by 100000000000110000101100010110110at 32 bits, wrapping
Shifted left by 1110000101100010110110= 1,595,574, no wrap
Shifted right by 11100001011000101101= 398,893, discarding the low bit
These bits as a double3.94159149 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
797,787 to the power 2636,464,097,369
797,787 to the power 3507,762,782,847,722,403
797,787 to the power 4405,086,547,239,735,912,722,161
797,787 to the power 5323,172,781,262,747,194,602,874,657,707
First ten multiples797,787, 1,595,574, 2,393,361, 3,191,148, 3,988,935, 4,786,722, 5,584,509, 6,382,296, 7,180,083, 7,977,870
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 3
Divisible by 5No, remainder 2
Divisible by 6No, remainder 3
Divisible by 7No, remainder 4
Divisible by 8No, remainder 3
Divisible by 9Yes
Divisible by 10No, remainder 7
Divisible by 11No, remainder 1
Divisible by 12No, remainder 3
Divisible by 100No, remainder 87
Collatz (3n + 1) trajectory
Steps to reach 1330the total stopping time
Highest value reached21,008,32026× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps797,787 → 2,393,362 → 1,196,681 → 3,590,044 → 1,795,022 → 897,511 → 2,692,534 → 1,346,267 → 4,038,802 → 2,019,401 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage79,778,700%
797,787% as a decimal7,977.87
797,787% of 100797,787
797,787% of 1,0007,977,870
As a fraction of 100797,787/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 797,787
Also reads as
#797787 (colour)
- #797787
- Grey
- Dark
- Nearest: Slate grey
#797787 is a grey with RGB values 121, 119, 135 and HSL 248°, 6%, 50%. It is a dark colour, so black text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Slate grey.
Colour values
#797787#797787
HEX#797787
RGBrgb(121, 119, 135)
RGB (0–1)0.4745, 0.4667, 0.5294
RGB percentages47.5%, 46.7%, 52.9%
HSLhsl(247.5, 6.3%, 49.8%)
HSV / HSBhsv(247.5, 11.9%, 52.9%)
CMYK10.4%, 11.9%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,960,455
CSS custom property--colour: #797787;
Brightness & contrast
Relative luminance0.19008WCAG 2.x, 0 is black and 1 is white
Perceived brightness121.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.8:1
Contrast with white4.37:1WCAG normal text: Fail
Contrast with black4.8:1WCAG normal text: AA
Greyscale equivalent#797979
Inverted#868878
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text4.37:1WCAG large text: AA
Contrast with black, large text4.8:1WCAG large text: AAA
Named colours
Hue familygrey
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#858777
Analogous#777D87, #817787
Triadic#877977, #778779
Split complementary#878177, #7D8777
Tetradic#87777D, #858777, #778781
Tints, shades & saturation
Channel breakdown
R121
G119
B135
Red121 (47.5%)
Green119 (46.7%)
Blue135 (52.9%)
Hue247.5°
Saturation (HSL)6.3%
Lightness49.8%
Dominant channelBlue
Hex per channelR 79 · G 77 · 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