Let's divide 971836 by 8
The aim is to understand the frequency of 8 in 971836.

Step 1:
8 goes into 9 1 times with a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 1 after subtracting 8 from 9.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 8

Step 2:
17 divided by 8 is 2 with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtracting 16 from 17 leaves us with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 8

Going ahead to step 3:
When dividing 11 by 8, we get 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 121.0
If we take 8 away from 11, we end up with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 8

Let's proceed to step 4:
The number 8 fits into 38 4 times, leaving a remainder of 6.
The next digit of our result is 4. 
Result so far: 1214.0
Subtracting 32 from 38 leaves us with 6.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 8

Step 5:
The number 8 fits into 63 7 times, leaving a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 12147.0
Deduct 56 from 63 and we're left with 7.
Grab the next digit (6) from the dividend, add it to 7, then carry on: 76 / 8

Going ahead to step 6:
8 can be fit into 76 9 times, resulting in a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 121479.0
Subtract 72 from 76 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
When dividing 40 by 8, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 121479.5
If we subtract 40 from 40, 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.

Step 8:
When dividing 0 by 8, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 121479.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 121479.5
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.

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