380215 divided by 18 
The aim is to understand the frequency of 18 in 380215.

Advancing to step 1:
3 divided by 18 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 18

Step 2:
The number 18 fits into 38 2 times, leaving a remainder of 2.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 2 after subtracting 36 from 38.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 18

Advancing to step 3:
18 can be fit into 20 1 times, resulting in a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Deduct 18 from 20 and we're left with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 18

Advancing to step 4:
If we divide 22 by 18, we get 1 and a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 211.0
If we subtract 18 from 22, we get 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 18

Advancing to step 5:
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: 2112.0
If we subtract 36 from 41, we get 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 18

On to step 6:
When dividing 55 by 18, we get 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 21123.0
If we take 54 away from 55, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
18 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 21123.0
If we take 0 away from 10, 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.

Step 8:
The number 18 fits into 100 5 times, leaving a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 21123.05
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.

Step 9:
100 divided by 18 is 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 21123.055
Subtracting 90 from 100 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.

Our division results in 21123.055 with a remaining 0.001.