We look at the division of 159358 by 31 
We want to divide 159358 by 31.

Advancing to step 1:
31 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 31

On to step 2:
The number 31 fits into 15 0 times, leaving a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Take the next digit (9) from the dividend and append it to 15, then repeat: 159 / 31

Advancing to step 3:
31 goes into 159 5 times with a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 155 from 159 and we're left with 4.
Bring next digit (3) of the dividend behind the 4 and repeat the process: 43 / 31

Going ahead to step 4:
43 divided by 31 is 1 with a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 51.0
If we subtract 31 from 43, we get 12.
Bring next digit (5) of the dividend behind the 12 and repeat the process: 125 / 31

Let's proceed to step 5:
When dividing 125 by 31, we get 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 514.0
Deduct 124 from 125 and we're left with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 31

Going ahead to step 6:
18 divided by 31 is 0 with a remainder of 18.
The next digit of our result is 0. 
Result so far: 5140.0
If we subtract 0 from 18, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 7:
31 can be fit into 180 5 times, resulting in a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 5140.5
If we subtract 155 from 180, we get 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 8:
31 goes into 250 8 times with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 5140.58
Subtract 248 from 250 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 9:
If we divide 20 by 31, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 5140.58
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 10:
31 goes into 200 6 times with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 5140.5806
Deduct 186 from 200 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.

On to step 11:
If we divide 140 by 31, we get 4 and a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 5140.58064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 12:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 5140.580645
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 13:
31 goes into 50 1 times with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 5140.5806451
Subtracting 31 from 50 leaves us with 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 14:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 5140.58064516
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.

The quotient of the division is 5140.58064516, and the remainder is 4e-09.