Let's divide 330578 by 8
The aim is to understand the frequency of 8 in 330578.

Let's proceed to step 1:
8 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 8

On to step 2:
33 divided by 8 is 4 with a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 32 away from 33, we end up with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 8

Advancing to step 3:
10 divided by 8 is 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
If we subtract 8 from 10, we get 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 8

Let's proceed to step 4:
If we divide 25 by 8, we get 3 and a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 413.0
Deduct 24 from 25 and we're left with 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 8

Advancing to step 5:
8 can be fit into 17 2 times, resulting in a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 4132.0
The remainder is 1 after subtracting 16 from 17.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 8

On to step 6:
18 divided by 8 is 2 with a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 41322.0
Subtracting 16 from 18 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
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: 41322.2
Subtracting 16 from 20 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.

Advancing to step 8:
If we divide 40 by 8, we get 5 and a remainder of 0.
The next digit of our result is 5. 
Result so far: 41322.25
Subtract 40 from 40 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.

Moving on to step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 41322.25
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.

Advancing to step 10:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 41322.25
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.

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