Recognised as Number
797,131
- Positive
- Odd
- Prime
- 6 digits
797,131 is an odd 6-digit integer and a prime number. It has 2 divisors and a digital root of 1.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value797,131
Digit count6
Digit sum28
Digit product1,323
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation797,131
Distinct prime factors1797,131
Number of divisors2
Sum of divisors σ(n)797,132
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)797,130integers below n that share no factor with it
Carmichael function λ(n)797,130the 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, 797,1312 in total
Arithmetic
Representations
Decimal797,131
Binary1100001010011100101120 bits
Octal3024713
HexadecimalC29CB
Base 36H32J
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsseven hundred and ninety-seven thousand, one hundred and thirty-one
Ordinalseven hundred and ninety-seven thousand, one hundred and thirty-first
Scientific notation7.97131 × 10^5
Engineering notation797.131 × 10^3
In other bases
Ternary1111111110101base 3; the most digit-efficient integer base after e: 13 digits
Quinary201002011base 5; one hand: 9 digits
Septenary6526666base 7: 7 digits
Nonary1444411base 9; each digit is two ternary digits: 7 digits
Duodecimal325377base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal4jcgbbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:41:25:31base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1111111110101digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111000111111011011111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011000010100111001011
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 29 cb
Gray code10100011110100101110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011000010100111001011
64-bit0000000000000000000000000000000000000000000011000010100111001011
One's complement11111111111100111101011000110100at 32 bits, every bit flipped
Bits reversed11010011100101000011000000000000at 32 bits
Rotated left by 100000000000110000101001110010110at 32 bits, wrapping
Shifted left by 1110000101001110010110= 1,594,262, no wrap
Shifted right by 11100001010011100101= 398,565, discarding the low bit
These bits as a double3.93835042 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
797,131 to the power 2635,417,831,161
797,131 to the power 3506,511,251,171,199,091
797,131 to the power 4403,755,820,157,349,102,607,921
797,131 to the power 5321,846,280,677,847,847,510,954,674,651
First ten multiples797,131, 1,594,262, 2,391,393, 3,188,524, 3,985,655, 4,782,786, 5,579,917, 6,377,048, 7,174,179, 7,971,310
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 6
Divisible by 8No, remainder 3
Divisible by 9No, remainder 1
Divisible by 10No, remainder 1
Divisible by 11No, remainder 5
Divisible by 12No, remainder 7
Divisible by 100No, remainder 31
Collatz (3n + 1) trajectory
Steps to reach 1237the total stopping time
Highest value reached3,587,0924× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps797,131 → 2,391,394 → 1,195,697 → 3,587,092 → 1,793,546 → 896,773 → 2,690,320 → 1,345,160 → 672,580 → 336,290 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage79,713,100%
797,131% as a decimal7,971.31
797,131% of 100797,131
797,131% of 1,0007,971,310
As a fraction of 100797,131/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,131
Also reads as
#797131 (colour)
- #797131
- Yellow
- Dark
- Nearest: Dark olivegreen
#797131 is a yellow with RGB values 121, 113, 49 and HSL 53°, 42%, 33%. It is a dark colour, so white text on it reaches 5:1 contrast (AA for normal text). The nearest named colour is Dark olivegreen.
Colour values
#797131#797131
HEX#797131
RGBrgb(121, 113, 49)
RGB (0–1)0.4745, 0.4431, 0.1922
RGB percentages47.5%, 44.3%, 19.2%
HSLhsl(53.3, 42.4%, 33.3%)
HSV / HSBhsv(53.3, 59.5%, 47.5%)
CMYK0%, 6.6%, 59.5%, 52.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,958,833
CSS custom property--colour: #797131;
Brightness & contrast
Relative luminance0.16097WCAG 2.x, 0 is black and 1 is white
Perceived brightness110.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.98:1
Contrast with white4.98:1WCAG normal text: AA
Contrast with black4.22:1WCAG normal text: Fail
Greyscale equivalent#6E6E6E
Inverted#868ECE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text4.98:1WCAG large text: AAA
Contrast with black, large text4.22:1WCAG large text: AA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#313979
Analogous#794D31, #5D7931
Triadic#317971, #713179
Split complementary#315D79, #4D3179
Tetradic#31794D, #313979, #79315D
Tints, shades & saturation
Channel breakdown
R121
G113
B49
Red121 (47.5%)
Green113 (44.3%)
Blue49 (19.2%)
Hue53.33°
Saturation (HSL)42.35%
Lightness33.33%
Dominant channelRed
Hex per channelR 79 · G 71 · B 31
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