Nerdulator> put something in

Recognised as Number

6,797,873

  • Positive
  • Odd
  • Prime
  • 7 digits

6,797,873 is an odd 7-digit integer and a prime number. It has 2 divisors and a digital root of 2.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value6,797,873
Digit count7
Digit sum47
Digit product444,528
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation6,797,873
Distinct prime factors16,797,873
Number of divisors2
Sum of divisors σ(n)6,797,874
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)6,797,872integers below n that share no factor with it
Carmichael function λ(n)6,797,872the 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, 6,797,8732 in total

Arithmetic

Previous number6,797,872
Next number6,797,874
Cube314,137,034,842,608,777,617
Square root2,607.273096551≈irrational, shown to 9 decimal places
Cube root189.433892048≈
Negation-6,797,873
Reciprocal1.47104837 × 10^-7≈

Representations

Decimal6,797,873
Binary1100111101110100011000123 bits
Octal31735061
Hexadecimal67BA31
Base 3641P9T
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordssix million, seven hundred and ninety-seven thousand, eight hundred and seventy-three
Ordinalsix million, seven hundred and ninety-seven thousand, eight hundred and seventy-third
Scientific notation6.797873 × 10^6
Engineering notation6.797873 × 10^6

In other bases

Ternary110210100221002base 3; the most digit-efficient integer base after e: 15 digits
Quinary3220012443base 5; one hand: 10 digits
Septenary111531605base 7: 9 digits
Nonary13710832base 9; each digit is two ternary digits: 8 digits
Duodecimal2339b55base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 7 digits
Vigesimal229eddbase 20; hands and feet, and the Mayan and Yoruba systems: 6 digits
Sexagesimal31:28:17:53base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary111T101010T101Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1101110001100111001110001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000011001111011101000110001
Bit length23 bitsto write the magnitude
Set bits13the population count, or Hamming weight
Zero bits10within that length
Bit parityodd13 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 22worth 4,194,304
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes367 ba 31
Gray code10101000110011100101001n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000011001111011101000110001
64-bit0000000000000000000000000000000000000000011001111011101000110001
One's complement11111111100110000100010111001110at 32 bits, every bit flipped
Bits reversed10001100010111011110011000000000at 32 bits
Rotated left by 100000000110011110111010001100010at 32 bits, wrapping
Shifted left by 1110011110111010001100010= 13,595,746, no wrap
Shifted right by 11100111101110100011000= 3,398,936, discarding the low bit
These bits as a double3.35859551 × 10^-317≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime6,797,891+18
Previous prime6,797,863−10
Distance to nearest prime0, it is prime
Nearest square below6,796,449
Nearest square above6,801,664

Powers & multiples

6,797,873 to the power 246,211,077,324,129
6,797,873 to the power 3314,137,034,842,608,777,617
6,797,873 to the power 42,135,463,667,456,629,458,925,608,641
6,797,873 to the power 514,516,610,807,484,400,069,835,003,989,220,593
First ten multiples6,797,873, 13,595,746, 20,393,619, 27,191,492, 33,989,365, 40,787,238, 47,585,111, 54,382,984, 61,180,857, 67,978,730
Powers of twoBetween 2^22 (4,194,304) and 2^23 (8,388,608)

Divisibility tests

Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 1
Divisible by 5No, remainder 3
Divisible by 6No, remainder 5
Divisible by 7No, remainder 5
Divisible by 8No, remainder 1
Divisible by 9No, remainder 2
Divisible by 10No, remainder 3
Divisible by 11No, remainder 5
Divisible by 12No, remainder 5
Divisible by 100No, remainder 73

Collatz (3n + 1) trajectory

Steps to reach 1209the total stopping time
Highest value reached27,562,5164× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps6,797,873 → 20,393,620 → 10,196,810 → 5,098,405 → 15,295,216 → 7,647,608 → 3,823,804 → 1,911,902 → 955,951 → 2,867,854 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage679,787,300%
6,797,873% as a decimal67,978.73
6,797,873% of 1006,797,873
6,797,873% of 1,00067,978,730
As a fraction of 1006,797,873/100

Read another way

As bytes6.483 MiB
As a 24-bit colour#67BA31

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

Every value on this page was computed from “6797873” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.