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

Step 1:
6 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 6

Moving on to step 2:
The number 6 fits into 24 4 times, leaving a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 4.0
Deduct 24 from 24 and we're left with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 6

Step 3:
5 divided by 6 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 40.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 6

Step 4:
If we divide 58 by 6, we get 9 and a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 409.0
Subtract 54 from 58 to get 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 6

Going ahead to step 5:
When dividing 46 by 6, we get 7 with a remainder of 4.
The next digit of our result is 7. 
Result so far: 4097.0
The remainder is 4 after subtracting 42 from 46.
Append the next digit (4) from the dividend to 4 and continue with: 44 / 6

Advancing to step 6:
When dividing 44 by 6, we get 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 40977.0
If we take 42 away from 44, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
20 divided by 6 is 3 with a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 40977.3
If we subtract 18 from 20, 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 8:
20 divided by 6 is 3 with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 40977.33
If we subtract 18 from 20, 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.

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