We're dividing 581362 by 6 
Our goal is to divide 581362 by 6.

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

Let's proceed to step 2:
If we divide 58 by 6, we get 9 and a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 9.0
The remainder is 4 after subtracting 54 from 58.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 6

Going ahead to step 3:
When dividing 41 by 6, we get 6 with a remainder of 5.
Write down 6 as next digit of the result. 
Result so far: 96.0
Subtracting 36 from 41 leaves us with 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 6

Let's proceed to step 4:
53 divided by 6 is 8 with a remainder of 5.
Record the quotient 8 as the next digit in the result. 
Result so far: 968.0
If we take 48 away from 53, we end up with 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 6

Moving on to step 5:
When dividing 56 by 6, we get 9 with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 9689.0
Subtracting 54 from 56 leaves us with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 6

Step 6:
22 divided by 6 is 3 with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 96893.0
If we subtract 18 from 22, 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.

Step 7:
If we divide 40 by 6, we get 6 and a remainder of 4.
The next digit of our result is 6. 
Result so far: 96893.6
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:
40 divided by 6 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 96893.66
If we subtract 36 from 40, 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.

The quotient of the division is 96893.66, and the remainder is 0.004.