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

Advancing to step 1:
When dividing 8 by 28, we get 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 28

Moving on to step 2:
87 divided by 28 is 3 with a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 84 from 87 to get 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 28

Step 3:
28 can be fit into 34 1 times, resulting in a remainder of 6.
The next digit of our result is 1. 
Result so far: 31.0
The remainder is 6 after subtracting 28 from 34.
Append the next digit (9) from the dividend to 6 and continue with: 69 / 28

Let's proceed to step 4:
28 can be fit into 69 2 times, resulting in a remainder of 13.
The number 2 becomes the next digit in our result. 
Result so far: 312.0
Deduct 56 from 69 and we're left with 13.
Grab the next digit (9) from the dividend, add it to 13, then carry on: 139 / 28

Step 5:
139 divided by 28 is 4 with a remainder of 27.
Use 4 as the next digit of our solution. 
Result so far: 3124.0
Deduct 112 from 139 and we're left with 27.
Include the next digit (7) from the dividend after 27, then repeat: 277 / 28

On to step 6:
The number 28 fits into 277 9 times, leaving a remainder of 25.
Record the quotient 9 as the next digit in the result. 
Result so far: 31249.0
Deduct 252 from 277 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
The number 28 fits into 250 8 times, leaving a remainder of 26.
Use 8 as the next digit of our solution. 
Result so far: 31249.8
Subtracting 224 from 250 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 8:
If we divide 260 by 28, we get 9 and a remainder of 8.
Use 9 as the next digit of our solution. 
Result so far: 31249.89
If we take 252 away from 260, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
80 divided by 28 is 2 with a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 31249.892
If we take 56 away from 80, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 10:
When dividing 240 by 28, we get 8 with a remainder of 16.
The next digit of our result is 8. 
Result so far: 31249.8928
The remainder is 16 after subtracting 224 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 11:
If we divide 160 by 28, we get 5 and a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 31249.89285
Deduct 140 from 160 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 12:
28 can be fit into 200 7 times, resulting in a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 31249.892857
Subtracting 196 from 200 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 13:
The number 28 fits into 40 1 times, leaving a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 31249.8928571
Subtract 28 from 40 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 14:
The number 28 fits into 120 4 times, leaving a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 31249.89285714
If we take 112 away from 120, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 31249.89285714, and the remainder is 8e-09.