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

Moving on to step 1:
8 can be fit into 9 1 times, resulting in a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 1 after subtracting 8 from 9.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 8

Moving on to step 2:
8 goes into 13 1 times with a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtracting 8 from 13 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 8

Moving on to step 3:
8 can be fit into 58 7 times, resulting in a remainder of 2.
The next digit of our result is 7. 
Result so far: 117.0
If we subtract 56 from 58, we get 2.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 8

Moving on to step 4:
When dividing 20 by 8, we get 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 1172.0
If we subtract 16 from 20, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 8

Step 5:
If we divide 40 by 8, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 11725.0
Deduct 40 from 40 and we're left with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 8

Moving on to step 6:
8 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 117250.0
The remainder is 4 after subtracting 0 from 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:
If we divide 40 by 8, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 117250.5
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.

Going ahead to step 8:
8 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 117250.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.

On to step 9:
If we divide 0 by 8, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 117250.5
If we subtract 0 from 0, 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.

The final result is 117250.5 with a remainder of 0.0.