641785 divided by 22 
The aim is to understand the frequency of 22 in 641785.

Advancing to step 1:
If we divide 6 by 22, we get 0 and a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Bring next digit (4) of the dividend behind the 6 and repeat the process: 64 / 22

On to step 2:
22 goes into 64 2 times with a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 44 from 64 leaves us with 20.
Bring next digit (1) of the dividend behind the 20 and repeat the process: 201 / 22

Step 3:
22 can be fit into 201 9 times, resulting in a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
If we take 198 away from 201, we end up with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 22

Step 4:
37 divided by 22 is 1 with a remainder of 15.
Put 1 as the next digit of the answer. 
Result so far: 291.0
The remainder is 15 after subtracting 22 from 37.
Fetch the next digit (8) from the dividend, attach it to 15 and continue: 158 / 22

Let's proceed to step 5:
22 goes into 158 7 times with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 2917.0
If we subtract 154 from 158, we get 4.
Append the next digit (5) from the dividend to 4 and continue with: 45 / 22

Moving on to step 6:
22 goes into 45 2 times with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 29172.0
If we take 44 away from 45, 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.

On to step 7:
22 goes into 10 0 times with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 29172.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
100 divided by 22 is 4 with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 29172.04
The remainder is 12 after subtracting 88 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
120 divided by 22 is 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 29172.045
The remainder is 10 after subtracting 110 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 10:
100 divided by 22 is 4 with a remainder of 12.
The next digit of our result is 4. 
Result so far: 29172.0454
Subtracting 88 from 100 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 11:
The number 22 fits into 120 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 29172.04545
Deduct 110 from 120 and we're left 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 12:
If we divide 100 by 22, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 29172.045454
The remainder is 12 after subtracting 88 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 13:
22 goes into 120 5 times with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 29172.0454545
If we subtract 110 from 120, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 14:
If we divide 100 by 22, we get 4 and a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 29172.04545454
If we subtract 88 from 100, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 29172.04545454 with a remaining 1.2e-08.