Recognised as Number
501,797
- Positive
- Odd
- Composite
- 6 digits
501,797 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value501,797
Digit count6
Digit sum29
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation31 × 16,187
Distinct prime factors231, 16,187
Number of divisors4
Sum of divisors σ(n)518,016
Aliquot sum16,219sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)485,580integers below n that share no factor with it
Carmichael function λ(n)242,790the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 485,580
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 31, 16,187, 501,7974 in total
Arithmetic
Representations
Decimal501,797
Binary111101010000010010119 bits
Octal1724045
Hexadecimal7A825
Base 36AR6T
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfive hundred and one thousand, seven hundred and ninety-seven
Ordinalfive hundred and one thousand, seven hundred and ninety-seventh
Scientific notation5.01797 × 10^5
Engineering notation501.797 × 10^3
In other bases
Ternary221111100002base 3; the most digit-efficient integer base after e: 12 digits
Quinary112024142base 5; one hand: 9 digits
Septenary4156652base 7: 7 digits
Nonary844302base 9; each digit is two ternary digits: 6 digits
Duodecimal202485base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal32e9hbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal2:19:23:17base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary10T111110001Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110001111100001100101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001111010100000100101
Bit length19 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits10within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes307 a8 25
Gray code1000111110000110111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001111010100000100101
64-bit0000000000000000000000000000000000000000000001111010100000100101
One's complement11111111111110000101011111011010at 32 bits, every bit flipped
Bits reversed10100100000101011110000000000000at 32 bits
Rotated left by 100000000000011110101000001001010at 32 bits, wrapping
Shifted left by 111110101000001001010= 1,003,594, no wrap
Shifted right by 1111101010000010010= 250,898, discarding the low bit
These bits as a double2.47920659 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
501,797 to the power 2251,800,229,209
501,797 to the power 3126,352,599,616,388,573
501,797 to the power 463,403,355,429,704,936,765,681
501,797 to the power 531,815,613,544,559,648,154,208,428,757
First ten multiples501,797, 1,003,594, 1,505,391, 2,007,188, 2,508,985, 3,010,782, 3,512,579, 4,014,376, 4,516,173, 5,017,970
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 5
Divisible by 7No, remainder 2
Divisible by 8No, remainder 5
Divisible by 9No, remainder 2
Divisible by 10No, remainder 7
Divisible by 11No, remainder 10
Divisible by 12No, remainder 5
Divisible by 100No, remainder 97
Collatz (3n + 1) trajectory
Steps to reach 189the total stopping time
Highest value reached1,505,3923× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps501,797 → 1,505,392 → 752,696 → 376,348 → 188,174 → 94,087 → 282,262 → 141,131 → 423,394 → 211,697 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage50,179,700%
501,797% as a decimal5,017.97
501,797% of 100501,797
501,797% of 1,0005,017,970
As a fraction of 100501,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 501,797
Also reads as
#501797 (colour)
- #501797
- Violet
- Dark
- Nearest: Indigo
#501797 is a violet with RGB values 80, 23, 151 and HSL 267°, 74%, 34%. It is a dark colour, so white text on it reaches 11:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#501797#501797
HEX#501797
RGBrgb(80, 23, 151)
RGB (0–1)0.3137, 0.0902, 0.5922
RGB percentages31.4%, 9%, 59.2%
HSLhsl(266.7, 73.6%, 34.1%)
HSV / HSBhsv(266.7, 84.8%, 59.2%)
CMYK47%, 84.8%, 0%, 40.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,248,919
CSS custom property--colour: #501797;
Brightness & contrast
Relative luminance0.04553WCAG 2.x, 0 is black and 1 is white
Perceived brightness69.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.99:1
Contrast with white10.99:1WCAG normal text: AAA
Contrast with black1.91:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#AFE868
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.99:1WCAG large text: AAA
Contrast with black, large text1.91:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5E9717
Analogous#171E97, #901797
Triadic#975017, #179750
Split complementary#979017, #1E9717
Tetradic#97171E, #5E9717, #179790
Tints, shades & saturation
Channel breakdown
R80
G23
B151
Red80 (31.4%)
Green23 (9%)
Blue151 (59.2%)
Hue266.72°
Saturation (HSL)73.56%
Lightness34.12%
Dominant channelBlue
Hex per channelR 50 · G 17 · B 97
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