Recognised as Number
312,340
- Positive
- Even
- Composite
- 6 digits
312,340 is an even 6-digit integer and a composite number. It has 48 divisors and a digital root of 4.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value312,340
Digit count6
Digit sum13
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^2 × 5 × 7 × 23 × 97
Distinct prime factors52, 5, 7, 23, 97
Number of divisors48
Sum of divisors σ(n)790,272
Aliquot sum477,932sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)101,376integers below n that share no factor with it
Carmichael function λ(n)1,056the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 101,376
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 5, 7, 10, 14, 20, 23, 28, 35, 46, 70, 92, 97, 115, 140, 161, 194, 230, 322, 388, 460, 485, 644, 679, 805, 970, 1,358, 1,610, 1,940, 2,231, 2,716, 3,220, 3,395, 4,462, 6,790, 8,924, 11,155, 13,580, 15,617, 22,310, 31,234, 44,620, 62,468, 78,085, 156,170, 312,34048 in total
Arithmetic
Representations
Decimal312,340
Binary100110001000001010019 bits
Octal1142024
Hexadecimal4C414
Base 366P04
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and twelve thousand, three hundred and forty
Ordinalthree hundred and twelve thousand, three hundred and fortieth
Scientific notation3.1234 × 10^5
Engineering notation312.34 × 10^3
In other bases
Ternary120212110011base 3; the most digit-efficient integer base after e: 12 digits
Quinary34443330base 5; one hand: 8 digits
Septenary2440420base 7: 7 digits
Nonary525404base 9; each digit is two ternary digits: 6 digits
Duodecimal130904base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal1j0h0base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:26:45:40base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TT10TT110011digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1011100010000010100base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001001100010000010100
Bit length19 bitsto write the magnitude
Set bits6the population count, or Hamming weight
Zero bits13within that length
Bit parityeven6 set bits, so even; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 22 trailing zeros
Power of twoNo
Bytes304 c4 14
Gray code1101010011000011110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001001100010000010100
64-bit0000000000000000000000000000000000000000000001001100010000010100
One's complement11111111111110110011101111101011at 32 bits, every bit flipped
Bits reversed00101000001000110010000000000000at 32 bits
Rotated left by 100000000000010011000100000101000at 32 bits, wrapping
Shifted left by 110011000100000101000= 624,680, no wrap
Shifted right by 1100110001000001010= 156,170, discarding the low bit
These bits as a double1.54316464 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
312,340 to the power 297,556,275,600
312,340 to the power 330,470,727,120,904,000
312,340 to the power 49,517,226,908,943,155,360,000
312,340 to the power 52,972,610,652,739,305,145,142,400,000
First ten multiples312,340, 624,680, 937,020, 1,249,360, 1,561,700, 1,874,040, 2,186,380, 2,498,720, 2,811,060, 3,123,400
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 5Yes
Divisible by 6No, remainder 4
Divisible by 7Yes
Divisible by 8No, remainder 4
Divisible by 9No, remainder 4
Divisible by 10Yes
Divisible by 11No, remainder 6
Divisible by 12No, remainder 4
Divisible by 100No, remainder 40
Collatz (3n + 1) trajectory
Steps to reach 152the total stopping time
Highest value reached312,340
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps312,340 → 156,170 → 78,085 → 234,256 → 117,128 → 58,564 → 29,282 → 14,641 → 43,924 → 21,962 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage31,234,000%
312,340% as a decimal3,123.4
312,340% of 100312,340
312,340% of 1,0003,123,400
As a fraction of 100312,340/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 312,340
Also reads as
#312340 (colour)
- #312340
- Violet
- Dark
- Nearest: Black
#312340 is a violet with RGB values 49, 35, 64 and HSL 269°, 29%, 19%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#312340#312340
HEX#312340
RGBrgb(49, 35, 64)
RGB (0–1)0.1922, 0.1373, 0.251
RGB percentages19.2%, 13.7%, 25.1%
HSLhsl(269, 29.3%, 19.4%)
HSV / HSBhsv(269, 45.3%, 25.1%)
CMYK23.4%, 45.3%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,220,288
CSS custom property--colour: #312340;
Brightness & contrast
Relative luminance0.02225WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.53:1
Contrast with white14.53:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#282828
Inverted#CEDCBF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.53:1WCAG large text: AAA
Contrast with black, large text1.45:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#324023
Analogous#232440, #3F2340
Triadic#403123, #234031
Split complementary#404023, #244023
Tetradic#402324, #324023, #234040
Tints, shades & saturation
Channel breakdown
R49
G35
B64
Red49 (19.2%)
Green35 (13.7%)
Blue64 (25.1%)
Hue268.97°
Saturation (HSL)29.29%
Lightness19.41%
Dominant channelBlue
Hex per channelR 31 · G 23 · B 40
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