Recognised as Number
340,335
- Positive
- Odd
- Composite
- 6 digits
340,335 is an odd 6-digit integer and a composite number. It has 16 divisors and a digital root of 9.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value340,335
Digit count6
Digit sum18
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 numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3^3 × 5 × 2,521
Distinct prime factors33, 5, 2,521
Number of divisors16
Sum of divisors σ(n)605,280
Aliquot sum264,945sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)181,440integers below n that share no factor with it
Carmichael function λ(n)2,520the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 181,440
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 5, 9, 15, 27, 45, 135, 2,521, 7,563, 12,605, 22,689, 37,815, 68,067, 113,445, 340,33516 in total
Arithmetic
Representations
Decimal340,335
Binary101001100010110111119 bits
Octal1230557
Hexadecimal5316F
Base 367ALR
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, three hundred and thirty-five
Ordinalthree hundred and forty thousand, three hundred and thirty-fifth
Scientific notation3.40335 × 10^5
Engineering notation340.335 × 10^3
In other bases
Ternary122021212000base 3; the most digit-efficient integer base after e: 12 digits
Quinary41342320base 5; one hand: 8 digits
Septenary2615142base 7: 7 digits
Nonary567760base 9; each digit is two ternary digits: 6 digits
Duodecimal144b53base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22agfbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:32:15base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T0TT000digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011010110011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011000101101111
Bit length19 bitsto write the magnitude
Set bits11the population count, or Hamming weight
Zero bits8within that length
Bit parityodd11 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 31 6f
Gray code1111010100111011000n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011000101101111
64-bit0000000000000000000000000000000000000000000001010011000101101111
One's complement11111111111110101100111010010000at 32 bits, every bit flipped
Bits reversed11110110100011001010000000000000at 32 bits
Rotated left by 100000000000010100110001011011110at 32 bits, wrapping
Shifted left by 110100110001011011110= 680,670, no wrap
Shifted right by 1101001100010110111= 170,167, discarding the low bit
These bits as a double1.68147832 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,335 to the power 2115,827,912,225
340,335 to the power 339,420,292,507,095,375
340,335 to the power 413,416,105,250,402,304,450,625
340,335 to the power 54,565,970,180,395,668,285,203,459,375
First ten multiples340,335, 680,670, 1,021,005, 1,361,340, 1,701,675, 2,042,010, 2,382,345, 2,722,680, 3,063,015, 3,403,350
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 3
Divisible by 5Yes
Divisible by 6No, remainder 3
Divisible by 7No, remainder 2
Divisible by 8No, remainder 7
Divisible by 9Yes
Divisible by 10No, remainder 5
Divisible by 11No, remainder 6
Divisible by 12No, remainder 3
Divisible by 100No, remainder 35
Collatz (3n + 1) trajectory
Steps to reach 1184the total stopping time
Highest value reached3,876,64011× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,335 → 1,021,006 → 510,503 → 1,531,510 → 765,755 → 2,297,266 → 1,148,633 → 3,445,900 → 1,722,950 → 861,475 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,033,500%
340,335% as a decimal3,403.35
340,335% of 100340,335
340,335% of 1,0003,403,350
As a fraction of 100340,335/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,335
Also reads as
#340335 (colour)
- #340335
- Magenta
- Dark
- Nearest: Midnight blue
#340335 is a magenta with RGB values 52, 3, 53 and HSL 299°, 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
#340335#340335
HEX#340335
RGBrgb(52, 3, 53)
RGB (0–1)0.2039, 0.0118, 0.2078
RGB percentages20.4%, 1.2%, 20.8%
HSLhsl(298.8, 89.3%, 11%)
HSV / HSBhsv(298.8, 94.3%, 20.8%)
CMYK1.9%, 94.3%, 0%, 79.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,408,693
CSS custom property--colour: #340335;
Brightness & contrast
Relative luminance0.01052WCAG 2.x, 0 is black and 1 is white
Perceived brightness33.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.35:1
Contrast with white17.35:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#111111
Inverted#CBFCCA
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.35: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#043503
Analogous#1B0335, #35031D
Triadic#353403, #033534
Split complementary#1D3503, #03351B
Tetradic#351B03, #043503, #031D35
Tints, shades & saturation
Channel breakdown
R52
G3
B53
Red52 (20.4%)
Green3 (1.2%)
Blue53 (20.8%)
Hue298.8°
Saturation (HSL)89.29%
Lightness10.98%
Dominant channelBlue
Hex per channelR 34 · G 03 · B 35
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