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

Advancing to step 1:
The number 964 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 964

Going ahead to step 2:
964 can be fit into 17 0 times, resulting in a remainder of 17.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 17, we end up with 17.
Grab the next digit (8) from the dividend, add it to 17, then carry on: 178 / 964

On to step 3:
178 divided by 964 is 0 with a remainder of 178.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 178 after subtracting 0 from 178.
Fetch the next digit (7) from the dividend, attach it to 178 and continue: 1787 / 964

Going ahead to step 4:
964 goes into 1787 1 times with a remainder of 823.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 964 from 1787, we get 823.
Grab the next digit (1) from the dividend, add it to 823, then carry on: 8231 / 964

Let's proceed to step 5:
The number 964 fits into 8231 8 times, leaving a remainder of 519.
Write down 8 as next digit of the result. 
Result so far: 18.0
If we subtract 7712 from 8231, we get 519.
Append the next digit (5) from the dividend to 519 and continue with: 5195 / 964

Step 6:
964 can be fit into 5195 5 times, resulting in a remainder of 375.
Write down 5 as next digit of the result. 
Result so far: 185.0
Subtracting 4820 from 5195 leaves us with 375.
Include the next digit (8) from the dividend after 375, then repeat: 3758 / 964

Let's proceed to step 7:
964 can be fit into 3758 3 times, resulting in a remainder of 866.
The number 3 becomes the next digit in our result. 
Result so far: 1853.0
If we subtract 2892 from 3758, we get 866.
Grab the next digit (6) from the dividend, add it to 866, then carry on: 8666 / 964

Moving on to step 8:
If we divide 8666 by 964, we get 8 and a remainder of 954.
Put 8 as the next digit of the answer. 
Result so far: 18538.0
Subtracting 7712 from 8666 leaves us with 954.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9540, and continue the process.

Step 9:
When dividing 9540 by 964, we get 9 with a remainder of 864.
Put 9 as the next digit of the answer. 
Result so far: 18538.9
If we take 8676 away from 9540, we end up with 864.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8640, and continue the process.

Going ahead to step 10:
If we divide 8640 by 964, we get 8 and a remainder of 928.
Write down 8 as next digit of the result. 
Result so far: 18538.98
If we subtract 7712 from 8640, we get 928.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9280, and continue the process.

On to step 11:
The number 964 fits into 9280 9 times, leaving a remainder of 604.
Write down 9 as next digit of the result. 
Result so far: 18538.989
Deduct 8676 from 9280 and we're left with 604.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6040, and continue the process.

On to step 12:
When dividing 6040 by 964, we get 6 with a remainder of 256.
Record the quotient 6 as the next digit in the result. 
Result so far: 18538.9896
Subtract 5784 from 6040 to get 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

On to step 13:
964 can be fit into 2560 2 times, resulting in a remainder of 632.
Put 2 as the next digit of the answer. 
Result so far: 18538.98962
Deduct 1928 from 2560 and we're left with 632.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6320, and continue the process.

Going ahead to step 14:
The number 964 fits into 6320 6 times, leaving a remainder of 536.
The number 6 becomes the next digit in our result. 
Result so far: 18538.989626
Deduct 5784 from 6320 and we're left with 536.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5360, and continue the process.

On to step 15:
When dividing 5360 by 964, we get 5 with a remainder of 540.
The next digit of our result is 5. 
Result so far: 18538.9896265
Subtracting 4820 from 5360 leaves us with 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Moving on to step 16:
5400 divided by 964 is 5 with a remainder of 580.
Write down 5 as next digit of the result. 
Result so far: 18538.98962655
The remainder is 580 after subtracting 4820 from 5400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

The final result is 18538.98962655 with a remainder of 5.8e-07.