Nerdulator> put something in

Recognised as Number

3,998,321

  • Positive
  • Odd
  • Composite
  • 7 digits

3,998,321 is an odd 7-digit integer and a composite number. It has 4 divisors and a digital root of 8.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value3,998,321
Digit count7
Digit sum35
Digit product11,664
Multiplicative persistence4times the digit product can be taken before one digit is left
Digital root8repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation317 × 12,613
Distinct prime factors2317, 12,613
Number of divisors4
Sum of divisors σ(n)4,011,252
Aliquot sum12,931sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)3,985,392integers below n that share no factor with it
Carmichael function λ(n)996,348the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 3,985,392
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 317, 12,613, 3,998,3214 in total

Arithmetic

Previous number3,998,320
Next number3,998,322
Double7,996,642
Cube63,919,441,823,758,830,161
Square root1,999.580205943≈irrational, shown to 9 decimal places
Cube root158.717891702≈
Negation-3,998,321
Reciprocal2.50104982 × 10^-7≈

Representations

Decimal3,998,321
Binary111101000000100111000122 bits
Octal17201161
Hexadecimal3D0271
Base 362DP4H
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree million, nine hundred and ninety-eight thousand, three hundred and twenty-one
Ordinalthree million, nine hundred and ninety-eight thousand, three hundred and twenty-first
Scientific notation3.998321 × 10^6
Engineering notation3.998321 × 10^6

In other bases

Ternary21112010122222base 3; the most digit-efficient integer base after e: 14 digits
Quinary2010421241base 5; one hand: 10 digits
Septenary45661625base 7: 8 digits
Nonary7463588base 9; each digit is two ternary digits: 7 digits
Duodecimal1409a15base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 7 digits
Vigesimal14jfg1base 20; hands and feet, and the Mayan and Yoruba systems: 6 digits
Sexagesimal18:30:38:41base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary10TTTT011T0000Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary10011010000011110110001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000001111010000001001110001
Bit length22 bitsto write the magnitude
Set bits10the population count, or Hamming weight
Zero bits12within that length
Bit parityeven10 set bits, so even; not the same as the number itself being odd
Highest set bitbit 21worth 2,097,152
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes33d 02 71
Gray code1000111000001101001001n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000001111010000001001110001
64-bit0000000000000000000000000000000000000000001111010000001001110001
One's complement11111111110000101111110110001110at 32 bits, every bit flipped
Bits reversed10001110010000001011110000000000at 32 bits
Rotated left by 100000000011110100000010011100010at 32 bits, wrapping
Shifted left by 111110100000010011100010= 7,996,642, no wrap
Shifted right by 1111101000000100111000= 1,999,160, discarding the low bit
These bits as a double1.97543305 × 10^-317≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime3,998,333+12
Previous prime3,998,299−22
Distance to nearest prime12
Nearest square below3,996,001
Nearest square above4,000,000

Powers & multiples

3,998,321 to the power 215,986,570,819,041
3,998,321 to the power 363,919,441,823,758,830,161
3,998,321 to the power 4255,570,446,552,213,229,568,159,681
3,998,321 to the power 51,021,852,683,429,091,752,260,193,783,895,601
First ten multiples3,998,321, 7,996,642, 11,994,963, 15,993,284, 19,991,605, 23,989,926, 27,988,247, 31,986,568, 35,984,889, 39,983,210
Powers of twoBetween 2^21 (2,097,152) and 2^22 (4,194,304)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 1185the total stopping time
Highest value reached11,994,9643× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps3,998,321 → 11,994,964 → 5,997,482 → 2,998,741 → 8,996,224 → 4,498,112 → 2,249,056 → 1,124,528 → 562,264 → 281,132 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage399,832,100%
3,998,321% as a decimal39,983.21
3,998,321% of 1003,998,321
3,998,321% of 1,00039,983,210
As a fraction of 1003,998,321/100

Read another way

As bytes3.813 MiB
As a 24-bit colour#3D0271

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 “3998321” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.