Recognised as Number
504,502
- Positive
- Even
- Composite
- 6 digits
504,502 is an even 6-digit integer and a composite number. It has 8 divisors and a digital root of 7.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value504,502
Digit count6
Digit sum16
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root7repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 193 × 1,307
Distinct prime factors32, 193, 1,307
Number of divisors8
Sum of divisors σ(n)761,256
Aliquot sum256,754sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)250,752integers below n that share no factor with it
Carmichael function λ(n)125,376the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 250,752
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 193, 386, 1,307, 2,614, 252,251, 504,5028 in total
Arithmetic
Representations
Decimal504,502
Binary111101100101011011019 bits
Octal1731266
Hexadecimal7B2B6
Base 36AT9Y
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfive hundred and four thousand, five hundred and two
Ordinalfive hundred and four thousand, five hundred and second
Scientific notation5.04502 × 10^5
Engineering notation504.502 × 10^3
In other bases
Ternary221122001021base 3; the most digit-efficient integer base after e: 12 digits
Quinary112121002base 5; one hand: 9 digits
Septenary4200565base 7: 7 digits
Nonary848037base 9; each digit is two ternary digits: 6 digits
Duodecimal203b5abase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal33152base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal2:20:8:22base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary100TT0T0011T1digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110001111011111001010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001111011001010110110
Bit length19 bitsto write the magnitude
Set bits12the population count, or Hamming weight
Zero bits7within that length
Bit parityeven12 set bits, so even; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes307 b2 b6
Gray code1000110101111101101n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001111011001010110110
64-bit0000000000000000000000000000000000000000000001111011001010110110
One's complement11111111111110000100110101001001at 32 bits, every bit flipped
Bits reversed01101101010011011110000000000000at 32 bits
Rotated left by 100000000000011110110010101101100at 32 bits, wrapping
Shifted left by 111110110010101101100= 1,009,004, no wrap
Shifted right by 1111101100101011011= 252,251, discarding the low bit
These bits as a double2.49257106 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
504,502 to the power 2254,522,268,004
504,502 to the power 3128,406,993,252,554,008
504,502 to the power 464,781,584,909,900,002,144,016
504,502 to the power 532,682,439,150,214,370,881,660,360,032
First ten multiples504,502, 1,009,004, 1,513,506, 2,018,008, 2,522,510, 3,027,012, 3,531,514, 4,036,016, 4,540,518, 5,045,020
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4No, remainder 2
Divisible by 5No, remainder 2
Divisible by 6No, remainder 4
Divisible by 7No, remainder 5
Divisible by 8No, remainder 6
Divisible by 9No, remainder 7
Divisible by 10No, remainder 2
Divisible by 11No, remainder 9
Divisible by 12No, remainder 10
Divisible by 100No, remainder 2
Collatz (3n + 1) trajectory
Steps to reach 1226the total stopping time
Highest value reached2,045,5724× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps504,502 → 252,251 → 756,754 → 378,377 → 1,135,132 → 567,566 → 283,783 → 851,350 → 425,675 → 1,277,026 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage50,450,200%
504,502% as a decimal5,045.02
504,502% of 100504,502
504,502% of 1,0005,045,020
As a fraction of 100504,502/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 504,502
Also reads as
#504502 (colour)
- #504502
- Yellow
- Dark
- Nearest: Dark olivegreen
#504502 is a yellow with RGB values 80, 69, 2 and HSL 52°, 95%, 16%. It is a dark colour, so white text on it reaches 9.6:1 contrast (AAA for normal text). The nearest named colour is Dark olivegreen.
Colour values
#504502#504502
HEX#504502
RGBrgb(80, 69, 2)
RGB (0–1)0.3137, 0.2706, 0.0078
RGB percentages31.4%, 27.1%, 0.8%
HSLhsl(51.5, 95.1%, 16.1%)
HSV / HSBhsv(51.5, 97.5%, 31.4%)
CMYK0%, 13.8%, 97.5%, 68.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,260,546
CSS custom property--colour: #504502;
Brightness & contrast
Relative luminance0.05966WCAG 2.x, 0 is black and 1 is white
Perceived brightness68.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.57:1
Contrast with white9.57:1WCAG normal text: AAA
Contrast with black2.19:1WCAG normal text: Fail
Greyscale equivalent#434343
Inverted#AFBAFD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text9.57:1WCAG large text: AAA
Contrast with black, large text2.19:1WCAG large text: Fail
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#020D50
Analogous#501E02, #345002
Triadic#025045, #450250
Split complementary#023450, #1E0250
Tetradic#02501E, #020D50, #500234
Tints, shades & saturation
Channel breakdown
R80
G69
B2
Red80 (31.4%)
Green69 (27.1%)
Blue2 (0.8%)
Hue51.54°
Saturation (HSL)95.12%
Lightness16.08%
Dominant channelRed
Hex per channelR 50 · G 45 · B 02
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