Let's divide 401871 by 3
We want to divide 401871 by 3.

On to step 1:
4 divided by 3 is 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 3 from 4 and we're left with 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 3

On to step 2:
When dividing 10 by 3, we get 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 13.0
If we subtract 9 from 10, we get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 3

Moving on to step 3:
11 divided by 3 is 3 with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 133.0
Subtract 9 from 11 to get 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 3

Advancing to step 4:
The number 3 fits into 28 9 times, leaving a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 1339.0
If we subtract 27 from 28, we get 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 3

Advancing to step 5:
17 divided by 3 is 5 with a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 13395.0
Subtracting 15 from 17 leaves us with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 3

Going ahead to step 6:
The number 3 fits into 21 7 times, leaving a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 133957.0
Subtract 21 from 21 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 7:
The number 3 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 133957.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
When dividing 0 by 3, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 133957.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 133957.0 and a remainder of 0.0.