We look at the division of 351316 by 8 
The aim is to understand the frequency of 8 in 351316.

Advancing to step 1:
8 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 8

On to step 2:
8 goes into 35 4 times with a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we take 32 away from 35, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 8

On to step 3:
31 divided by 8 is 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 43.0
Deduct 24 from 31 and we're left with 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 8

Step 4:
8 goes into 73 9 times with a remainder of 1.
The next digit of our result is 9. 
Result so far: 439.0
Subtract 72 from 73 to get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 8

Let's proceed to step 5:
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: 4391.0
Subtracting 8 from 11 leaves us with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 8

On to step 6:
When dividing 36 by 8, we get 4 with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 43914.0
If we subtract 32 from 36, we 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.

On to step 7:
40 divided by 8 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 43914.5
If we take 40 away from 40, 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.

Advancing to step 8:
0 divided by 8 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 43914.5
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.

Moving on to step 9:
8 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 43914.5
Subtracting 0 from 0 leaves us 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 result is 43914.5 with a remainder of 0.0.