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

Going ahead to step 1:
87 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 87

Going ahead to step 2:
87 goes into 40 0 times with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Bring next digit (1) of the dividend behind the 40 and repeat the process: 401 / 87

Step 3:
If we divide 401 by 87, we get 4 and a remainder of 53.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 348 away from 401, we end up with 53.
Append the next digit (0) from the dividend to 53 and continue with: 530 / 87

Going ahead to step 4:
530 divided by 87 is 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 46.0
The remainder is 8 after subtracting 522 from 530.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 87

Step 5:
87 goes into 81 0 times with a remainder of 81.
Write down 0 as next digit of the result. 
Result so far: 460.0
If we take 0 away from 81, we end up with 81.
Bring next digit (5) of the dividend behind the 81 and repeat the process: 815 / 87

Advancing to step 6:
When dividing 815 by 87, we get 9 with a remainder of 32.
Record the quotient 9 as the next digit in the result. 
Result so far: 4609.0
The remainder is 32 after subtracting 783 from 815.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 7:
87 can be fit into 320 3 times, resulting in a remainder of 59.
Write down 3 as next digit of the result. 
Result so far: 4609.3
Subtracting 261 from 320 leaves us with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Going ahead to step 8:
590 divided by 87 is 6 with a remainder of 68.
Record the quotient 6 as the next digit in the result. 
Result so far: 4609.36
The remainder is 68 after subtracting 522 from 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 9:
If we divide 680 by 87, we get 7 and a remainder of 71.
Write down 7 as next digit of the result. 
Result so far: 4609.367
If we take 609 away from 680, we end up with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Let's proceed to step 10:
710 divided by 87 is 8 with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 4609.3678
The remainder is 14 after subtracting 696 from 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 11:
When dividing 140 by 87, we get 1 with a remainder of 53.
Record the quotient 1 as the next digit in the result. 
Result so far: 4609.36781
If we take 87 away from 140, we end up with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

On to step 12:
The number 87 fits into 530 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 4609.367816
If we subtract 522 from 530, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 13:
If we divide 80 by 87, we get 0 and a remainder of 80.
Use 0 as the next digit of our solution. 
Result so far: 4609.367816
The remainder is 80 after subtracting 0 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Moving on to step 14:
When dividing 800 by 87, we get 9 with a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 4609.36781609
If we take 783 away from 800, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

After the division, we end up with 4609.36781609 and a remainder of 1.7e-08.