We look at the division of 158487 by 6 
Let's see how many times 6 fits into 158487.

Let's proceed to step 1:
6 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 6

Let's proceed to step 2:
When dividing 15 by 6, we get 2 with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 12 from 15 to get 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 6

Advancing to step 3:
38 divided by 6 is 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 26.0
If we take 36 away from 38, we end up with 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 6

Step 4:
24 divided by 6 is 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 264.0
If we subtract 24 from 24, we get 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 6

Going ahead to step 5:
6 can be fit into 8 1 times, resulting in a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 2641.0
Deduct 6 from 8 and we're left with 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 6

Going ahead to step 6:
The number 6 fits into 27 4 times, leaving a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 26414.0
If we subtract 24 from 27, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
6 goes into 30 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 26414.5
The remainder is 0 after subtracting 30 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
0 divided by 6 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 26414.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
The number 6 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 26414.5
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 26414.5 with a remainder of 0.0.