315951 divided by 8 
The aim is to understand the frequency of 8 in 315951.

Moving on to step 1:
8 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 8

Step 2:
When dividing 31 by 8, we get 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 24 away from 31, we end up with 7.
Fetch the next digit (5) from the dividend, attach it to 7 and continue: 75 / 8

Moving on to step 3:
75 divided by 8 is 9 with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 39.0
If we subtract 72 from 75, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 8

Let's proceed to step 4:
The number 8 fits into 39 4 times, leaving a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 394.0
Subtracting 32 from 39 leaves us with 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 8

Moving on to step 5:
8 goes into 75 9 times with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 3949.0
Deduct 72 from 75 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 8

Step 6:
31 divided by 8 is 3 with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 39493.0
Subtract 24 from 31 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
70 divided by 8 is 8 with a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 39493.8
Subtract 64 from 70 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
60 divided by 8 is 7 with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 39493.87
Deduct 56 from 60 and we're left 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.

Let's proceed to step 9:
8 goes into 40 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 39493.875
The remainder is 0 after subtracting 40 from 40.
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 10:
0 divided by 8 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 39493.875
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.

Moving on to step 11:
When dividing 0 by 8, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 39493.875
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.

Our division results in 39493.875 with a remaining 0.0.