We're dividing 99917697 by 322 
The aim is to understand the frequency of 322 in 99917697.

On to step 1:
If we divide 9 by 322, we get 0 and a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 322

Step 2:
If we divide 99 by 322, we get 0 and a remainder of 99.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 99, we get 99.
Grab the next digit (9) from the dividend, add it to 99, then carry on: 999 / 322

On to step 3:
When dividing 999 by 322, we get 3 with a remainder of 33.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 966 away from 999, we end up with 33.
Fetch the next digit (1) from the dividend, attach it to 33 and continue: 331 / 322

Moving on to step 4:
If we divide 331 by 322, we get 1 and a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Deduct 322 from 331 and we're left with 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 322

Advancing to step 5:
322 can be fit into 97 0 times, resulting in a remainder of 97.
Write down 0 as next digit of the result. 
Result so far: 310.0
The remainder is 97 after subtracting 0 from 97.
Grab the next digit (6) from the dividend, add it to 97, then carry on: 976 / 322

Going ahead to step 6:
322 goes into 976 3 times with a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 3103.0
Subtracting 966 from 976 leaves us with 10.
Append the next digit (9) from the dividend to 10 and continue with: 109 / 322

Advancing to step 7:
When dividing 109 by 322, we get 0 with a remainder of 109.
Record the quotient 0 as the next digit in the result. 
Result so far: 31030.0
The remainder is 109 after subtracting 0 from 109.
Bring next digit (7) of the dividend behind the 109 and repeat the process: 1097 / 322

Advancing to step 8:
If we divide 1097 by 322, we get 3 and a remainder of 131.
Record the quotient 3 as the next digit in the result. 
Result so far: 310303.0
If we subtract 966 from 1097, we get 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

Going ahead to step 9:
The number 322 fits into 1310 4 times, leaving a remainder of 22.
The next digit of our result is 4. 
Result so far: 310303.4
If we subtract 1288 from 1310, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 10:
322 goes into 220 0 times with a remainder of 220.
Put 0 as the next digit of the answer. 
Result so far: 310303.4
If we take 0 away from 220, we end up with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

On to step 11:
2200 divided by 322 is 6 with a remainder of 268.
Put 6 as the next digit of the answer. 
Result so far: 310303.406
The remainder is 268 after subtracting 1932 from 2200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

On to step 12:
When dividing 2680 by 322, we get 8 with a remainder of 104.
Put 8 as the next digit of the answer. 
Result so far: 310303.4068
If we subtract 2576 from 2680, we get 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Moving on to step 13:
When dividing 1040 by 322, we get 3 with a remainder of 74.
Record the quotient 3 as the next digit in the result. 
Result so far: 310303.40683
Deduct 966 from 1040 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Step 14:
740 divided by 322 is 2 with a remainder of 96.
Use 2 as the next digit of our solution. 
Result so far: 310303.406832
If we subtract 644 from 740, we get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

On to step 15:
960 divided by 322 is 2 with a remainder of 316.
Record the quotient 2 as the next digit in the result. 
Result so far: 310303.4068322
Subtract 644 from 960 to get 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

After the division, we end up with 310303.4068322 and a remainder of 3.16e-06.