Recognised as Number
340,818
- Positive
- Even
- Composite
- 6 digits
340,818 is an even 6-digit integer and a composite number. It has 16 divisors and a digital root of 6.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,818
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 × 43 × 1,321
Distinct prime factors42, 3, 43, 1,321
Number of divisors16
Sum of divisors σ(n)698,016
Aliquot sum357,198sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)110,880integers below n that share no factor with it
Carmichael function λ(n)9,240the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 110,880
Möbius function μ(n)+14 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 43, 86, 129, 258, 1,321, 2,642, 3,963, 7,926, 56,803, 113,606, 170,409, 340,81816 in total
Arithmetic
Representations
Decimal340,818
Binary101001100110101001019 bits
Octal1231522
Hexadecimal53352
Base 367AZ6
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, eight hundred and eighteen
Ordinalthree hundred and forty thousand, eight hundred and eighteenth
Scientific notation3.40818 × 10^5
Engineering notation340.818 × 10^3
In other bases
Ternary122022111220base 3; the most digit-efficient integer base after e: 12 digits
Quinary41401233base 5; one hand: 8 digits
Septenary2616432base 7: 7 digits
Nonary568456base 9; each digit is two ternary digits: 6 digits
Duodecimal145296base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22c0ibase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:40:18base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T100TTT0T0digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011101010110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011001101010010
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 even
Highest set bitbit 18worth 262,144
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes305 33 52
Gray code1111010101011111011n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011001101010010
64-bit0000000000000000000000000000000000000000000001010011001101010010
One's complement11111111111110101100110010101101at 32 bits, every bit flipped
Bits reversed01001010110011001010000000000000at 32 bits
Rotated left by 100000000000010100110011010100100at 32 bits, wrapping
Shifted left by 110100110011010100100= 681,636, no wrap
Shifted right by 1101001100110101001= 170,409, discarding the low bit
These bits as a double1.68386465 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,818 to the power 2116,156,909,124
340,818 to the power 339,588,365,453,823,432
340,818 to the power 413,492,427,537,241,194,447,376
340,818 to the power 54,598,462,168,387,469,409,165,793,568
First ten multiples340,818, 681,636, 1,022,454, 1,363,272, 1,704,090, 2,044,908, 2,385,726, 2,726,544, 3,067,362, 3,408,180
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
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 2
Divisible by 8No, remainder 2
Divisible by 9No, remainder 6
Divisible by 10No, remainder 8
Divisible by 11No, remainder 5
Divisible by 12No, remainder 6
Divisible by 100No, remainder 18
Collatz (3n + 1) trajectory
Steps to reach 1104the total stopping time
Highest value reached2,911,6248× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,818 → 170,409 → 511,228 → 255,614 → 127,807 → 383,422 → 191,711 → 575,134 → 287,567 → 862,702 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,081,800%
340,818% as a decimal3,408.18
340,818% of 100340,818
340,818% of 1,0003,408,180
As a fraction of 100340,818/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,818
Also reads as
#340818 (colour)
- #340818
- Red
- Dark
- Nearest: Black
#340818 is a red with RGB values 52, 8, 24 and HSL 338°, 73%, 12%. It is a dark colour, so white text on it reaches 17.6:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#340818#340818
HEX#340818
RGBrgb(52, 8, 24)
RGB (0–1)0.2039, 0.0314, 0.0941
RGB percentages20.4%, 3.1%, 9.4%
HSLhsl(338.2, 73.3%, 11.8%)
HSV / HSBhsv(338.2, 84.6%, 20.4%)
CMYK0%, 84.6%, 53.8%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,944
CSS custom property--colour: #340818;
Brightness & contrast
Relative luminance0.0097WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.59:1
Contrast with white17.59:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#CBF7E7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.59:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#083424
Analogous#34082E, #340E08
Triadic#183408, #081834
Split complementary#08340E, #082E34
Tetradic#2E3408, #083424, #0E0834
Tints, shades & saturation
Channel breakdown
R52
G8
B24
Red52 (20.4%)
Green8 (3.1%)
Blue24 (9.4%)
Hue338.18°
Saturation (HSL)73.33%
Lightness11.76%
Dominant channelRed
Hex per channelR 34 · G 08 · B 18
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