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

Going ahead to step 1:
If we divide 3 by 8, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 8

Moving on to step 2:
39 divided by 8 is 4 with a remainder of 7.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 32 from 39 and we're left with 7.
Include the next digit (6) from the dividend after 7, then repeat: 76 / 8

Let's proceed to step 3:
The number 8 fits into 76 9 times, leaving a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 49.0
If we take 72 away from 76, we end up with 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 8

On to step 4:
When dividing 42 by 8, we get 5 with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 495.0
If we take 40 away from 42, we end up with 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 8

On to step 5:
8 can be fit into 23 2 times, resulting in a remainder of 7.
The next digit of our result is 2. 
Result so far: 4952.0
If we subtract 16 from 23, we get 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 8

Step 6:
73 divided by 8 is 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 49529.0
If we take 72 away from 73, we end up with 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 7:
10 divided by 8 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 49529.1
If we subtract 8 from 10, we 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 8:
The number 8 fits into 20 2 times, leaving a remainder of 4.
The next digit of our result is 2. 
Result so far: 49529.12
Subtract 16 from 20 to 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.

Advancing to step 9:
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: 49529.125
If we subtract 40 from 40, 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.

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

Step 11:
When dividing 0 by 8, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 49529.125
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.

The final outcome is 49529.125, with a leftover of 0.0.