Let's divide 797313 by 8
Let's see how many times 8 fits into 797313.

Moving on to step 1:
8 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 8

On to step 2:
8 can be fit into 79 9 times, resulting in a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 9.0
Deduct 72 from 79 and we're left with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 8

Step 3:
When dividing 77 by 8, we get 9 with a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 99.0
Subtract 72 from 77 to get 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 8

Let's proceed to step 4:
When dividing 53 by 8, we get 6 with a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 996.0
If we take 48 away from 53, we end up with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 8

Let's proceed to step 5:
When dividing 51 by 8, we get 6 with a remainder of 3.
Record the quotient 6 as the next digit in the result. 
Result so far: 9966.0
Subtracting 48 from 51 leaves us with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 8

Advancing to step 6:
8 can be fit into 33 4 times, resulting in a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 99664.0
If we take 32 away from 33, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead 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: 99664.1
If we take 8 away from 10, 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 8:
The number 8 fits into 20 2 times, leaving a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 99664.12
Subtracting 16 from 20 leaves us 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:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 99664.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.

Let's proceed to step 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 99664.125
Subtract 0 from 0 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.

Let's proceed to step 11:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 99664.125
Subtract 0 from 0 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.

The final outcome is 99664.125, with a leftover of 0.0.