822821 ÷ 18 
The aim is to understand the frequency of 18 in 822821.

On to step 1:
18 goes into 8 0 times with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Take the next digit (2) from the dividend and append it to 8, then repeat: 82 / 18

Step 2:
When dividing 82 by 18, we get 4 with a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 72 from 82 to get 10.
Bring next digit (2) of the dividend behind the 10 and repeat the process: 102 / 18

Going ahead to step 3:
If we divide 102 by 18, we get 5 and a remainder of 12.
The next digit of our result is 5. 
Result so far: 45.0
If we take 90 away from 102, we end up with 12.
Append the next digit (8) from the dividend to 12 and continue with: 128 / 18

Going ahead to step 4:
If we divide 128 by 18, we get 7 and a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 457.0
Subtracting 126 from 128 leaves us with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 18

Let's proceed to step 5:
18 goes into 22 1 times with a remainder of 4.
The next digit of our result is 1. 
Result so far: 4571.0
Subtracting 18 from 22 leaves us with 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 18

Let's proceed to step 6:
The number 18 fits into 41 2 times, leaving a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 45712.0
If we take 36 away from 41, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
When dividing 50 by 18, we get 2 with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 45712.2
The remainder is 14 after subtracting 36 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 8:
18 goes into 140 7 times with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 45712.27
If we subtract 126 from 140, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 9:
When dividing 140 by 18, we get 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 45712.277
If we subtract 126 from 140, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The quotient of the division is 45712.277, and the remainder is 0.0014.