397835 ÷ 87 
We want to figure out the number of times 397835 can be divided by 87.

Advancing to step 1:
3 divided by 87 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 87

Advancing to step 2:
39 divided by 87 is 0 with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 87

Moving on to step 3:
When dividing 397 by 87, we get 4 with a remainder of 49.
The next digit of our result is 4. 
Result so far: 4.0
If we take 348 away from 397, we end up with 49.
Bring next digit (8) of the dividend behind the 49 and repeat the process: 498 / 87

Let's proceed to step 4:
87 goes into 498 5 times with a remainder of 63.
Put 5 as the next digit of the answer. 
Result so far: 45.0
Subtract 435 from 498 to get 63.
Include the next digit (3) from the dividend after 63, then repeat: 633 / 87

On to step 5:
If we divide 633 by 87, we get 7 and a remainder of 24.
Record the quotient 7 as the next digit in the result. 
Result so far: 457.0
The remainder is 24 after subtracting 609 from 633.
Grab the next digit (5) from the dividend, add it to 24, then carry on: 245 / 87

Advancing to step 6:
245 divided by 87 is 2 with a remainder of 71.
The number 2 becomes the next digit in our result. 
Result so far: 4572.0
The remainder is 71 after subtracting 174 from 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Going ahead to step 7:
If we divide 710 by 87, we get 8 and a remainder of 14.
The next digit of our result is 8. 
Result so far: 4572.8
If we subtract 696 from 710, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 8:
The number 87 fits into 140 1 times, leaving a remainder of 53.
The next digit of our result is 1. 
Result so far: 4572.81
Deduct 87 from 140 and we're left 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.

Step 9:
530 divided by 87 is 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 4572.816
If we take 522 away from 530, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
When dividing 80 by 87, we get 0 with a remainder of 80.
Use 0 as the next digit of our solution. 
Result so far: 4572.816
If we subtract 0 from 80, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 11:
If we divide 800 by 87, we get 9 and a remainder of 17.
Use 9 as the next digit of our solution. 
Result so far: 4572.81609
The remainder is 17 after subtracting 783 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 12:
If we divide 170 by 87, we get 1 and a remainder of 83.
Put 1 as the next digit of the answer. 
Result so far: 4572.816091
Subtracting 87 from 170 leaves us with 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Advancing to step 13:
87 goes into 830 9 times with a remainder of 47.
The number 9 becomes the next digit in our result. 
Result so far: 4572.8160919
Subtracting 783 from 830 leaves us with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Let's proceed to step 14:
470 divided by 87 is 5 with a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 4572.81609195
Deduct 435 from 470 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The final outcome is 4572.81609195, with a leftover of 3.5e-08.