We divide 335217 by 22
The aim is to understand the frequency of 22 in 335217.

On to step 1:
3 divided by 22 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 22

Moving on to step 2:
22 goes into 33 1 times with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 22 from 33 to get 11.
Include the next digit (5) from the dividend after 11, then repeat: 115 / 22

Moving on to step 3:
If we divide 115 by 22, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 15.0
Subtracting 110 from 115 leaves us with 5.
Fetch the next digit (2) from the dividend, attach it to 5 and continue: 52 / 22

Going ahead to step 4:
When dividing 52 by 22, we get 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 152.0
If we subtract 44 from 52, we get 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 22

Advancing to step 5:
81 divided by 22 is 3 with a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 1523.0
Subtract 66 from 81 to get 15.
Include the next digit (7) from the dividend after 15, then repeat: 157 / 22

Moving on to step 6:
If we divide 157 by 22, we get 7 and a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 15237.0
If we subtract 154 from 157, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
The number 22 fits into 30 1 times, leaving a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 15237.1
Deduct 22 from 30 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.

Going ahead to step 8:
80 divided by 22 is 3 with a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 15237.13
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:
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: 15237.136
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.

Let's proceed to step 10:
The number 22 fits into 80 3 times, leaving a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 15237.1363
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.

Going ahead to step 11:
When dividing 140 by 22, we get 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 15237.13636
If we take 132 away from 140, we end up 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.

Moving on to step 12:
If we divide 80 by 22, we get 3 and a remainder of 14.
The next digit of our result is 3. 
Result so far: 15237.136363
The remainder is 14 after subtracting 66 from 80.
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 13:
When dividing 140 by 22, we get 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 15237.1363636
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.

Let's proceed to step 14:
When dividing 80 by 22, we get 3 with a remainder of 14.
The number 3 becomes the next digit in our result. 
Result so far: 15237.13636363
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.

Our division results in 15237.13636363 with a remaining 1.4e-08.