Recognised as Number
340,677
- Positive
- Odd
- Composite
- 6 digits
340,677 is an odd 6-digit integer and a composite number. It has 6 divisors and a digital root of 9.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value340,677
Digit count6
Digit sum27
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times 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^2 × 37,853
Distinct prime factors23, 37,853
Number of divisors6
Sum of divisors σ(n)492,102
Aliquot sum151,425sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)227,112integers below n that share no factor with it
Carmichael function λ(n)113,556the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 227,112
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 9, 37,853, 113,559, 340,6776 in total
Arithmetic
Representations
Decimal340,677
Binary101001100101100010119 bits
Octal1231305
Hexadecimal532C5
Base 367AV9
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, six hundred and seventy-seven
Ordinalthree hundred and forty thousand, six hundred and seventy-seventh
Scientific notation3.40677 × 10^5
Engineering notation340.677 × 10^3
In other bases
Ternary122022022200base 3; the most digit-efficient integer base after e: 12 digits
Quinary41400202base 5; one hand: 8 digits
Septenary2616141base 7: 7 digits
Nonary568280base 9; each digit is two ternary digits: 6 digits
Duodecimal145199base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22bdhbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:37:57base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T100T00digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011111000101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011001011000101
Bit length19 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits10within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes305 32 c5
Gray code1111010101110100111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011001011000101
64-bit0000000000000000000000000000000000000000000001010011001011000101
One's complement11111111111110101100110100111010at 32 bits, every bit flipped
Bits reversed10100011010011001010000000000000at 32 bits
Rotated left by 100000000000010100110010110001010at 32 bits, wrapping
Shifted left by 110100110010110001010= 681,354, no wrap
Shifted right by 1101001100101100010= 170,338, discarding the low bit
These bits as a double1.68316802 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,677 to the power 2116,060,818,329
340,677 to the power 339,539,251,405,868,733
340,677 to the power 413,470,113,551,197,142,352,241
340,677 to the power 54,588,957,874,281,188,865,134,407,157
First ten multiples340,677, 681,354, 1,022,031, 1,362,708, 1,703,385, 2,044,062, 2,384,739, 2,725,416, 3,066,093, 3,406,770
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
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 1
Divisible by 8No, remainder 5
Divisible by 9Yes
Divisible by 10No, remainder 7
Divisible by 11No, remainder 7
Divisible by 12No, remainder 9
Divisible by 100No, remainder 77
Collatz (3n + 1) trajectory
Steps to reach 1197the total stopping time
Highest value reached1,022,0323× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,677 → 1,022,032 → 511,016 → 255,508 → 127,754 → 63,877 → 191,632 → 95,816 → 47,908 → 23,954 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,067,700%
340,677% as a decimal3,406.77
340,677% of 100340,677
340,677% of 1,0003,406,770
As a fraction of 100340,677/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 340,677
Also reads as
#340677 (colour)
- #340677
- Violet
- Dark
- Nearest: Indigo
#340677 is a violet with RGB values 52, 6, 119 and HSL 264°, 90%, 25%. It is a dark colour, so white text on it reaches 14.6:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#340677#340677
HEX#340677
RGBrgb(52, 6, 119)
RGB (0–1)0.2039, 0.0235, 0.4667
RGB percentages20.4%, 2.4%, 46.7%
HSLhsl(264.4, 90.4%, 24.5%)
HSV / HSBhsv(264.4, 95%, 46.7%)
CMYK56.3%, 95%, 0%, 53.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,527
CSS custom property--colour: #340677;
Brightness & contrast
Relative luminance0.02192WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.6:1
Contrast with white14.6:1WCAG normal text: AAA
Contrast with black1.44:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#CBF988
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.6:1WCAG large text: AAA
Contrast with black, large text1.44:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#497706
Analogous#061177, #6C0677
Triadic#773406, #067734
Split complementary#776C06, #117706
Tetradic#770611, #497706, #06776C
Tints, shades & saturation
Channel breakdown
R52
G6
B119
Red52 (20.4%)
Green6 (2.4%)
Blue119 (46.7%)
Hue264.42°
Saturation (HSL)90.4%
Lightness24.51%
Dominant channelBlue
Hex per channelR 34 · G 06 · B 77
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page