We divide 9178337 by 8
The aim is to understand the frequency of 8 in 9178337.

Advancing to step 1:
If we divide 9 by 8, we get 1 and a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 1 after subtracting 8 from 9.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 8

Advancing to step 2:
When dividing 11 by 8, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Subtracting 8 from 11 leaves us with 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 8

Moving on to step 3:
8 goes into 37 4 times with a remainder of 5.
Record the quotient 4 as the next digit in the result. 
Result so far: 114.0
If we subtract 32 from 37, we get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 8

Moving on to step 4:
If we divide 58 by 8, we get 7 and a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 1147.0
If we take 56 away from 58, we end up with 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 8

Advancing to step 5:
8 goes into 23 2 times with a remainder of 7.
Write down 2 as next digit of the result. 
Result so far: 11472.0
If we take 16 away from 23, we end up with 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 8

On to step 6:
73 divided by 8 is 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 114729.0
The remainder is 1 after subtracting 72 from 73.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 8

Moving on to step 7:
17 divided by 8 is 2 with a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 1147292.0
If we subtract 16 from 17, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 8:
When dividing 10 by 8, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1147292.1
Subtract 8 from 10 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
8 can be fit into 20 2 times, resulting in a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 1147292.12
If we subtract 16 from 20, 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 10:
When dividing 40 by 8, we get 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 1147292.125
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.

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

Going ahead to step 12:
When dividing 0 by 8, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 1147292.125
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.

After the division, we end up with 1147292.125 and a remainder of 0.0.