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

Let's proceed to step 1:
The number 30 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 30

Step 2:
30 goes into 15 0 times with a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Grab the next digit (0) from the dividend, add it to 15, then carry on: 150 / 30

Advancing to step 3:
30 can be fit into 150 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we take 150 away from 150, we end up with 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 30

On to step 4:
When dividing 1 by 30, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 30

Going ahead to step 5:
The number 30 fits into 16 0 times, leaving a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 500.0
If we take 0 away from 16, we end up with 16.
Grab the next digit (1) from the dividend, add it to 16, then carry on: 161 / 30

Going ahead to step 6:
30 can be fit into 161 5 times, resulting in a remainder of 11.
The next digit of our result is 5. 
Result so far: 5005.0
Deduct 150 from 161 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
If we divide 110 by 30, we get 3 and a remainder of 20.
The next digit of our result is 3. 
Result so far: 5005.3
Subtracting 90 from 110 leaves us 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.

Let's proceed to step 8:
30 goes into 200 6 times with a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 5005.36
Subtract 180 from 200 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.

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

The final result is 5005.366 with a remainder of 0.002.