Recognised as Number
340,474
- Positive
- Even
- Composite
- 6 digits
340,474 is an even 6-digit integer and a composite number. It has 16 divisors and a digital root of 4.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value340,474
Digit count6
Digit sum22
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root4repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 37 × 43 × 107
Distinct prime factors42, 37, 43, 107
Number of divisors16
Sum of divisors σ(n)541,728
Aliquot sum201,254sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)160,272integers below n that share no factor with it
Carmichael function λ(n)13,356the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 160,272
Möbius function μ(n)+14 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 37, 43, 74, 86, 107, 214, 1,591, 3,182, 3,959, 4,601, 7,918, 9,202, 170,237, 340,47416 in total
Arithmetic
Representations
Decimal340,474
Binary101001100011111101019 bits
Octal1230772
Hexadecimal531FA
Base 367APM
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, four hundred and seventy-four
Ordinalthree hundred and forty thousand, four hundred and seventy-fourth
Scientific notation3.40474 × 10^5
Engineering notation340.474 × 10^3
In other bases
Ternary122022001011base 3; the most digit-efficient integer base after e: 12 digits
Quinary41343344base 5; one hand: 8 digits
Septenary2615431base 7: 7 digits
Nonary568034base 9; each digit is two ternary digits: 6 digits
Duodecimal14504abase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22b3ebase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:34:34base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T001011digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011000001110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010011000111111010
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 even
Highest set bitbit 18worth 262,144
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes305 31 fa
Gray code1111010100100000111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010011000111111010
64-bit0000000000000000000000000000000000000000000001010011000111111010
One's complement11111111111110101100111000000101at 32 bits, every bit flipped
Bits reversed01011111100011001010000000000000at 32 bits
Rotated left by 100000000000010100110001111110100at 32 bits, wrapping
Shifted left by 110100110001111110100= 680,948, no wrap
Shifted right by 1101001100011111101= 170,237, discarding the low bit
These bits as a double1.68216507 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
340,474 to the power 2115,922,544,676
340,474 to the power 339,468,612,476,016,424
340,474 to the power 413,438,036,364,159,215,944,976
340,474 to the power 54,575,301,993,050,744,889,649,758,624
First ten multiples340,474, 680,948, 1,021,422, 1,361,896, 1,702,370, 2,042,844, 2,383,318, 2,723,792, 3,064,266, 3,404,740
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4No, remainder 2
Divisible by 5No, remainder 4
Divisible by 6No, remainder 4
Divisible by 7No, remainder 1
Divisible by 8No, remainder 2
Divisible by 9No, remainder 4
Divisible by 10No, remainder 4
Divisible by 11No, remainder 2
Divisible by 12No, remainder 10
Divisible by 100No, remainder 74
Collatz (3n + 1) trajectory
Steps to reach 165the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,474 → 170,237 → 510,712 → 255,356 → 127,678 → 63,839 → 191,518 → 95,759 → 287,278 → 143,639 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage34,047,400%
340,474% as a decimal3,404.74
340,474% of 100340,474
340,474% of 1,0003,404,740
As a fraction of 100340,474/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,474
Also reads as
#340474 (colour)
- #340474
- Violet
- Dark
- Nearest: Indigo
#340474 is a violet with RGB values 52, 4, 116 and HSL 266°, 93%, 24%. It is a dark colour, so white text on it reaches 14.8:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#340474#340474
HEX#340474
RGBrgb(52, 4, 116)
RGB (0–1)0.2039, 0.0157, 0.4549
RGB percentages20.4%, 1.6%, 45.5%
HSLhsl(265.7, 93.3%, 23.5%)
HSV / HSBhsv(265.7, 96.6%, 45.5%)
CMYK55.2%, 96.6%, 0%, 54.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,012
CSS custom property--colour: #340474;
Brightness & contrast
Relative luminance0.02078WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.84:1
Contrast with white14.84:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#CBFB8B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.84:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#447404
Analogous#040C74, #6C0474
Triadic#743404, #047434
Split complementary#746C04, #0C7404
Tetradic#74040C, #447404, #04746C
Tints, shades & saturation
Channel breakdown
R52
G4
B116
Red52 (20.4%)
Green4 (1.6%)
Blue116 (45.5%)
Hue265.71°
Saturation (HSL)93.33%
Lightness23.53%
Dominant channelBlue
Hex per channelR 34 · G 04 · B 74
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