Let's divide 58387 by 6
Let's see how many times 6 fits into 58387.

Let's proceed to step 1:
6 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 6

Let's proceed to step 2:
When dividing 58 by 6, we get 9 with a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Deduct 54 from 58 and we're left with 4.
Append the next digit (3) from the dividend to 4 and continue with: 43 / 6

On to step 3:
43 divided by 6 is 7 with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 97.0
The remainder is 1 after subtracting 42 from 43.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 6

Moving on to step 4:
If we divide 18 by 6, we get 3 and a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 973.0
If we take 18 away from 18, we end up with 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 6

Moving on to step 5:
6 goes into 7 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 9731.0
Deduct 6 from 7 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 6:
If we divide 10 by 6, we get 1 and a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 9731.1
The remainder is 4 after subtracting 6 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
When dividing 40 by 6, we get 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 9731.16
Subtracting 36 from 40 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
The number 6 fits into 40 6 times, leaving a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 9731.166
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 9731.166, with a leftover of 0.0004.