Let's divide 31661 by 21
Let's see how many times 21 fits into 31661.

Let's proceed to step 1:
21 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 21

Step 2:
21 can be fit into 31 1 times, resulting in a remainder of 10.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 10 after subtracting 21 from 31.
Fetch the next digit (6) from the dividend, attach it to 10 and continue: 106 / 21

Moving on to step 3:
If we divide 106 by 21, we get 5 and a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 15.0
Subtract 105 from 106 to get 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 21

Going ahead to step 4:
If we divide 16 by 21, we get 0 and a remainder of 16.
The next digit of our result is 0. 
Result so far: 150.0
Deduct 0 from 16 and we're left with 16.
Append the next digit (1) from the dividend to 16 and continue with: 161 / 21

Advancing to step 5:
When dividing 161 by 21, we get 7 with a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 1507.0
The remainder is 14 after subtracting 147 from 161.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 6:
The number 21 fits into 140 6 times, leaving a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 1507.6
The remainder is 14 after subtracting 126 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 7:
If we divide 140 by 21, we get 6 and a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 1507.66
Deduct 126 from 140 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Our division results in 1507.66 with a remaining 0.014.