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

Advancing to step 1:
If we divide 1 by 8, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 8

On to step 2:
The number 8 fits into 12 1 times, leaving a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 4 after subtracting 8 from 12.
Append the next digit (3) from the dividend to 4 and continue with: 43 / 8

Moving on to step 3:
8 can be fit into 43 5 times, resulting in a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 15.0
If we subtract 40 from 43, we get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 8

Going ahead to step 4:
8 goes into 31 3 times with a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 153.0
Subtract 24 from 31 to get 7.
Take the next digit (4) from the dividend and append it to 7, then repeat: 74 / 8

Advancing to step 5:
8 goes into 74 9 times with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 1539.0
Deduct 72 from 74 and we're left with 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 8

Going ahead to step 6:
If we divide 27 by 8, we get 3 and a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 15393.0
If we take 24 away from 27, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
8 can be fit into 30 3 times, resulting in a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 15393.3
Subtracting 24 from 30 leaves us with 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.
Use 7 as the next digit of our solution. 
Result so far: 15393.37
Subtracting 56 from 60 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:
8 goes into 40 5 times with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 15393.375
Deduct 40 from 40 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.

Step 10:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 15393.375
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.

Let's proceed to step 11:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 15393.375
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 final outcome is 15393.375, with a leftover of 0.0.