Let's divide 31717 by 41
Let's see how many times 41 fits into 31717.

Moving on to step 1:
If we divide 3 by 41, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 41

Advancing to step 2:
The number 41 fits into 31 0 times, leaving a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (7) from the dividend to 31 and continue with: 317 / 41

Let's proceed to step 3:
41 goes into 317 7 times with a remainder of 30.
The next digit of our result is 7. 
Result so far: 7.0
If we take 287 away from 317, we end up with 30.
Take the next digit (1) from the dividend and append it to 30, then repeat: 301 / 41

Moving on to step 4:
41 can be fit into 301 7 times, resulting in a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 77.0
Deduct 287 from 301 and we're left with 14.
Bring next digit (7) of the dividend behind the 14 and repeat the process: 147 / 41

Advancing to step 5:
41 goes into 147 3 times with a remainder of 24.
Write down 3 as next digit of the result. 
Result so far: 773.0
Deduct 123 from 147 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 6:
When dividing 240 by 41, we get 5 with a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 773.5
Deduct 205 from 240 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 7:
When dividing 350 by 41, we get 8 with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 773.58
If we subtract 328 from 350, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
If we divide 220 by 41, we get 5 and a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 773.585
Deduct 205 from 220 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 9:
150 divided by 41 is 3 with a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 773.5853
Deduct 123 from 150 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 10:
If we divide 270 by 41, we get 6 and a remainder of 24.
The next digit of our result is 6. 
Result so far: 773.58536
Subtracting 246 from 270 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 11:
When dividing 240 by 41, we get 5 with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 773.585365
Deduct 205 from 240 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 12:
When dividing 350 by 41, we get 8 with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 773.5853658
The remainder is 22 after subtracting 328 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 13:
The number 41 fits into 220 5 times, leaving a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 773.58536585
The remainder is 15 after subtracting 205 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

After the division, we end up with 773.58536585 and a remainder of 1.5e-08.