Recognised as Number
340,697
- Positive
- Odd
- Composite
- 6 digits
340,697 is an odd 6-digit integer and a composite number. It has 12 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value340,697
Digit count6
Digit sum29
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times 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 factorisation7^2 × 17 × 409
Distinct prime factors37, 17, 409
Number of divisors12
Sum of divisors σ(n)420,660
Aliquot sum79,963sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)274,176integers below n that share no factor with it
Carmichael function λ(n)5,712the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 274,176
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 7, 17, 49, 119, 409, 833, 2,863, 6,953, 20,041, 48,671, 340,69712 in total
Arithmetic
Representations
Decimal340,697
Binary101001100101101100119 bits
Octal1231331
Hexadecimal532D9
Base 367AVT
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, six hundred and ninety-seven
Ordinalthree hundred and forty thousand, six hundred and ninety-seventh
Scientific notation3.40697 × 10^5
Engineering notation340.697 × 10^3
In other bases
Ternary122022100102base 3; the most digit-efficient integer base after e: 12 digits
Quinary41400242base 5; one hand: 8 digits
Septenary2616200base 7: 7 digits
Nonary568312base 9; each digit is two ternary digits: 6 digits
Duodecimal1451b5base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22behbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:38:17base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T10011Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011100101001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011001011011001
Bit length19 bitsto write the magnitude
Set bits10the population count, or Hamming weight
Zero bits9within that length
Bit parityeven10 set bits, so even; 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 d9
Gray code1111010101110110101n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011001011011001
64-bit0000000000000000000000000000000000000000000001010011001011011001
One's complement11111111111110101100110100100110at 32 bits, every bit flipped
Bits reversed10011011010011001010000000000000at 32 bits
Rotated left by 100000000000010100110010110110010at 32 bits, wrapping
Shifted left by 110100110010110110010= 681,394, no wrap
Shifted right by 1101001100101101100= 170,348, discarding the low bit
These bits as a double1.68326683 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,697 to the power 2116,074,445,809
340,697 to the power 339,546,215,463,788,873
340,697 to the power 413,473,276,969,866,477,664,481
340,697 to the power 54,590,305,043,802,599,340,855,683,257
First ten multiples340,697, 681,394, 1,022,091, 1,362,788, 1,703,485, 2,044,182, 2,384,879, 2,725,576, 3,066,273, 3,406,970
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 5
Divisible by 7Yes
Divisible by 8No, remainder 1
Divisible by 9No, remainder 2
Divisible by 10No, remainder 7
Divisible by 11No, remainder 5
Divisible by 12No, remainder 5
Divisible by 100No, remainder 97
Collatz (3n + 1) trajectory
Steps to reach 1197the total stopping time
Highest value reached1,149,8563× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,697 → 1,022,092 → 511,046 → 255,523 → 766,570 → 383,285 → 1,149,856 → 574,928 → 287,464 → 143,732 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,069,700%
340,697% as a decimal3,406.97
340,697% of 100340,697
340,697% of 1,0003,406,970
As a fraction of 100340,697/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,697
Also reads as
#340697 (colour)
- #340697
- Violet
- Dark
- Nearest: Dark blue
#340697 is a violet with RGB values 52, 6, 151 and HSL 259°, 92%, 31%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#340697#340697
HEX#340697
RGBrgb(52, 6, 151)
RGB (0–1)0.2039, 0.0235, 0.5922
RGB percentages20.4%, 2.4%, 59.2%
HSLhsl(259, 92.4%, 30.8%)
HSV / HSBhsv(259, 96%, 59.2%)
CMYK65.6%, 96%, 0%, 40.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,559
CSS custom property--colour: #340697;
Brightness & contrast
Relative luminance0.03095WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.97:1
Contrast with white12.97:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#CBF968
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.97:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#699706
Analogous#062097, #7D0697
Triadic#973406, #069734
Split complementary#977D06, #209706
Tetradic#970620, #699706, #06977D
Tints, shades & saturation
Channel breakdown
R52
G6
B151
Red52 (20.4%)
Green6 (2.4%)
Blue151 (59.2%)
Hue259.03°
Saturation (HSL)92.36%
Lightness30.78%
Dominant channelBlue
Hex per channelR 34 · G 06 · B 97
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