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

Advancing to step 1:
87 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 87

Going ahead to step 2:
If we divide 33 by 87, we get 0 and a remainder of 33.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 33 leaves us with 33.
Grab the next digit (5) from the dividend, add it to 33, then carry on: 335 / 87

On to step 3:
87 goes into 335 3 times with a remainder of 74.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 261 from 335 and we're left with 74.
Append the next digit (8) from the dividend to 74 and continue with: 748 / 87

Going ahead to step 4:
If we divide 748 by 87, we get 8 and a remainder of 52.
The next digit of our result is 8. 
Result so far: 38.0
Subtracting 696 from 748 leaves us with 52.
Bring next digit (7) of the dividend behind the 52 and repeat the process: 527 / 87

Step 5:
527 divided by 87 is 6 with a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 386.0
Deduct 522 from 527 and we're left with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 87

Advancing to step 6:
The number 87 fits into 51 0 times, leaving a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 3860.0
Subtracting 0 from 51 leaves us with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Step 7:
87 goes into 510 5 times with a remainder of 75.
Write down 5 as next digit of the result. 
Result so far: 3860.5
The remainder is 75 after subtracting 435 from 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Step 8:
87 can be fit into 750 8 times, resulting in a remainder of 54.
Put 8 as the next digit of the answer. 
Result so far: 3860.58
The remainder is 54 after subtracting 696 from 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 9:
540 divided by 87 is 6 with a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 3860.586
If we take 522 away from 540, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 10:
If we divide 180 by 87, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 3860.5862
Subtracting 174 from 180 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 11:
87 can be fit into 60 0 times, resulting in a remainder of 60.
The next digit of our result is 0. 
Result so far: 3860.5862
Subtracting 0 from 60 leaves us with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 12:
87 goes into 600 6 times with a remainder of 78.
Record the quotient 6 as the next digit in the result. 
Result so far: 3860.586206
Subtracting 522 from 600 leaves us with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Let's proceed to step 13:
87 goes into 780 8 times with a remainder of 84.
Record the quotient 8 as the next digit in the result. 
Result so far: 3860.5862068
Deduct 696 from 780 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Going ahead to step 14:
When dividing 840 by 87, we get 9 with a remainder of 57.
The number 9 becomes the next digit in our result. 
Result so far: 3860.58620689
The remainder is 57 after subtracting 783 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

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