Let's divide 794257 by 8
We're looking to find how many times 8 goes into 794257.

Going ahead to step 1:
8 goes into 7 0 times with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 8

Moving on to step 2:
If we divide 79 by 8, we get 9 and a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we take 72 away from 79, we end up with 7.
Append the next digit (4) from the dividend to 7 and continue with: 74 / 8

Going ahead to step 3:
The number 8 fits into 74 9 times, leaving a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 99.0
Deduct 72 from 74 and we're left with 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 8

Going ahead to step 4:
The number 8 fits into 22 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 992.0
The remainder is 6 after subtracting 16 from 22.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 8

Advancing to step 5:
8 can be fit into 65 8 times, resulting in a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 9928.0
If we subtract 64 from 65, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 8

Let's proceed to step 6:
When dividing 17 by 8, we get 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 99282.0
The remainder is 1 after subtracting 16 from 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
If we divide 10 by 8, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 99282.1
If we subtract 8 from 10, 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.

Let's proceed to step 8:
If we divide 20 by 8, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 99282.12
If we take 16 away from 20, 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.

Going ahead to step 9:
8 can be fit into 40 5 times, resulting in a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 99282.125
Subtract 40 from 40 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.

Moving on to step 10:
8 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 99282.125
If we take 0 away from 0, we end up 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.

Going ahead to step 11:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 99282.125
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.

The quotient of the division is 99282.125, and the remainder is 0.0.