Recognised as Number
840,271
- Positive
- Odd
- Composite
- 6 digits
840,271 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 4.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value840,271
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 factorisation107 × 7,853
Distinct prime factors2107, 7,853
Number of divisors4
Sum of divisors σ(n)848,232
Aliquot sum7,961sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)832,312integers below n that share no factor with it
Carmichael function λ(n)416,156the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 832,312
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 107, 7,853, 840,2714 in total
Arithmetic
Representations
Decimal840,271
Binary1100110100100100111120 bits
Octal3151117
HexadecimalCD24F
Base 36I0CV
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordseight hundred and forty thousand, two hundred and seventy-one
Ordinaleight hundred and forty thousand, two hundred and seventy-first
Scientific notation8.40271 × 10^5
Engineering notation840.271 × 10^3
In other bases
Ternary1120200122011base 3; the most digit-efficient integer base after e: 13 digits
Quinary203342041base 5; one hand: 9 digits
Septenary10066525base 7: 8 digits
Nonary1520564base 9; each digit is two ternary digits: 7 digits
Duodecimal346327base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal550dbbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:53:24:31base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TTT1T01T0T011digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111011101011001010011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011001101001001001111
Bit length20 bitsto write the magnitude
Set bits11the population count, or Hamming weight
Zero bits9within that length
Bit parityodd11 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 19worth 524,288
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes30c d2 4f
Gray code10101011101101101000n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011001101001001001111
64-bit0000000000000000000000000000000000000000000011001101001001001111
One's complement11111111111100110010110110110000at 32 bits, every bit flipped
Bits reversed11110010010010110011000000000000at 32 bits
Rotated left by 100000000000110011010010010011110at 32 bits, wrapping
Shifted left by 1110011010010010011110= 1,680,542, no wrap
Shifted right by 11100110100100100111= 420,135, discarding the low bit
These bits as a double4.15149034 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
840,271 to the power 2706,055,353,441
840,271 to the power 3593,277,837,891,222,511
840,271 to the power 4498,514,162,122,695,430,540,481
840,271 to the power 5418,886,993,520,999,412,115,680,510,351
First ten multiples840,271, 1,680,542, 2,520,813, 3,361,084, 4,201,355, 5,041,626, 5,881,897, 6,722,168, 7,562,439, 8,402,710
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 3
Divisible by 5No, remainder 1
Divisible by 6No, remainder 1
Divisible by 7No, remainder 5
Divisible by 8No, remainder 7
Divisible by 9No, remainder 4
Divisible by 10No, remainder 1
Divisible by 11No, remainder 3
Divisible by 12No, remainder 7
Divisible by 100No, remainder 71
Collatz (3n + 1) trajectory
Steps to reach 1206the total stopping time
Highest value reached8,507,75210× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps840,271 → 2,520,814 → 1,260,407 → 3,781,222 → 1,890,611 → 5,671,834 → 2,835,917 → 8,507,752 → 4,253,876 → 2,126,938 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage84,027,100%
840,271% as a decimal8,402.71
840,271% of 100840,271
840,271% of 1,0008,402,710
As a fraction of 100840,271/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 840,271
Also reads as
#840271 (colour)
- #840271
- Magenta
- Dark
- Nearest: Purple
#840271 is a magenta with RGB values 132, 2, 113 and HSL 309°, 97%, 26%. It is a dark colour, so white text on it reaches 9.4:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#840271#840271
HEX#840271
RGBrgb(132, 2, 113)
RGB (0–1)0.5176, 0.0078, 0.4431
RGB percentages51.8%, 0.8%, 44.3%
HSLhsl(308.8, 97%, 26.3%)
HSV / HSBhsv(308.8, 98.5%, 51.8%)
CMYK0%, 98.5%, 14.4%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,651,377
CSS custom property--colour: #840271;
Brightness & contrast
Relative luminance0.06141WCAG 2.x, 0 is black and 1 is white
Perceived brightness81.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.42:1
Contrast with white9.42:1WCAG normal text: AAA
Contrast with black2.23:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#7BFD8E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.42:1WCAG large text: AAA
Contrast with black, large text2.23:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#028415
Analogous#560284, #840230
Triadic#718402, #027184
Split complementary#308402, #028456
Tetradic#845602, #028415, #023084
Tints, shades & saturation
Channel breakdown
R132
G2
B113
Red132 (51.8%)
Green2 (0.8%)
Blue113 (44.3%)
Hue308.77°
Saturation (HSL)97.01%
Lightness26.27%
Dominant channelRed
Hex per channelR 84 · G 02 · B 71
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