Recognised as Number
671,791
- Positive
- Odd
- Prime
- 6 digits
671,791 is an odd 6-digit integer and a prime number. It has 2 divisors and a digital root of 4.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value671,791
Digit count6
Digit sum31
Digit product2,646
Multiplicative persistence5times 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 factorisation671,791
Distinct prime factors1671,791
Number of divisors2
Sum of divisors σ(n)671,792
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)671,790integers below n that share no factor with it
Carmichael function λ(n)671,790the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)−11 distinct prime factor, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 671,7912 in total
Arithmetic
Representations
Decimal671,791
Binary1010010000000010111120 bits
Octal2440057
HexadecimalA402F
Base 36EECV
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordssix hundred and seventy-one thousand, seven hundred and ninety-one
Ordinalsix hundred and seventy-one thousand, seven hundred and ninety-first
Scientific notation6.71791 × 10^5
Engineering notation671.791 × 10^3
In other bases
Ternary1021010112011base 3; the most digit-efficient integer base after e: 13 digits
Quinary132444131base 5; one hand: 9 digits
Septenary5465401base 7: 7 digits
Nonary1233464base 9; each digit is two ternary digits: 7 digits
Duodecimal284927base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal43j9bbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal3:6:36:31base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary11T1011TTT011digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary111100100000001110011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000010100100000000101111
Bit length20 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits12within that length
Bit parityeven8 set bits, so even; not the same as the number itself being odd
Highest set bitbit 19worth 524,288
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes30a 40 2f
Gray code11110110000000111000n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000010100100000000101111
64-bit0000000000000000000000000000000000000000000010100100000000101111
One's complement11111111111101011011111111010000at 32 bits, every bit flipped
Bits reversed11110100000000100101000000000000at 32 bits
Rotated left by 100000000000101001000000001011110at 32 bits, wrapping
Shifted left by 1101001000000001011110= 1,343,582, no wrap
Shifted right by 11010010000000010111= 335,895, discarding the low bit
These bits as a double3.31908854 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
671,791 to the power 2451,303,147,681
671,791 to the power 3303,181,392,883,766,671
671,791 to the power 4203,674,531,106,778,495,677,761
671,791 to the power 5136,826,716,926,753,832,389,858,739,951
First ten multiples671,791, 1,343,582, 2,015,373, 2,687,164, 3,358,955, 4,030,746, 4,702,537, 5,374,328, 6,046,119, 6,717,910
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 1
Divisible by 8No, remainder 7
Divisible by 9No, remainder 4
Divisible by 10No, remainder 1
Divisible by 11No, remainder 10
Divisible by 12No, remainder 7
Divisible by 100No, remainder 91
Collatz (3n + 1) trajectory
Steps to reach 1260the total stopping time
Highest value reached9,684,73614× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps671,791 → 2,015,374 → 1,007,687 → 3,023,062 → 1,511,531 → 4,534,594 → 2,267,297 → 6,801,892 → 3,400,946 → 1,700,473 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage67,179,100%
671,791% as a decimal6,717.91
671,791% of 100671,791
671,791% of 1,0006,717,910
As a fraction of 100671,791/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 671,791
Also reads as
#671791 (colour)
- #671791
- Violet
- Dark
- Nearest: Indigo
#671791 is a violet with RGB values 103, 23, 145 and HSL 279°, 73%, 33%. It is a dark colour, so white text on it reaches 10:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#671791#671791
HEX#671791
RGBrgb(103, 23, 145)
RGB (0–1)0.4039, 0.0902, 0.5686
RGB percentages40.4%, 9%, 56.9%
HSLhsl(279.3, 72.6%, 32.9%)
HSV / HSBhsv(279.3, 84.1%, 56.9%)
CMYK29%, 84.1%, 0%, 43.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,756,241
CSS custom property--colour: #671791;
Brightness & contrast
Relative luminance0.05541WCAG 2.x, 0 is black and 1 is white
Perceived brightness76.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.96:1
Contrast with white9.96:1WCAG normal text: AAA
Contrast with black2.11:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#98E86E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.96:1WCAG large text: AAA
Contrast with black, large text2.11:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#419117
Analogous#2A1791, #91177E
Triadic#916717, #179167
Split complementary#7E9117, #17912A
Tetradic#912A17, #419117, #177E91
Tints, shades & saturation
Channel breakdown
R103
G23
B145
Red103 (40.4%)
Green23 (9%)
Blue145 (56.9%)
Hue279.34°
Saturation (HSL)72.62%
Lightness32.94%
Dominant channelBlue
Hex per channelR 67 · G 17 · B 91
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