Let's divide 366782 by 6
We want to divide 366782 by 6.

Step 1:
If we divide 3 by 6, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 6

Advancing to step 2:
When dividing 36 by 6, we get 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtracting 36 from 36 leaves us with 0.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 6

On to step 3:
6 can be fit into 6 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 61.0
The remainder is 0 after subtracting 6 from 6.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 6

Going ahead to step 4:
6 can be fit into 7 1 times, resulting in a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 611.0
If we subtract 6 from 7, we get 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 6

Going ahead to step 5:
The number 6 fits into 18 3 times, leaving a remainder of 0.
The next digit of our result is 3. 
Result so far: 6113.0
The remainder is 0 after subtracting 18 from 18.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 6

Moving on to step 6:
When dividing 2 by 6, we get 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 61130.0
If we subtract 0 from 2, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
If we divide 20 by 6, we get 3 and a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 61130.3
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
If we divide 20 by 6, we get 3 and a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 61130.33
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 61130.33 and a remainder of 0.002.