Let's divide 31971663 by 406
We want to divide 31971663 by 406.

Advancing to step 1:
3 divided by 406 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 406

Moving on to step 2:
When dividing 31 by 406, we get 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Fetch the next digit (9) from the dividend, attach it to 31 and continue: 319 / 406

Moving on to step 3:
If we divide 319 by 406, we get 0 and a remainder of 319.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 319 after subtracting 0 from 319.
Fetch the next digit (7) from the dividend, attach it to 319 and continue: 3197 / 406

Step 4:
406 goes into 3197 7 times with a remainder of 355.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we take 2842 away from 3197, we end up with 355.
Include the next digit (1) from the dividend after 355, then repeat: 3551 / 406

Moving on to step 5:
The number 406 fits into 3551 8 times, leaving a remainder of 303.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
Deduct 3248 from 3551 and we're left with 303.
Take the next digit (6) from the dividend and append it to 303, then repeat: 3036 / 406

Step 6:
If we divide 3036 by 406, we get 7 and a remainder of 194.
The next digit of our result is 7. 
Result so far: 787.0
The remainder is 194 after subtracting 2842 from 3036.
Append the next digit (6) from the dividend to 194 and continue with: 1946 / 406

Going ahead to step 7:
When dividing 1946 by 406, we get 4 with a remainder of 322.
Record the quotient 4 as the next digit in the result. 
Result so far: 7874.0
Subtracting 1624 from 1946 leaves us with 322.
Bring next digit (3) of the dividend behind the 322 and repeat the process: 3223 / 406

Let's proceed to step 8:
When dividing 3223 by 406, we get 7 with a remainder of 381.
Use 7 as the next digit of our solution. 
Result so far: 78747.0
Subtract 2842 from 3223 to get 381.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3810, and continue the process.

On to step 9:
406 can be fit into 3810 9 times, resulting in a remainder of 156.
Write down 9 as next digit of the result. 
Result so far: 78747.9
Subtracting 3654 from 3810 leaves us with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Moving on to step 10:
If we divide 1560 by 406, we get 3 and a remainder of 342.
Use 3 as the next digit of our solution. 
Result so far: 78747.93
Subtracting 1218 from 1560 leaves us with 342.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3420, and continue the process.

Going ahead to step 11:
406 goes into 3420 8 times with a remainder of 172.
The next digit of our result is 8. 
Result so far: 78747.938
The remainder is 172 after subtracting 3248 from 3420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

On to step 12:
406 can be fit into 1720 4 times, resulting in a remainder of 96.
The next digit of our result is 4. 
Result so far: 78747.9384
If we take 1624 away from 1720, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Advancing to step 13:
406 goes into 960 2 times with a remainder of 148.
Use 2 as the next digit of our solution. 
Result so far: 78747.93842
The remainder is 148 after subtracting 812 from 960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

On to step 14:
406 can be fit into 1480 3 times, resulting in a remainder of 262.
Use 3 as the next digit of our solution. 
Result so far: 78747.938423
Subtract 1218 from 1480 to get 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

On to step 15:
When dividing 2620 by 406, we get 6 with a remainder of 184.
Write down 6 as next digit of the result. 
Result so far: 78747.9384236
Subtracting 2436 from 2620 leaves us with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Step 16:
If we divide 1840 by 406, we get 4 and a remainder of 216.
Use 4 as the next digit of our solution. 
Result so far: 78747.93842364
If we subtract 1624 from 1840, we get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

After the division, we end up with 78747.93842364 and a remainder of 2.16e-07.