We're dividing 781047 by 6 
Let's see how many times 6 fits into 781047.

Let's proceed to step 1:
When dividing 7 by 6, we get 1 with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 6 from 7, we get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 6

On to step 2:
6 can be fit into 18 3 times, resulting in a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtracting 18 from 18 leaves us with 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 6

On to step 3:
6 goes into 1 0 times with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 130.0
Subtract 0 from 1 to get 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 6

Step 4:
When dividing 10 by 6, we get 1 with a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 1301.0
Subtracting 6 from 10 leaves us with 4.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 6

Advancing to step 5:
The number 6 fits into 44 7 times, leaving a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 13017.0
If we take 42 away from 44, we end up with 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 6

On to step 6:
6 goes into 27 4 times with a remainder of 3.
The next digit of our result is 4. 
Result so far: 130174.0
If we subtract 24 from 27, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
30 divided by 6 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 130174.5
Subtract 30 from 30 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
The number 6 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 130174.5
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
0 divided by 6 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 130174.5
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 130174.5 and a remainder of 0.0.