Let's divide 45174 by 22
The aim is to understand the frequency of 22 in 45174.

Moving on to step 1:
If we divide 4 by 22, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 22

On to step 2:
22 goes into 45 2 times with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 44 from 45 leaves us with 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 22

Step 3:
22 can be fit into 11 0 times, resulting in a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 20.0
The remainder is 11 after subtracting 0 from 11.
Include the next digit (7) from the dividend after 11, then repeat: 117 / 22

Advancing to step 4:
When dividing 117 by 22, we get 5 with a remainder of 7.
Write down 5 as next digit of the result. 
Result so far: 205.0
Deduct 110 from 117 and we're left with 7.
Fetch the next digit (4) from the dividend, attach it to 7 and continue: 74 / 22

On to step 5:
22 can be fit into 74 3 times, resulting in a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 2053.0
Subtracting 66 from 74 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 6:
22 goes into 80 3 times with a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 2053.3
Subtract 66 from 80 to 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.

Let's proceed to step 7:
When dividing 140 by 22, we get 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 2053.36
Deduct 132 from 140 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
22 goes into 80 3 times with a remainder of 14.
The next digit of our result is 3. 
Result so far: 2053.363
Subtracting 66 from 80 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
140 divided by 22 is 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 2053.3636
Deduct 132 from 140 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 10:
80 divided by 22 is 3 with a remainder of 14.
The number 3 becomes the next digit in our result. 
Result so far: 2053.36363
Subtract 66 from 80 to 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.

Advancing to step 11:
If we divide 140 by 22, we get 6 and a remainder of 8.
The next digit of our result is 6. 
Result so far: 2053.363636
If we subtract 132 from 140, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 12:
If we divide 80 by 22, we get 3 and a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 2053.3636363
If we take 66 away from 80, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 13:
22 can be fit into 140 6 times, resulting in a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 2053.36363636
The remainder is 8 after subtracting 132 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Our division results in 2053.36363636 with a remaining 8e-09.