We look at the division of 12208652 by 997 
The aim is to understand the frequency of 997 in 12208652.

Advancing to step 1:
1 divided by 997 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 997

Advancing to step 2:
The number 997 fits into 12 0 times, leaving a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Grab the next digit (2) from the dividend, add it to 12, then carry on: 122 / 997

Moving on to step 3:
The number 997 fits into 122 0 times, leaving a remainder of 122.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 122 leaves us with 122.
Bring next digit (0) of the dividend behind the 122 and repeat the process: 1220 / 997

Advancing to step 4:
When dividing 1220 by 997, we get 1 with a remainder of 223.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 997 from 1220 to get 223.
Append the next digit (8) from the dividend to 223 and continue with: 2238 / 997

On to step 5:
The number 997 fits into 2238 2 times, leaving a remainder of 244.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Deduct 1994 from 2238 and we're left with 244.
Append the next digit (6) from the dividend to 244 and continue with: 2446 / 997

Moving on to step 6:
If we divide 2446 by 997, we get 2 and a remainder of 452.
Write down 2 as next digit of the result. 
Result so far: 122.0
The remainder is 452 after subtracting 1994 from 2446.
Append the next digit (5) from the dividend to 452 and continue with: 4525 / 997

Moving on to step 7:
4525 divided by 997 is 4 with a remainder of 537.
Write down 4 as next digit of the result. 
Result so far: 1224.0
If we subtract 3988 from 4525, we get 537.
Include the next digit (2) from the dividend after 537, then repeat: 5372 / 997

Advancing to step 8:
5372 divided by 997 is 5 with a remainder of 387.
Put 5 as the next digit of the answer. 
Result so far: 12245.0
If we subtract 4985 from 5372, we get 387.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3870, and continue the process.

Moving on to step 9:
The number 997 fits into 3870 3 times, leaving a remainder of 879.
Put 3 as the next digit of the answer. 
Result so far: 12245.3
If we take 2991 away from 3870, we end up with 879.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8790, and continue the process.

Let's proceed to step 10:
997 goes into 8790 8 times with a remainder of 814.
Record the quotient 8 as the next digit in the result. 
Result so far: 12245.38
If we take 7976 away from 8790, we end up with 814.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8140, and continue the process.

Let's proceed to step 11:
The number 997 fits into 8140 8 times, leaving a remainder of 164.
Write down 8 as next digit of the result. 
Result so far: 12245.388
If we subtract 7976 from 8140, we get 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

The quotient of the division is 12245.388, and the remainder is 0.0164.