We're dividing 151565 by 31 
Let's see how many times 31 fits into 151565.

Let's proceed to step 1:
31 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 31

Advancing to step 2:
If we divide 15 by 31, we get 0 and a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 15 leaves us with 15.
Grab the next digit (1) from the dividend, add it to 15, then carry on: 151 / 31

Let's proceed to step 3:
When dividing 151 by 31, we get 4 with a remainder of 27.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 27 after subtracting 124 from 151.
Take the next digit (5) from the dividend and append it to 27, then repeat: 275 / 31

Going ahead to step 4:
31 can be fit into 275 8 times, resulting in a remainder of 27.
Use 8 as the next digit of our solution. 
Result so far: 48.0
Subtracting 248 from 275 leaves us with 27.
Grab the next digit (6) from the dividend, add it to 27, then carry on: 276 / 31

Let's proceed to step 5:
276 divided by 31 is 8 with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 488.0
The remainder is 28 after subtracting 248 from 276.
Grab the next digit (5) from the dividend, add it to 28, then carry on: 285 / 31

On to step 6:
31 goes into 285 9 times with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 4889.0
Deduct 279 from 285 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
The number 31 fits into 60 1 times, leaving a remainder of 29.
Write down 1 as next digit of the result. 
Result so far: 4889.1
The remainder is 29 after subtracting 31 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 8:
When dividing 290 by 31, we get 9 with a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 4889.19
Subtracting 279 from 290 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 9:
If we divide 110 by 31, we get 3 and a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 4889.193
Subtracting 93 from 110 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 10:
When dividing 170 by 31, we get 5 with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 4889.1935
Subtract 155 from 170 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 11:
If we divide 150 by 31, we get 4 and a remainder of 26.
The next digit of our result is 4. 
Result so far: 4889.19354
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 12:
If we divide 260 by 31, we get 8 and a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 4889.193548
If we subtract 248 from 260, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 13:
31 can be fit into 120 3 times, resulting in a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 4889.1935483
If we take 93 away from 120, we end up 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.

Step 14:
31 can be fit into 270 8 times, resulting in a remainder of 22.
The next digit of our result is 8. 
Result so far: 4889.19354838
If we subtract 248 from 270, 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.

In conclusion, the division gives 4889.19354838 with a balance of 2.2e-08.