Let's divide 421789 by 30
The aim is to understand the frequency of 30 in 421789.

Going ahead to step 1:
The number 30 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 30

On to step 2:
If we divide 42 by 30, we get 1 and a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 30 away from 42, we end up with 12.
Include the next digit (1) from the dividend after 12, then repeat: 121 / 30

Moving on to step 3:
When dividing 121 by 30, we get 4 with a remainder of 1.
The next digit of our result is 4. 
Result so far: 14.0
If we subtract 120 from 121, we get 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 30

Going ahead to step 4:
17 divided by 30 is 0 with a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 140.0
Subtracting 0 from 17 leaves us with 17.
Append the next digit (8) from the dividend to 17 and continue with: 178 / 30

On to step 5:
When dividing 178 by 30, we get 5 with a remainder of 28.
The next digit of our result is 5. 
Result so far: 1405.0
Deduct 150 from 178 and we're left with 28.
Append the next digit (9) from the dividend to 28 and continue with: 289 / 30

Let's proceed to step 6:
30 can be fit into 289 9 times, resulting in a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 14059.0
Deduct 270 from 289 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 7:
30 goes into 190 6 times with a remainder of 10.
Put 6 as the next digit of the answer. 
Result so far: 14059.6
Subtracting 180 from 190 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
30 goes into 100 3 times with a remainder of 10.
Use 3 as the next digit of our solution. 
Result so far: 14059.63
Deduct 90 from 100 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 9:
100 divided by 30 is 3 with a remainder of 10.
The next digit of our result is 3. 
Result so far: 14059.633
If we subtract 90 from 100, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final outcome is 14059.633, with a leftover of 0.001.