Recognised as Number
340,336
- Positive
- Even
- Composite
- 6 digits
340,336 is an even 6-digit integer and a composite number. It has 20 divisors and a digital root of 1.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,336
Digit count6
Digit sum19
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2^4 × 89 × 239
Distinct prime factors32, 89, 239
Number of divisors20
Sum of divisors σ(n)669,600
Aliquot sum329,264sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)167,552integers below n that share no factor with it
Carmichael function λ(n)10,472the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 167,552
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 8, 16, 89, 178, 239, 356, 478, 712, 956, 1,424, 1,912, 3,824, 21,271, 42,542, 85,084, 170,168, 340,33620 in total
Arithmetic
Representations
Decimal340,336
Binary101001100010111000019 bits
Octal1230560
Hexadecimal53170
Base 367ALS
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, three hundred and thirty-six
Ordinalthree hundred and forty thousand, three hundred and thirty-sixth
Scientific notation3.40336 × 10^5
Engineering notation340.336 × 10^3
In other bases
Ternary122021212001base 3; the most digit-efficient integer base after e: 12 digits
Quinary41342321base 5; one hand: 8 digits
Septenary2615143base 7: 7 digits
Nonary567761base 9; each digit is two ternary digits: 6 digits
Duodecimal144b54base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22aggbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:32:16base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T0TT001digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011010110000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011000101110000
Bit length19 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits11within that length
Bit parityeven8 set bits, so even; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 44 trailing zeros
Power of twoNo
Bytes305 31 70
Gray code1111010100111001000n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011000101110000
64-bit0000000000000000000000000000000000000000000001010011000101110000
One's complement11111111111110101100111010001111at 32 bits, every bit flipped
Bits reversed00001110100011001010000000000000at 32 bits
Rotated left by 100000000000010100110001011100000at 32 bits, wrapping
Shifted left by 110100110001011100000= 680,672, no wrap
Shifted right by 1101001100010111000= 170,168, discarding the low bit
These bits as a double1.68148326 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,336 to the power 2115,828,592,896
340,336 to the power 339,420,639,991,853,056
340,336 to the power 413,416,262,932,267,301,666,816
340,336 to the power 54,566,037,261,316,124,380,077,490,176
First ten multiples340,336, 680,672, 1,021,008, 1,361,344, 1,701,680, 2,042,016, 2,382,352, 2,722,688, 3,063,024, 3,403,360
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4Yes
Divisible by 5No, remainder 1
Divisible by 6No, remainder 4
Divisible by 7No, remainder 3
Divisible by 8Yes
Divisible by 9No, remainder 1
Divisible by 10No, remainder 6
Divisible by 11No, remainder 7
Divisible by 12No, remainder 4
Divisible by 100No, remainder 36
Collatz (3n + 1) trajectory
Steps to reach 160the total stopping time
Highest value reached340,336
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,336 → 170,168 → 85,084 → 42,542 → 21,271 → 63,814 → 31,907 → 95,722 → 47,861 → 143,584 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,033,600%
340,336% as a decimal3,403.36
340,336% of 100340,336
340,336% of 1,0003,403,360
As a fraction of 100340,336/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,336
Also reads as
#340336 (colour)
- #340336
- Magenta
- Dark
- Nearest: Midnight blue
#340336 is a magenta with RGB values 52, 3, 54 and HSL 298°, 89%, 11%. It is a dark colour, so white text on it reaches 17.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#340336#340336
HEX#340336
RGBrgb(52, 3, 54)
RGB (0–1)0.2039, 0.0118, 0.2118
RGB percentages20.4%, 1.2%, 21.2%
HSLhsl(297.6, 89.5%, 11.2%)
HSV / HSBhsv(297.6, 94.4%, 21.2%)
CMYK3.7%, 94.4%, 0%, 78.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,408,694
CSS custom property--colour: #340336;
Brightness & contrast
Relative luminance0.01062WCAG 2.x, 0 is black and 1 is white
Perceived brightness33.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.32:1
Contrast with white17.32:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#111111
Inverted#CBFCC9
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.32:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#053603
Analogous#1A0336, #36031F
Triadic#363403, #033634
Split complementary#1F3603, #03361A
Tetradic#361A03, #053603, #031F36
Tints, shades & saturation
Channel breakdown
R52
G3
B54
Red52 (20.4%)
Green3 (1.2%)
Blue54 (21.2%)
Hue297.65°
Saturation (HSL)89.47%
Lightness11.18%
Dominant channelBlue
Hex per channelR 34 · G 03 · B 36
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