Recognised as Number
666,657
- Positive
- Odd
- Composite
- 6 digits
666,657 is an odd 6-digit integer and a composite number. It has 8 divisors and a digital root of 9.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value666,657
Digit count6
Digit sum36
Digit product45,360
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root9repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3^3 × 24,691
Distinct prime factors23, 24,691
Number of divisors8
Sum of divisors σ(n)987,680
Aliquot sum321,023sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)444,420integers below n that share no factor with it
Carmichael function λ(n)74,070the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 444,420
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 9, 27, 24,691, 74,073, 222,219, 666,6578 in total
Arithmetic
Representations
Decimal666,657
Binary1010001011000010000120 bits
Octal2426041
HexadecimalA2C21
Base 36EAE9
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordssix hundred and sixty-six thousand, six hundred and fifty-seven
Ordinalsix hundred and sixty-six thousand, six hundred and fifty-seventh
Scientific notation6.66657 × 10^5
Engineering notation666.657 × 10^3
In other bases
Ternary1020212111000base 3; the most digit-efficient integer base after e: 13 digits
Quinary132313112base 5; one hand: 9 digits
Septenary5444415base 7: 7 digits
Nonary1225430base 9; each digit is two ternary digits: 7 digits
Duodecimal281969base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal436chbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:5:10:57base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary11T10TT111000digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111100111110001100001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000010100010110000100001
Bit length20 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits13within that length
Bit parityodd7 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 2c 21
Gray code11110011101000110001n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000010100010110000100001
64-bit0000000000000000000000000000000000000000000010100010110000100001
One's complement11111111111101011101001111011110at 32 bits, every bit flipped
Bits reversed10000100001101000101000000000000at 32 bits
Rotated left by 100000000000101000101100001000010at 32 bits, wrapping
Shifted left by 1101000101100001000010= 1,333,314, no wrap
Shifted right by 11010001011000010000= 333,328, discarding the low bit
These bits as a double3.29372321 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
666,657 to the power 2444,431,555,649
666,657 to the power 3296,283,407,594,295,393
666,657 to the power 4197,519,407,656,590,183,811,201
666,657 to the power 5131,677,695,750,119,442,169,023,825,057
First ten multiples666,657, 1,333,314, 1,999,971, 2,666,628, 3,333,285, 3,999,942, 4,666,599, 5,333,256, 5,999,913, 6,666,570
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3Yes
Divisible by 4No, remainder 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 3
Divisible by 7No, remainder 5
Divisible by 8No, remainder 1
Divisible by 9Yes
Divisible by 10No, remainder 7
Divisible by 11No, remainder 2
Divisible by 12No, remainder 9
Divisible by 100No, remainder 57
Collatz (3n + 1) trajectory
Steps to reach 1115the total stopping time
Highest value reached1,999,9723× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps666,657 → 1,999,972 → 999,986 → 499,993 → 1,499,980 → 749,990 → 374,995 → 1,124,986 → 562,493 → 1,687,480 → …
Last steps… → 32 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage66,665,700%
666,657% as a decimal6,666.57
666,657% of 100666,657
666,657% of 1,0006,666,570
As a fraction of 100666,657/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 666,657
Also reads as
#666657 (colour)
- #666657
- Grey
- Dark
- Nearest: Dim grey
#666657 is a grey with RGB values 102, 102, 87 and HSL 60°, 8%, 37%. It is a dark colour, so white text on it reaches 5.8:1 contrast (AA for normal text). The nearest named colour is Dim grey.
Colour values
#666657#666657
HEX#666657
RGBrgb(102, 102, 87)
RGB (0–1)0.4, 0.4, 0.3412
RGB percentages40%, 40%, 34.1%
HSLhsl(60, 7.9%, 37.1%)
HSV / HSBhsv(60, 14.7%, 40%)
CMYK0%, 0%, 14.7%, 60%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,710,871
CSS custom property--colour: #666657;
Brightness & contrast
Relative luminance0.13016WCAG 2.x, 0 is black and 1 is white
Perceived brightness100.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.83:1
Contrast with white5.83:1WCAG normal text: AA
Contrast with black3.6:1WCAG normal text: Fail
Greyscale equivalent#656565
Inverted#9999A8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text5.83:1WCAG large text: AAA
Contrast with black, large text3.6:1WCAG large text: AA
Named colours
Hue familygrey
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#575766
Analogous#665F57, #5F6657
Triadic#576666, #665766
Split complementary#575F66, #5F5766
Tetradic#57665F, #575766, #66575F
Tints, shades & saturation
Channel breakdown
R102
G102
B87
Red102 (40%)
Green102 (40%)
Blue87 (34.1%)
Hue60°
Saturation (HSL)7.94%
Lightness37.06%
Dominant channelRed and Green
Hex per channelR 66 · G 66 · B 57
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