821171 divided by 30 
The aim is to understand the frequency of 30 in 821171.

Advancing to step 1:
8 divided by 30 is 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Append the next digit (2) from the dividend to 8 and continue with: 82 / 30

Advancing to step 2:
30 goes into 82 2 times with a remainder of 22.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 60 from 82 to get 22.
Append the next digit (1) from the dividend to 22 and continue with: 221 / 30

Let's proceed to step 3:
30 can be fit into 221 7 times, resulting in a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 27.0
Deduct 210 from 221 and we're left with 11.
Take the next digit (1) from the dividend and append it to 11, then repeat: 111 / 30

On to step 4:
30 goes into 111 3 times with a remainder of 21.
Put 3 as the next digit of the answer. 
Result so far: 273.0
If we take 90 away from 111, we end up with 21.
Bring next digit (7) of the dividend behind the 21 and repeat the process: 217 / 30

Moving on to step 5:
If we divide 217 by 30, we get 7 and a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 2737.0
Subtracting 210 from 217 leaves us with 7.
Bring next digit (1) of the dividend behind the 7 and repeat the process: 71 / 30

Let's proceed to step 6:
When dividing 71 by 30, we get 2 with a remainder of 11.
Put 2 as the next digit of the answer. 
Result so far: 27372.0
The remainder is 11 after subtracting 60 from 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
110 divided by 30 is 3 with a remainder of 20.
Write down 3 as next digit of the result. 
Result so far: 27372.3
Deduct 90 from 110 and we're left 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.

Advancing to step 8:
If we divide 200 by 30, we get 6 and a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 27372.36
Deduct 180 from 200 and we're left 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.

Moving on to step 9:
When dividing 200 by 30, we get 6 with a remainder of 20.
Write down 6 as next digit of the result. 
Result so far: 27372.366
The remainder is 20 after subtracting 180 from 200.
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 outcome is 27372.366, with a leftover of 0.002.