We divide 401997 by 84
We want to divide 401997 by 84.

Step 1:
The number 84 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 84

Let's proceed to step 2:
The number 84 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Append the next digit (1) from the dividend to 40 and continue with: 401 / 84

Going ahead to step 3:
If we divide 401 by 84, we get 4 and a remainder of 65.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 336 from 401, we get 65.
Fetch the next digit (9) from the dividend, attach it to 65 and continue: 659 / 84

On to step 4:
The number 84 fits into 659 7 times, leaving a remainder of 71.
Put 7 as the next digit of the answer. 
Result so far: 47.0
Subtract 588 from 659 to get 71.
Bring next digit (9) of the dividend behind the 71 and repeat the process: 719 / 84

Advancing to step 5:
The number 84 fits into 719 8 times, leaving a remainder of 47.
Use 8 as the next digit of our solution. 
Result so far: 478.0
If we take 672 away from 719, we end up with 47.
Grab the next digit (7) from the dividend, add it to 47, then carry on: 477 / 84

Moving on to step 6:
If we divide 477 by 84, we get 5 and a remainder of 57.
Write down 5 as next digit of the result. 
Result so far: 4785.0
Deduct 420 from 477 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Moving on to step 7:
When dividing 570 by 84, we get 6 with a remainder of 66.
Put 6 as the next digit of the answer. 
Result so far: 4785.6
If we take 504 away from 570, we end up with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Going ahead to step 8:
The number 84 fits into 660 7 times, leaving a remainder of 72.
Record the quotient 7 as the next digit in the result. 
Result so far: 4785.67
If we take 588 away from 660, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 9:
720 divided by 84 is 8 with a remainder of 48.
The next digit of our result is 8. 
Result so far: 4785.678
Subtracting 672 from 720 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 10:
480 divided by 84 is 5 with a remainder of 60.
Put 5 as the next digit of the answer. 
Result so far: 4785.6785
Subtract 420 from 480 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 11:
The number 84 fits into 600 7 times, leaving a remainder of 12.
The next digit of our result is 7. 
Result so far: 4785.67857
Subtracting 588 from 600 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 12:
84 goes into 120 1 times with a remainder of 36.
The number 1 becomes the next digit in our result. 
Result so far: 4785.678571
Subtracting 84 from 120 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 13:
When dividing 360 by 84, we get 4 with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 4785.6785714
Deduct 336 from 360 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 14:
When dividing 240 by 84, we get 2 with a remainder of 72.
Write down 2 as next digit of the result. 
Result so far: 4785.67857142
Subtract 168 from 240 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

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