Recognised as Number
821,797
- Positive
- Odd
- Composite
- 6 digits
821,797 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 7.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value821,797
Digit count6
Digit sum34
Digit product7,056
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root7repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation17 × 48,341
Distinct prime factors217, 48,341
Number of divisors4
Sum of divisors σ(n)870,156
Aliquot sum48,359sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)773,440integers below n that share no factor with it
Carmichael function λ(n)193,360the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 773,440
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 17, 48,341, 821,7974 in total
Arithmetic
Representations
Decimal821,797
Binary1100100010100010010120 bits
Octal3105045
HexadecimalC8A25
Base 36HM3P
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and twenty-one thousand, seven hundred and ninety-seven
Ordinaleight hundred and twenty-one thousand, seven hundred and ninety-seventh
Scientific notation8.21797 × 10^5
Engineering notation821.797 × 10^3
In other bases
Ternary1112202021221base 3; the most digit-efficient integer base after e: 13 digits
Quinary202244142base 5; one hand: 9 digits
Septenary6661624base 7: 7 digits
Nonary1482257base 9; each digit is two ternary digits: 7 digits
Duodecimal3376b1base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal52e9hbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:48:16:37base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT0T1T10T0T1digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011001111001100101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011001000101000100101
Bit length20 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits12within that length
Bit parityeven8 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 8a 25
Gray code10101100111100110111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011001000101000100101
64-bit0000000000000000000000000000000000000000000011001000101000100101
One's complement11111111111100110111010111011010at 32 bits, every bit flipped
Bits reversed10100100010100010011000000000000at 32 bits
Rotated left by 100000000000110010001010001001010at 32 bits, wrapping
Shifted left by 1110010001010001001010= 1,643,594, no wrap
Shifted right by 11100100010100010010= 410,898, discarding the low bit
These bits as a double4.06021666 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
821,797 to the power 2675,350,309,209
821,797 to the power 3555,000,858,057,028,573
821,797 to the power 4456,098,040,148,691,910,205,681
821,797 to the power 5374,820,001,100,074,565,731,298,028,757
First ten multiples821,797, 1,643,594, 2,465,391, 3,287,188, 4,108,985, 4,930,782, 5,752,579, 6,574,376, 7,396,173, 8,217,970
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 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 1
Divisible by 7No, remainder 4
Divisible by 8No, remainder 5
Divisible by 9No, remainder 7
Divisible by 10No, remainder 7
Divisible by 11No, remainder 9
Divisible by 12No, remainder 1
Divisible by 100No, remainder 97
Collatz (3n + 1) trajectory
Steps to reach 187the total stopping time
Highest value reached2,465,3923× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps821,797 → 2,465,392 → 1,232,696 → 616,348 → 308,174 → 154,087 → 462,262 → 231,131 → 693,394 → 346,697 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage82,179,700%
821,797% as a decimal8,217.97
821,797% of 100821,797
821,797% of 1,0008,217,970
As a fraction of 100821,797/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 821,797
Also reads as
#821797 (colour)
- #821797
- Magenta
- Dark
- Nearest: Dark magenta
#821797 is a magenta with RGB values 130, 23, 151 and HSL 290°, 74%, 34%. It is a dark colour, so white text on it reaches 8.3:1 contrast (AAA for normal text). The nearest named colour is Dark magenta.
Colour values
#821797#821797
HEX#821797
RGBrgb(130, 23, 151)
RGB (0–1)0.5098, 0.0902, 0.5922
RGB percentages51%, 9%, 59.2%
HSLhsl(290.2, 73.6%, 34.1%)
HSV / HSBhsv(290.2, 84.8%, 59.2%)
CMYK13.9%, 84.8%, 0%, 40.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,525,719
CSS custom property--colour: #821797;
Brightness & contrast
Relative luminance0.07593WCAG 2.x, 0 is black and 1 is white
Perceived brightness89.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.34:1
Contrast with white8.34:1WCAG normal text: AAA
Contrast with black2.52:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#7DE868
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.34:1WCAG large text: AAA
Contrast with black, large text2.52:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2C9717
Analogous#421797, #97176C
Triadic#978217, #179782
Split complementary#6C9717, #179742
Tetradic#974217, #2C9717, #176C97
Tints, shades & saturation
Channel breakdown
R130
G23
B151
Red130 (51%)
Green23 (9%)
Blue151 (59.2%)
Hue290.16°
Saturation (HSL)73.56%
Lightness34.12%
Dominant channelBlue
Hex per channelR 82 · G 17 · B 97
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