We divide 123166 by 87
Our goal is to divide 123166 by 87.

Let's proceed to step 1:
87 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 87

Step 2:
If we divide 12 by 87, we get 0 and a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Take the next digit (3) from the dividend and append it to 12, then repeat: 123 / 87

Moving on to step 3:
If we divide 123 by 87, we get 1 and a remainder of 36.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 87 from 123, we get 36.
Append the next digit (1) from the dividend to 36 and continue with: 361 / 87

Moving on to step 4:
87 goes into 361 4 times with a remainder of 13.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtract 348 from 361 to get 13.
Grab the next digit (6) from the dividend, add it to 13, then carry on: 136 / 87

On to step 5:
136 divided by 87 is 1 with a remainder of 49.
The next digit of our result is 1. 
Result so far: 141.0
The remainder is 49 after subtracting 87 from 136.
Take the next digit (6) from the dividend and append it to 49, then repeat: 496 / 87

Let's proceed to step 6:
When dividing 496 by 87, we get 5 with a remainder of 61.
Record the quotient 5 as the next digit in the result. 
Result so far: 1415.0
If we take 435 away from 496, we end up with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Let's proceed to step 7:
The number 87 fits into 610 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 1415.7
Subtract 609 from 610 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 8:
87 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 1415.7
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 9:
100 divided by 87 is 1 with a remainder of 13.
The next digit of our result is 1. 
Result so far: 1415.701
If we take 87 away from 100, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 10:
130 divided by 87 is 1 with a remainder of 43.
Record the quotient 1 as the next digit in the result. 
Result so far: 1415.7011
If we subtract 87 from 130, we get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

After the division, we end up with 1415.7011 and a remainder of 0.00043.