Nerdulator> put something in

Recognised as Number

340,221

  • Positive
  • Odd
  • Composite
  • 6 digits

340,221 is an odd 6-digit integer and a composite number. It has 16 divisors and a digital root of 3.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value340,221
Digit count6
Digit sum12
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root3repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation3 × 7 × 17 × 953
Distinct prime factors43, 7, 17, 953
Number of divisors16
Sum of divisors σ(n)549,504
Aliquot sum209,283sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)182,784integers below n that share no factor with it
Carmichael function λ(n)5,712the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 182,784
Möbius function μ(n)+14 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 3, 7, 17, 21, 51, 119, 357, 953, 2,859, 6,671, 16,201, 20,013, 48,603, 113,407, 340,22116 in total

Arithmetic

Previous number340,220
Next number340,222
Double680,442
Cube39,380,692,628,613,861
Square root583.284664636≈irrational, shown to 9 decimal places
Cube root69.810439513≈
Negation-340,221
Reciprocal0.0000029393≈

Representations

Decimal340,221
Binary101001100001111110119 bits
Octal1230375
Hexadecimal530FD
Base 367AIL
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, two hundred and twenty-one
Ordinalthree hundred and forty thousand, two hundred and twenty-first
Scientific notation3.40221 × 10^5
Engineering notation340.221 × 10^3

In other bases

Ternary122021200210base 3; the most digit-efficient integer base after e: 12 digits
Quinary41341341base 5; one hand: 8 digits
Septenary2614620base 7: 7 digits
Nonary567623base 9; each digit is two ternary digits: 6 digits
Duodecimal144a79base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22ab1base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:30:21base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10TT01T10digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111000100001101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000001010011000011111101
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 30 fd
Gray code1111010100010000011n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001010011000011111101
64-bit0000000000000000000000000000000000000000000001010011000011111101
One's complement11111111111110101100111100000010at 32 bits, every bit flipped
Bits reversed10111111000011001010000000000000at 32 bits
Rotated left by 100000000000010100110000111111010at 32 bits, wrapping
Shifted left by 110100110000111111010= 680,442, no wrap
Shifted right by 1101001100001111110= 170,110, discarding the low bit
These bits as a double1.68091508 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime340,237+16
Previous prime340,211−10
Distance to nearest prime10
Nearest square below339,889
Nearest square above341,056

Powers & multiples

340,221 to the power 2115,750,328,841
340,221 to the power 339,380,692,628,613,861
340,221 to the power 413,398,138,626,799,636,403,281
340,221 to the power 54,558,328,121,748,399,096,760,665,101
First ten multiples340,221, 680,442, 1,020,663, 1,360,884, 1,701,105, 2,041,326, 2,381,547, 2,721,768, 3,061,989, 3,402,210
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 1
Divisible by 6No, remainder 3
Divisible by 7Yes
Divisible by 8No, remainder 5
Divisible by 9No, remainder 3
Divisible by 10No, remainder 1
Divisible by 11No, remainder 2
Divisible by 12No, remainder 9
Divisible by 100No, remainder 21

Collatz (3n + 1) trajectory

Steps to reach 165the total stopping time
Highest value reached1,937,6805× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,221 → 1,020,664 → 510,332 → 255,166 → 127,583 → 382,750 → 191,375 → 574,126 → 287,063 → 861,190 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage34,022,100%
340,221% as a decimal3,402.21
340,221% of 100340,221
340,221% of 1,0003,402,210
As a fraction of 100340,221/100

Read another way

As bytes332.247 KiB
As a 24-bit colour#0530FD

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Also reads as

#340221 (colour)

  • #340221
  • Magenta
  • Dark
  • Nearest: Black

#340221 is a magenta with RGB values 52, 2, 33 and HSL 323°, 93%, 11%. It is a dark colour, so white text on it reaches 17.8:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#340221#340221
HEX#340221
RGBrgb(52, 2, 33)
RGB (0–1)0.2039, 0.0078, 0.1294
RGB percentages20.4%, 0.8%, 12.9%
HSLhsl(322.8, 92.6%, 10.6%)
HSV / HSBhsv(322.8, 96.2%, 20.4%)
CMYK0%, 96.2%, 36.5%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,408,417
CSS custom property--colour: #340221;

Brightness & contrast

Relative luminance0.00883WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.85:1
Contrast with white17.85:1WCAG normal text: AAA
Contrast with black1.18:1WCAG normal text: Fail
Greyscale equivalent#0F0F0F
Inverted#CBFDDE

Colour vision & accessibility

Protanopia#091222no red cones; affects about 1% of men; ΔE 26.6 from the original
Deuteranopia#191B20no green cones; the most common form, about 1% of men; ΔE 27.5 from the original
Tritanopia#390010no blue cones; rare, and affects men and women equally; ΔE 12.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.85:1WCAG large text: AAA
Contrast with black, large text1.18:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 29.63, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#023415
Analogous#2E0234, #340208
Triadic#213402, #022134
Split complementary#083402, #02342E
Tetradic#342E02, #023415, #020834

Tints, shades & saturation

Lighter +40%#F60C9D
Lighter +30%#C7087F
Lighter +20%#96065F
Lighter +10%#650440
Darker −10%#030002
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#360021
Less saturated −25%#2D091F

Channel breakdown

R52
G2
B33
Red52 (20.4%)
Green2 (0.8%)
Blue33 (12.9%)
Hue322.8°
Saturation (HSL)92.59%
Lightness10.59%
Dominant channelRed
Hex per channelR 34 · G 02 · B 21

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

Every value on this page was computed from “340221” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.