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

On to step 1:
18 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 18

Step 2:
37 divided by 18 is 2 with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 36 from 37 to get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 18

Going ahead to step 3:
18 can be fit into 11 0 times, resulting in a remainder of 11.
The next digit of our result is 0. 
Result so far: 20.0
Deduct 0 from 11 and we're left with 11.
Append the next digit (7) from the dividend to 11 and continue with: 117 / 18

Step 4:
18 goes into 117 6 times with a remainder of 9.
Use 6 as the next digit of our solution. 
Result so far: 206.0
Subtract 108 from 117 to get 9.
Bring next digit (7) of the dividend behind the 9 and repeat the process: 97 / 18

On to step 5:
18 can be fit into 97 5 times, resulting in a remainder of 7.
Write down 5 as next digit of the result. 
Result so far: 2065.0
If we subtract 90 from 97, we get 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 18

Advancing to step 6:
When dividing 79 by 18, we get 4 with a remainder of 7.
Use 4 as the next digit of our solution. 
Result so far: 20654.0
If we take 72 away from 79, we end up 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.

Moving on to step 7:
18 can be fit into 70 3 times, resulting in a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 20654.3
If we take 54 away from 70, we end up with 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 8:
The number 18 fits into 160 8 times, leaving a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 20654.38
Deduct 144 from 160 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 9:
The number 18 fits into 160 8 times, leaving a remainder of 16.
The next digit of our result is 8. 
Result so far: 20654.388
If we subtract 144 from 160, we 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.

After the division, we end up with 20654.388 and a remainder of 0.0016.