Recognised as Number
640,338
- Positive
- Even
- Composite
- 6 digits
640,338 is an even 6-digit integer and a composite number. It has 32 divisors and a digital root of 6.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value640,338
Digit count6
Digit sum24
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 3 × 19 × 41 × 137
Distinct prime factors52, 3, 19, 41, 137
Number of divisors32
Sum of divisors σ(n)1,391,040
Aliquot sum750,702sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)195,840integers below n that share no factor with it
Carmichael function λ(n)6,120the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 195,840
Möbius function μ(n)−15 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 19, 38, 41, 57, 82, 114, 123, 137, 246, 274, 411, 779, 822, 1,558, 2,337, 2,603, 4,674, 5,206, 5,617, 7,809, 11,234, 15,618, 16,851, 33,702, 106,723, 213,446, 320,169, 640,33832 in total
Arithmetic
Representations
Decimal640,338
Binary1001110001010101001020 bits
Octal2342522
Hexadecimal9C552
Base 36DQ36
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordssix hundred and forty thousand, three hundred and thirty-eight
Ordinalsix hundred and forty thousand, three hundred and thirty-eighth
Scientific notation6.40338 × 10^5
Engineering notation640.338 × 10^3
In other bases
Ternary1012112101020base 3; the most digit-efficient integer base after e: 13 digits
Quinary130442323base 5; one hand: 9 digits
Septenary5304606base 7: 7 digits
Nonary1175336base 9; each digit is two ternary digits: 7 digits
Duodecimal26a696base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal400gibase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal2:57:52:18base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary11T0TTT1011T0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111101100010101010110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000010011100010101010010
Bit length20 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits11within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being even
Highest set bitbit 19worth 524,288
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes309 c5 52
Gray code11010010011111111011n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000010011100010101010010
64-bit0000000000000000000000000000000000000000000010011100010101010010
One's complement11111111111101100011101010101101at 32 bits, every bit flipped
Bits reversed01001010101000111001000000000000at 32 bits
Rotated left by 100000000000100111000101010100100at 32 bits, wrapping
Shifted left by 1100111000101010100100= 1,280,676, no wrap
Shifted right by 11001110001010101001= 320,169, discarding the low bit
These bits as a double3.16369008 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
640,338 to the power 2410,032,754,244
640,338 to the power 3262,559,553,787,094,472
640,338 to the power 4168,126,859,552,920,500,011,536
640,338 to the power 5107,658,016,992,398,007,136,386,939,168
First ten multiples640,338, 1,280,676, 1,921,014, 2,561,352, 3,201,690, 3,842,028, 4,482,366, 5,122,704, 5,763,042, 6,403,380
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2Yes
Divisible by 3Yes
Divisible by 4No, remainder 2
Divisible by 5No, remainder 3
Divisible by 6Yes
Divisible by 7No, remainder 6
Divisible by 8No, remainder 2
Divisible by 9No, remainder 6
Divisible by 10No, remainder 8
Divisible by 11No, remainder 6
Divisible by 12No, remainder 6
Divisible by 100No, remainder 38
Collatz (3n + 1) trajectory
Steps to reach 1203the total stopping time
Highest value reached78,862,948123× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps640,338 → 320,169 → 960,508 → 480,254 → 240,127 → 720,382 → 360,191 → 1,080,574 → 540,287 → 1,620,862 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage64,033,800%
640,338% as a decimal6,403.38
640,338% of 100640,338
640,338% of 1,0006,403,380
As a fraction of 100640,338/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 640,338
Also reads as
#640338 (colour)
- #640338
- Magenta
- Dark
- Nearest: Purple
#640338 is a magenta with RGB values 100, 3, 56 and HSL 327°, 94%, 20%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#640338#640338
HEX#640338
RGBrgb(100, 3, 56)
RGB (0–1)0.3922, 0.0118, 0.2196
RGB percentages39.2%, 1.2%, 22%
HSLhsl(327.2, 94.2%, 20.2%)
HSV / HSBhsv(327.2, 97%, 39.2%)
CMYK0%, 97%, 44%, 60.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,554,424
CSS custom property--colour: #640338;
Brightness & contrast
Relative luminance0.0306WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.03:1
Contrast with white13.03:1WCAG normal text: AAA
Contrast with black1.61:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#9BFCC7
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.03:1WCAG large text: AAA
Contrast with black, large text1.61:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#03642F
Analogous#5F0364, #640308
Triadic#386403, #033864
Split complementary#076403, #03645F
Tetradic#646003, #03642F, #030864
Tints, shades & saturation
Channel breakdown
R100
G3
B56
Red100 (39.2%)
Green3 (1.2%)
Blue56 (22%)
Hue327.22°
Saturation (HSL)94.17%
Lightness20.2%
Dominant channelRed
Hex per channelR 64 · G 03 · B 38
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