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

Advancing to step 1:
30 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 30

Moving on to step 2:
The number 30 fits into 51 1 times, leaving a remainder of 21.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 30 from 51 leaves us with 21.
Append the next digit (2) from the dividend to 21 and continue with: 212 / 30

On to step 3:
When dividing 212 by 30, we get 7 with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 17.0
Subtracting 210 from 212 leaves us with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 30

Step 4:
The number 30 fits into 21 0 times, leaving a remainder of 21.
The next digit of our result is 0. 
Result so far: 170.0
Subtracting 0 from 21 leaves us with 21.
Bring next digit (4) of the dividend behind the 21 and repeat the process: 214 / 30

Let's proceed to step 5:
If we divide 214 by 30, we get 7 and a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 1707.0
The remainder is 4 after subtracting 210 from 214.
Append the next digit (6) from the dividend to 4 and continue with: 46 / 30

On to step 6:
The number 30 fits into 46 1 times, leaving a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 17071.0
Subtract 30 from 46 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 7:
30 can be fit into 160 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 17071.5
Deduct 150 from 160 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.

Let's proceed to step 8:
The number 30 fits into 100 3 times, leaving a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 17071.53
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.

Let's proceed to step 9:
If we divide 100 by 30, we get 3 and a remainder of 10.
Record the quotient 3 as the next digit in the result. 
Result so far: 17071.533
The remainder is 10 after subtracting 90 from 100.
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 17071.533, with a leftover of 0.001.