We're dividing 9974875 by 249 
We want to divide 9974875 by 249.

Going ahead to step 1:
The number 249 fits into 9 0 times, leaving a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 249

Moving on to step 2:
When dividing 99 by 249, we get 0 with a remainder of 99.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 99 leaves us with 99.
Fetch the next digit (7) from the dividend, attach it to 99 and continue: 997 / 249

Step 3:
997 divided by 249 is 4 with a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 996 from 997 leaves us with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 249

On to step 4:
If we divide 14 by 249, we get 0 and a remainder of 14.
Use 0 as the next digit of our solution. 
Result so far: 40.0
If we take 0 away from 14, we end up with 14.
Append the next digit (8) from the dividend to 14 and continue with: 148 / 249

On to step 5:
When dividing 148 by 249, we get 0 with a remainder of 148.
Record the quotient 0 as the next digit in the result. 
Result so far: 400.0
If we take 0 away from 148, we end up with 148.
Take the next digit (7) from the dividend and append it to 148, then repeat: 1487 / 249

On to step 6:
1487 divided by 249 is 5 with a remainder of 242.
Put 5 as the next digit of the answer. 
Result so far: 4005.0
If we take 1245 away from 1487, we end up with 242.
Bring next digit (5) of the dividend behind the 242 and repeat the process: 2425 / 249

On to step 7:
The number 249 fits into 2425 9 times, leaving a remainder of 184.
Record the quotient 9 as the next digit in the result. 
Result so far: 40059.0
If we subtract 2241 from 2425, we get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Moving on to step 8:
When dividing 1840 by 249, we get 7 with a remainder of 97.
The next digit of our result is 7. 
Result so far: 40059.7
Subtracting 1743 from 1840 leaves us with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Going ahead to step 9:
249 can be fit into 970 3 times, resulting in a remainder of 223.
Record the quotient 3 as the next digit in the result. 
Result so far: 40059.73
Deduct 747 from 970 and we're left with 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2230, and continue the process.

Step 10:
2230 divided by 249 is 8 with a remainder of 238.
The next digit of our result is 8. 
Result so far: 40059.738
Subtract 1992 from 2230 to get 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

Step 11:
249 goes into 2380 9 times with a remainder of 139.
The number 9 becomes the next digit in our result. 
Result so far: 40059.7389
If we take 2241 away from 2380, we end up with 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Advancing to step 12:
249 can be fit into 1390 5 times, resulting in a remainder of 145.
The next digit of our result is 5. 
Result so far: 40059.73895
The remainder is 145 after subtracting 1245 from 1390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Going ahead to step 13:
When dividing 1450 by 249, we get 5 with a remainder of 205.
Write down 5 as next digit of the result. 
Result so far: 40059.738955
Deduct 1245 from 1450 and we're left with 205.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2050, and continue the process.

The quotient of the division is 40059.738955, and the remainder is 2.05e-05.