Let's divide 196945 by 31
We're looking to find how many times 31 goes into 196945.

On to step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 31

Going ahead to step 2:
31 goes into 19 0 times with a remainder of 19.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 19 after subtracting 0 from 19.
Take the next digit (6) from the dividend and append it to 19, then repeat: 196 / 31

On to step 3:
196 divided by 31 is 6 with a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 6.0
Deduct 186 from 196 and we're left with 10.
Take the next digit (9) from the dividend and append it to 10, then repeat: 109 / 31

Step 4:
When dividing 109 by 31, we get 3 with a remainder of 16.
The number 3 becomes the next digit in our result. 
Result so far: 63.0
Subtracting 93 from 109 leaves us with 16.
Append the next digit (4) from the dividend to 16 and continue with: 164 / 31

Advancing to step 5:
If we divide 164 by 31, we get 5 and a remainder of 9.
The next digit of our result is 5. 
Result so far: 635.0
If we subtract 155 from 164, we get 9.
Bring next digit (5) of the dividend behind the 9 and repeat the process: 95 / 31

Moving on to step 6:
If we divide 95 by 31, we get 3 and a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 6353.0
If we take 93 away from 95, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
20 divided by 31 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 6353.0
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 6353.06
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
140 divided by 31 is 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 6353.064
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
The number 31 fits into 160 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 6353.0645
If we subtract 155 from 160, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 11:
31 can be fit into 50 1 times, resulting in a remainder of 19.
The next digit of our result is 1. 
Result so far: 6353.06451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 12:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 6353.064516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 13:
When dividing 40 by 31, we get 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 6353.0645161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 14:
When dividing 90 by 31, we get 2 with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 6353.06451612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 6353.06451612, and the remainder is 2.8e-08.