We divide 406945 by 87
We want to figure out the number of times 406945 can be divided by 87.

Let's proceed to step 1:
The number 87 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 87

Step 2:
If we divide 40 by 87, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Append the next digit (6) from the dividend to 40 and continue with: 406 / 87

Advancing to step 3:
406 divided by 87 is 4 with a remainder of 58.
Write down 4 as next digit of the result. 
Result so far: 4.0
The remainder is 58 after subtracting 348 from 406.
Include the next digit (9) from the dividend after 58, then repeat: 589 / 87

Moving on to step 4:
When dividing 589 by 87, we get 6 with a remainder of 67.
Use 6 as the next digit of our solution. 
Result so far: 46.0
Subtracting 522 from 589 leaves us with 67.
Grab the next digit (4) from the dividend, add it to 67, then carry on: 674 / 87

Advancing to step 5:
The number 87 fits into 674 7 times, leaving a remainder of 65.
Write down 7 as next digit of the result. 
Result so far: 467.0
Subtract 609 from 674 to get 65.
Fetch the next digit (5) from the dividend, attach it to 65 and continue: 655 / 87

On to step 6:
If we divide 655 by 87, we get 7 and a remainder of 46.
The next digit of our result is 7. 
Result so far: 4677.0
Subtract 609 from 655 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 7:
When dividing 460 by 87, we get 5 with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 4677.5
If we subtract 435 from 460, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 8:
The number 87 fits into 250 2 times, leaving a remainder of 76.
The number 2 becomes the next digit in our result. 
Result so far: 4677.52
The remainder is 76 after subtracting 174 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 9:
The number 87 fits into 760 8 times, leaving a remainder of 64.
Put 8 as the next digit of the answer. 
Result so far: 4677.528
If we subtract 696 from 760, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 10:
87 can be fit into 640 7 times, resulting in a remainder of 31.
The next digit of our result is 7. 
Result so far: 4677.5287
The remainder is 31 after subtracting 609 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 11:
87 can be fit into 310 3 times, resulting in a remainder of 49.
The number 3 becomes the next digit in our result. 
Result so far: 4677.52873
If we take 261 away from 310, we end up with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Advancing to step 12:
The number 87 fits into 490 5 times, leaving a remainder of 55.
Write down 5 as next digit of the result. 
Result so far: 4677.528735
Deduct 435 from 490 and we're left with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

On to step 13:
The number 87 fits into 550 6 times, leaving a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 4677.5287356
Subtract 522 from 550 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 14:
The number 87 fits into 280 3 times, leaving a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 4677.52873563
If we subtract 261 from 280, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final result is 4677.52873563 with a remainder of 1.9e-08.