We divide 58177 by 6
We want to figure out the number of times 58177 can be divided by 6.

Let's proceed to step 1:
The number 6 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 6

Moving on to step 2:
58 divided by 6 is 9 with a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 9.0
If we subtract 54 from 58, we get 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 6

Let's proceed to step 3:
41 divided by 6 is 6 with a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 96.0
The remainder is 5 after subtracting 36 from 41.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 6

Step 4:
The number 6 fits into 57 9 times, leaving a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 969.0
The remainder is 3 after subtracting 54 from 57.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 6

Step 5:
37 divided by 6 is 6 with a remainder of 1.
The next digit of our result is 6. 
Result so far: 9696.0
Deduct 36 from 37 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.

Moving on to step 6:
When dividing 10 by 6, we get 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 9696.1
If we subtract 6 from 10, we 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.

Advancing to step 7:
6 goes into 40 6 times with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 9696.16
If we take 36 away from 40, we end up 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.

Step 8:
6 goes into 40 6 times with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 9696.166
If we take 36 away from 40, we end up 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.

The quotient of the division is 9696.166, and the remainder is 0.0004.