Recognised as Number
342,021
- Positive
- Odd
- Composite
- 6 digits
342,021 is an odd 6-digit integer and a composite number. It has 8 divisors and a digital root of 3.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value342,021
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 × 173 × 659
Distinct prime factors33, 173, 659
Number of divisors8
Sum of divisors σ(n)459,360
Aliquot sum117,339sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)226,352integers below n that share no factor with it
Carmichael function λ(n)56,588the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 226,352
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 3, 173, 519, 659, 1,977, 114,007, 342,0218 in total
Arithmetic
Representations
Decimal342,021
Binary101001110000000010119 bits
Octal1234005
Hexadecimal53805
Base 367BWL
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty-two thousand and twenty-one
Ordinalthree hundred and forty-two thousand and twenty-first
Scientific notation3.42021 × 10^5
Engineering notation342.021 × 10^3
In other bases
Ternary122101011110base 3; the most digit-efficient integer base after e: 12 digits
Quinary41421041base 5; one hand: 8 digits
Septenary2623101base 7: 7 digits
Nonary571143base 9; each digit is two ternary digits: 6 digits
Duodecimal145b19base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22f11base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:35:0:21base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T101011110digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010100100000000101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011100000000101
Bit length19 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits12within that length
Bit parityodd7 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 38 05
Gray code1111010010000000111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011100000000101
64-bit0000000000000000000000000000000000000000000001010011100000000101
One's complement11111111111110101100011111111010at 32 bits, every bit flipped
Bits reversed10100000000111001010000000000000at 32 bits
Rotated left by 100000000000010100111000000001010at 32 bits, wrapping
Shifted left by 110100111000000001010= 684,042, no wrap
Shifted right by 1101001110000000010= 171,010, discarding the low bit
These bits as a double1.68980826 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
342,021 to the power 2116,978,364,441
342,021 to the power 340,009,057,184,475,261
342,021 to the power 413,683,937,747,291,413,242,481
342,021 to the power 54,680,194,072,266,356,448,606,594,101
First ten multiples342,021, 684,042, 1,026,063, 1,368,084, 1,710,105, 2,052,126, 2,394,147, 2,736,168, 3,078,189, 3,420,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 7No, remainder 1
Divisible by 8No, remainder 5
Divisible by 9No, remainder 3
Divisible by 10No, remainder 1
Divisible by 11No, remainder 9
Divisible by 12No, remainder 9
Divisible by 100No, remainder 21
Collatz (3n + 1) trajectory
Steps to reach 1189the total stopping time
Highest value reached1,026,0643× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps342,021 → 1,026,064 → 513,032 → 256,516 → 128,258 → 64,129 → 192,388 → 96,194 → 48,097 → 144,292 → …
Last steps… → 32 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,202,100%
342,021% as a decimal3,420.21
342,021% of 100342,021
342,021% of 1,0003,420,210
As a fraction of 100342,021/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 342,021
Also reads as
#342021 (colour)
- #342021
- Red
- Dark
- Nearest: Black
#342021 is a red with RGB values 52, 32, 33 and HSL 357°, 24%, 16%. It is a dark colour, so white text on it reaches 15.3:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#342021#342021
HEX#342021
RGBrgb(52, 32, 33)
RGB (0–1)0.2039, 0.1255, 0.1294
RGB percentages20.4%, 12.5%, 12.9%
HSLhsl(357, 23.8%, 16.5%)
HSV / HSBhsv(357, 38.5%, 20.4%)
CMYK0%, 38.5%, 36.5%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,416,097
CSS custom property--colour: #342021;
Brightness & contrast
Relative luminance0.01873WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.28:1
Contrast with white15.28:1WCAG normal text: AAA
Contrast with black1.37:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#CBDFDE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.28:1WCAG large text: AAA
Contrast with black, large text1.37:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#203433
Analogous#34202B, #342920
Triadic#213420, #202134
Split complementary#203429, #202B34
Tetradic#2B3420, #203433, #292034
Tints, shades & saturation
Channel breakdown
R52
G32
B33
Red52 (20.4%)
Green32 (12.5%)
Blue33 (12.9%)
Hue357°
Saturation (HSL)23.81%
Lightness16.47%
Dominant channelRed
Hex per channelR 34 · G 20 · 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