Let's divide 198517 by 31
We want to figure out the number of times 198517 can be divided by 31.

Moving on to step 1:
The number 31 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 31

Going ahead to step 2:
19 divided by 31 is 0 with a remainder of 19.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 19 and we're left with 19.
Include the next digit (8) from the dividend after 19, then repeat: 198 / 31

Step 3:
31 can be fit into 198 6 times, resulting in a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
If we subtract 186 from 198, we get 12.
Append the next digit (5) from the dividend to 12 and continue with: 125 / 31

Moving on to step 4:
The number 31 fits into 125 4 times, leaving a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 64.0
If we subtract 124 from 125, we get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 31

Advancing to step 5:
When dividing 11 by 31, we get 0 with a remainder of 11.
The number 0 becomes the next digit in our result. 
Result so far: 640.0
The remainder is 11 after subtracting 0 from 11.
Take the next digit (7) from the dividend and append it to 11, then repeat: 117 / 31

Moving on to step 6:
When dividing 117 by 31, we get 3 with a remainder of 24.
Write down 3 as next digit of the result. 
Result so far: 6403.0
The remainder is 24 after subtracting 93 from 117.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 7:
240 divided by 31 is 7 with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 6403.7
The remainder is 23 after subtracting 217 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 8:
31 goes into 230 7 times with a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 6403.77
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final result is 6403.77 with a remainder of 0.013.