We're dividing 158579 by 30 
The aim is to understand the frequency of 30 in 158579.

Advancing to step 1:
1 divided by 30 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 30

Going ahead to step 2:
15 divided by 30 is 0 with a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 15, we end up with 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 30

Step 3:
If we divide 158 by 30, we get 5 and a remainder of 8.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 150 away from 158, we end up with 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 30

Step 4:
The number 30 fits into 85 2 times, leaving a remainder of 25.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
If we take 60 away from 85, we end up with 25.
Grab the next digit (7) from the dividend, add it to 25, then carry on: 257 / 30

Moving on to step 5:
The number 30 fits into 257 8 times, leaving a remainder of 17.
The number 8 becomes the next digit in our result. 
Result so far: 528.0
If we subtract 240 from 257, we get 17.
Grab the next digit (9) from the dividend, add it to 17, then carry on: 179 / 30

Going ahead to step 6:
30 goes into 179 5 times with a remainder of 29.
Record the quotient 5 as the next digit in the result. 
Result so far: 5285.0
The remainder is 29 after subtracting 150 from 179.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 7:
When dividing 290 by 30, we get 9 with a remainder of 20.
Put 9 as the next digit of the answer. 
Result so far: 5285.9
Subtract 270 from 290 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
200 divided by 30 is 6 with a remainder of 20.
The number 6 becomes the next digit in our result. 
Result so far: 5285.96
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
When dividing 200 by 30, we get 6 with a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 5285.966
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Our division results in 5285.966 with a remaining 0.002.