We look at the division of 31708 by 51 
We're looking to find how many times 51 goes into 31708.

Let's proceed to step 1:
When dividing 3 by 51, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 51

On to step 2:
31 divided by 51 is 0 with 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.
Grab the next digit (7) from the dividend, add it to 31, then carry on: 317 / 51

On to step 3:
317 divided by 51 is 6 with a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 306 from 317, we get 11.
Bring next digit (0) of the dividend behind the 11 and repeat the process: 110 / 51

Going ahead to step 4:
The number 51 fits into 110 2 times, leaving a remainder of 8.
The next digit of our result is 2. 
Result so far: 62.0
Subtracting 102 from 110 leaves us with 8.
Fetch the next digit (8) from the dividend, attach it to 8 and continue: 88 / 51

Going ahead to step 5:
51 can be fit into 88 1 times, resulting in a remainder of 37.
Write down 1 as next digit of the result. 
Result so far: 621.0
If we take 51 away from 88, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 6:
When dividing 370 by 51, we get 7 with a remainder of 13.
The next digit of our result is 7. 
Result so far: 621.7
The remainder is 13 after subtracting 357 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 7:
130 divided by 51 is 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 621.72
If we subtract 102 from 130, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 8:
The number 51 fits into 280 5 times, leaving a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 621.725
Subtracting 255 from 280 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 9:
250 divided by 51 is 4 with a remainder of 46.
Put 4 as the next digit of the answer. 
Result so far: 621.7254
Subtracting 204 from 250 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 10:
51 can be fit into 460 9 times, resulting in a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 621.72549
The remainder is 1 after subtracting 459 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 11:
51 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 621.72549
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 12:
100 divided by 51 is 1 with a remainder of 49.
Use 1 as the next digit of our solution. 
Result so far: 621.7254901
If we subtract 51 from 100, we get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Moving on to step 13:
The number 51 fits into 490 9 times, leaving a remainder of 31.
The number 9 becomes the next digit in our result. 
Result so far: 621.72549019
Subtract 459 from 490 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Our division results in 621.72549019 with a remaining 3.1e-08.