We look at the division of 151188 by 31 
Our goal is to divide 151188 by 31.

Advancing to step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 31

Moving on to step 2:
31 goes into 15 0 times with a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Fetch the next digit (1) from the dividend, attach it to 15 and continue: 151 / 31

Going ahead to step 3:
When dividing 151 by 31, we get 4 with a remainder of 27.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 124 away from 151, we end up with 27.
Fetch the next digit (1) from the dividend, attach it to 27 and continue: 271 / 31

On to step 4:
31 can be fit into 271 8 times, resulting in a remainder of 23.
Use 8 as the next digit of our solution. 
Result so far: 48.0
Deduct 248 from 271 and we're left with 23.
Bring next digit (8) of the dividend behind the 23 and repeat the process: 238 / 31

On to step 5:
238 divided by 31 is 7 with a remainder of 21.
The next digit of our result is 7. 
Result so far: 487.0
The remainder is 21 after subtracting 217 from 238.
Grab the next digit (8) from the dividend, add it to 21, then carry on: 218 / 31

Step 6:
When dividing 218 by 31, we get 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 4877.0
Subtract 217 from 218 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 4877.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
If we divide 100 by 31, we get 3 and a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 4877.03
Deduct 93 from 100 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 9:
If we divide 70 by 31, we get 2 and a remainder of 8.
The next digit of our result is 2. 
Result so far: 4877.032
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 10:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 4877.0322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 4877.0322, and the remainder is 0.00018.