581667 ÷ 30 
The aim is to understand the frequency of 30 in 581667.

Going ahead to step 1:
5 divided by 30 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 30

On to step 2:
30 can be fit into 58 1 times, resulting in a remainder of 28.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 30 from 58 to get 28.
Fetch the next digit (1) from the dividend, attach it to 28 and continue: 281 / 30

On to step 3:
When dividing 281 by 30, we get 9 with a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 19.0
The remainder is 11 after subtracting 270 from 281.
Bring next digit (6) of the dividend behind the 11 and repeat the process: 116 / 30

Let's proceed to step 4:
The number 30 fits into 116 3 times, leaving a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 193.0
Deduct 90 from 116 and we're left with 26.
Append the next digit (6) from the dividend to 26 and continue with: 266 / 30

Going ahead to step 5:
30 can be fit into 266 8 times, resulting in a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 1938.0
Deduct 240 from 266 and we're left with 26.
Fetch the next digit (7) from the dividend, attach it to 26 and continue: 267 / 30

Going ahead to step 6:
267 divided by 30 is 8 with a remainder of 27.
Record the quotient 8 as the next digit in the result. 
Result so far: 19388.0
The remainder is 27 after subtracting 240 from 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 7:
If we divide 270 by 30, we get 9 and a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 19388.9
If we subtract 270 from 270, 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 8:
If we divide 0 by 30, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19388.9
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.

On to step 9:
If we divide 0 by 30, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 19388.9
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.

Our division results in 19388.9 with a remaining 0.0.