We look at the division of 870487 by 30 
The aim is to understand the frequency of 30 in 870487.

Moving on to step 1:
If we divide 8 by 30, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 30

Advancing to step 2:
The number 30 fits into 87 2 times, leaving a remainder of 27.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 60 from 87, we get 27.
Include the next digit (0) from the dividend after 27, then repeat: 270 / 30

Moving on to step 3:
When dividing 270 by 30, we get 9 with a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
The remainder is 0 after subtracting 270 from 270.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 30

Let's proceed to step 4:
30 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 290.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 30

Let's proceed to step 5:
The number 30 fits into 48 1 times, leaving a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 2901.0
Deduct 30 from 48 and we're left with 18.
Fetch the next digit (7) from the dividend, attach it to 18 and continue: 187 / 30

On to step 6:
30 can be fit into 187 6 times, resulting in a remainder of 7.
Record the quotient 6 as the next digit in the result. 
Result so far: 29016.0
Subtracting 180 from 187 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
When dividing 70 by 30, we get 2 with a remainder of 10.
Record the quotient 2 as the next digit in the result. 
Result so far: 29016.2
Subtracting 60 from 70 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 can be fit into 100 3 times, resulting in a remainder of 10.
Put 3 as the next digit of the answer. 
Result so far: 29016.23
Subtract 90 from 100 to 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.

Going ahead to step 9:
When dividing 100 by 30, we get 3 with a remainder of 10.
Use 3 as the next digit of our solution. 
Result so far: 29016.233
If we take 90 away from 100, we end up 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.

The quotient of the division is 29016.233, and the remainder is 0.001.