Recognised as Number
662,987
- Positive
- Odd
- Composite
- 6 digits
662,987 is an odd 6-digit integer and a composite number. It has 6 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value662,987
Digit count6
Digit sum38
Digit product36,288
Multiplicative persistence3times 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 factorisation13^2 × 3,923
Distinct prime factors213, 3,923
Number of divisors6
Sum of divisors σ(n)718,092
Aliquot sum55,105sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)611,832integers below n that share no factor with it
Carmichael function λ(n)305,916the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 611,832
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 13, 169, 3,923, 50,999, 662,9876 in total
Arithmetic
Representations
Decimal662,987
Binary1010000111011100101120 bits
Octal2416713
HexadecimalA1DCB
Base 36E7KB
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordssix hundred and sixty-two thousand, nine hundred and eighty-seven
Ordinalsix hundred and sixty-two thousand, nine hundred and eighty-seventh
Scientific notation6.62987 × 10^5
Engineering notation662.987 × 10^3
In other bases
Ternary1020200110002base 3; the most digit-efficient integer base after e: 13 digits
Quinary132203422base 5; one hand: 9 digits
Septenary5430623base 7: 7 digits
Nonary1220402base 9; each digit is two ternary digits: 7 digits
Duodecimal27b80bbase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal42h97base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:4:9:47base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary11T1T0011001Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111100110001011011111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000010100001110111001011
Bit length20 bitsto write the magnitude
Set bits11the population count, or Hamming weight
Zero bits9within that length
Bit parityodd11 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 19worth 524,288
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes30a 1d cb
Gray code11110001001100101110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000010100001110111001011
64-bit0000000000000000000000000000000000000000000010100001110111001011
One's complement11111111111101011110001000110100at 32 bits, every bit flipped
Bits reversed11010011101110000101000000000000at 32 bits
Rotated left by 100000000000101000011101110010110at 32 bits, wrapping
Shifted left by 1101000011101110010110= 1,325,974, no wrap
Shifted right by 11010000111011100101= 331,493, discarding the low bit
These bits as a double3.275591 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
662,987 to the power 2439,551,762,169
662,987 to the power 3291,417,104,145,138,803
662,987 to the power 4193,205,751,625,873,139,584,561
662,987 to the power 5128,092,901,653,182,755,193,749,343,707
First ten multiples662,987, 1,325,974, 1,988,961, 2,651,948, 3,314,935, 3,977,922, 4,640,909, 5,303,896, 5,966,883, 6,629,870
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 3
Divisible by 5No, remainder 2
Divisible by 6No, remainder 5
Divisible by 7No, remainder 3
Divisible by 8No, remainder 3
Divisible by 9No, remainder 2
Divisible by 10No, remainder 7
Divisible by 11No, remainder 6
Divisible by 12No, remainder 11
Divisible by 100No, remainder 87
Collatz (3n + 1) trajectory
Steps to reach 166the total stopping time
Highest value reached2,983,4444× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps662,987 → 1,988,962 → 994,481 → 2,983,444 → 1,491,722 → 745,861 → 2,237,584 → 1,118,792 → 559,396 → 279,698 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage66,298,700%
662,987% as a decimal6,629.87
662,987% of 100662,987
662,987% of 1,0006,629,870
As a fraction of 100662,987/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 662,987
Also reads as
#662987 (colour)
- #662987
- Violet
- Dark
- Nearest: Rebecca purple
#662987 is a violet with RGB values 102, 41, 135 and HSL 279°, 53%, 35%. It is a dark colour, so white text on it reaches 9.4:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#662987#662987
HEX#662987
RGBrgb(102, 41, 135)
RGB (0–1)0.4, 0.1608, 0.5294
RGB percentages40%, 16.1%, 52.9%
HSLhsl(278.9, 53.4%, 34.5%)
HSV / HSBhsv(278.9, 69.6%, 52.9%)
CMYK24.4%, 69.6%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,695,303
CSS custom property--colour: #662987;
Brightness & contrast
Relative luminance0.0616WCAG 2.x, 0 is black and 1 is white
Perceived brightness78.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.41:1
Contrast with white9.41:1WCAG normal text: AAA
Contrast with black2.23:1WCAG normal text: Fail
Greyscale equivalent#3D3D3D
Inverted#99D678
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.41:1WCAG large text: AAA
Contrast with black, large text2.23:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4A8729
Analogous#372987, #872979
Triadic#876629, #298766
Split complementary#798729, #298737
Tetradic#873729, #4A8729, #297987
Tints, shades & saturation
Channel breakdown
R102
G41
B135
Red102 (40%)
Green41 (16.1%)
Blue135 (52.9%)
Hue278.94°
Saturation (HSL)53.41%
Lightness34.51%
Dominant channelBlue
Hex per channelR 66 · G 29 · 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