Recognised as Number
668,042
- Positive
- Even
- Composite
- 6 digits
668,042 is an even 6-digit integer and a composite number. It has 4 divisors and a digital root of 8.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value668,042
Digit count6
Digit sum26
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root8repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 334,021
Distinct prime factors22, 334,021
Number of divisors4
Sum of divisors σ(n)1,002,066
Aliquot sum334,024sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)334,020integers below n that share no factor with it
Carmichael function λ(n)334,020the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 334,021, 668,0424 in total
Arithmetic
Representations
Decimal668,042
Binary1010001100011000101020 bits
Octal2430612
HexadecimalA318A
Base 36EBGQ
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordssix hundred and sixty-eight thousand and forty-two
Ordinalsix hundred and sixty-eight thousand and forty-second
Scientific notation6.68042 × 10^5
Engineering notation668.042 × 10^3
In other bases
Ternary1020221101022base 3; the most digit-efficient integer base after e: 13 digits
Quinary132334132base 5; one hand: 9 digits
Septenary5451434base 7: 7 digits
Nonary1227338base 9; each digit is two ternary digits: 7 digits
Duodecimal282722base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal43a22base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:5:34:2base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary11T10T110110Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111100111011010011110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000010100011000110001010
Bit length20 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits12within that length
Bit parityeven8 set bits, so even; not the same as the number itself being even
Highest set bitbit 19worth 524,288
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes30a 31 8a
Gray code11110010100101001111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000010100011000110001010
64-bit0000000000000000000000000000000000000000000010100011000110001010
One's complement11111111111101011100111001110101at 32 bits, every bit flipped
Bits reversed01010001100011000101000000000000at 32 bits
Rotated left by 100000000000101000110001100010100at 32 bits, wrapping
Shifted left by 1101000110001100010100= 1,336,084, no wrap
Shifted right by 11010001100011000101= 334,021, discarding the low bit
These bits as a double3.30056602 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
668,042 to the power 2446,280,113,764
668,042 to the power 3298,133,859,759,130,088
668,042 to the power 4199,165,939,941,208,782,247,696
668,042 to the power 5133,051,212,850,204,997,310,315,331,232
First ten multiples668,042, 1,336,084, 2,004,126, 2,672,168, 3,340,210, 4,008,252, 4,676,294, 5,344,336, 6,012,378, 6,680,420
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4No, remainder 2
Divisible by 5No, remainder 2
Divisible by 6No, remainder 2
Divisible by 7No, remainder 4
Divisible by 8No, remainder 2
Divisible by 9No, remainder 8
Divisible by 10No, remainder 2
Divisible by 11No, remainder 1
Divisible by 12No, remainder 2
Divisible by 100No, remainder 42
Collatz (3n + 1) trajectory
Steps to reach 192the total stopping time
Highest value reached1,002,0641× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps668,042 → 334,021 → 1,002,064 → 501,032 → 250,516 → 125,258 → 62,629 → 187,888 → 93,944 → 46,972 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage66,804,200%
668,042% as a decimal6,680.42
668,042% of 100668,042
668,042% of 1,0006,680,420
As a fraction of 100668,042/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 668,042
Also reads as
#668042 (colour)
- #668042
- Green
- Dark
- Nearest: Dark olivegreen
#668042 is a green with RGB values 102, 128, 66 and HSL 85°, 32%, 38%. It is a dark colour, so black text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Dark olivegreen.
Colour values
#668042#668042
HEX#668042
RGBrgb(102, 128, 66)
RGB (0–1)0.4, 0.502, 0.2588
RGB percentages40%, 50.2%, 25.9%
HSLhsl(85.2, 32%, 38%)
HSV / HSBhsv(85.2, 48.4%, 50.2%)
CMYK20.3%, 0%, 48.4%, 49.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,717,506
CSS custom property--colour: #668042;
Brightness & contrast
Relative luminance0.18656WCAG 2.x, 0 is black and 1 is white
Perceived brightness115 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.73:1
Contrast with white4.44:1WCAG normal text: Fail
Contrast with black4.73:1WCAG normal text: AA
Greyscale equivalent#767676
Inverted#997FBD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text4.44:1WCAG large text: AA
Contrast with black, large text4.73:1WCAG large text: AAA
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5C4280
Analogous#807B42, #478042
Triadic#426680, #804266
Split complementary#424780, #7B4280
Tetradic#42807B, #5C4280, #804247
Tints, shades & saturation
Channel breakdown
R102
G128
B66
Red102 (40%)
Green128 (50.2%)
Blue66 (25.9%)
Hue85.16°
Saturation (HSL)31.96%
Lightness38.04%
Dominant channelGreen
Hex per channelR 66 · G 80 · B 42
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