We're dividing 5297911 by 998 
We want to figure out the number of times 5297911 can be divided by 998.

Step 1:
When dividing 5 by 998, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 998

On to step 2:
If we divide 52 by 998, we get 0 and a remainder of 52.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 52 leaves us with 52.
Grab the next digit (9) from the dividend, add it to 52, then carry on: 529 / 998

Advancing to step 3:
998 can be fit into 529 0 times, resulting in a remainder of 529.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 529, we get 529.
Fetch the next digit (7) from the dividend, attach it to 529 and continue: 5297 / 998

Step 4:
5297 divided by 998 is 5 with a remainder of 307.
The next digit of our result is 5. 
Result so far: 5.0
If we take 4990 away from 5297, we end up with 307.
Fetch the next digit (9) from the dividend, attach it to 307 and continue: 3079 / 998

Moving on to step 5:
When dividing 3079 by 998, we get 3 with a remainder of 85.
Record the quotient 3 as the next digit in the result. 
Result so far: 53.0
Subtract 2994 from 3079 to get 85.
Grab the next digit (1) from the dividend, add it to 85, then carry on: 851 / 998

Advancing to step 6:
If we divide 851 by 998, we get 0 and a remainder of 851.
Put 0 as the next digit of the answer. 
Result so far: 530.0
Subtracting 0 from 851 leaves us with 851.
Fetch the next digit (1) from the dividend, attach it to 851 and continue: 8511 / 998

Going ahead to step 7:
8511 divided by 998 is 8 with a remainder of 527.
Write down 8 as next digit of the result. 
Result so far: 5308.0
If we subtract 7984 from 8511, we get 527.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5270, and continue the process.

Step 8:
5270 divided by 998 is 5 with a remainder of 280.
Write down 5 as next digit of the result. 
Result so far: 5308.5
If we subtract 4990 from 5270, we get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

On to step 9:
If we divide 2800 by 998, we get 2 and a remainder of 804.
The next digit of our result is 2. 
Result so far: 5308.52
The remainder is 804 after subtracting 1996 from 2800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8040, and continue the process.

Moving on to step 10:
998 goes into 8040 8 times with a remainder of 56.
Put 8 as the next digit of the answer. 
Result so far: 5308.528
Deduct 7984 from 8040 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 11:
If we divide 560 by 998, we get 0 and a remainder of 560.
Record the quotient 0 as the next digit in the result. 
Result so far: 5308.528
Subtract 0 from 560 to get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Let's proceed to step 12:
When dividing 5600 by 998, we get 5 with a remainder of 610.
Record the quotient 5 as the next digit in the result. 
Result so far: 5308.52805
Subtracting 4990 from 5600 leaves us with 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

Going ahead to step 13:
If we divide 6100 by 998, we get 6 and a remainder of 112.
Record the quotient 6 as the next digit in the result. 
Result so far: 5308.528056
Subtracting 5988 from 6100 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Let's proceed to step 14:
When dividing 1120 by 998, we get 1 with a remainder of 122.
Record the quotient 1 as the next digit in the result. 
Result so far: 5308.5280561
Subtracting 998 from 1120 leaves us with 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

On to step 15:
When dividing 1220 by 998, we get 1 with a remainder of 222.
Record the quotient 1 as the next digit in the result. 
Result so far: 5308.52805611
The remainder is 222 after subtracting 998 from 1220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

After the division, we end up with 5308.52805611 and a remainder of 2.22e-07.