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

Let's proceed to step 1:
9 divided by 997 is 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 997

On to step 2:
If we divide 99 by 997, 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.
Include the next digit (1) from the dividend after 99, then repeat: 991 / 997

Moving on to step 3:
991 divided by 997 is 0 with a remainder of 991.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 991, we end up with 991.
Append the next digit (2) from the dividend to 991 and continue with: 9912 / 997

Moving on to step 4:
If we divide 9912 by 997, we get 9 and a remainder of 939.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 8973 from 9912, we get 939.
Bring next digit (4) of the dividend behind the 939 and repeat the process: 9394 / 997

Going ahead to step 5:
997 goes into 9394 9 times with a remainder of 421.
The next digit of our result is 9. 
Result so far: 99.0
Subtract 8973 from 9394 to get 421.
Take the next digit (0) from the dividend and append it to 421, then repeat: 4210 / 997

Moving on to step 6:
997 goes into 4210 4 times with a remainder of 222.
Use 4 as the next digit of our solution. 
Result so far: 994.0
If we subtract 3988 from 4210, we get 222.
Include the next digit (9) from the dividend after 222, then repeat: 2229 / 997

Step 7:
If we divide 2229 by 997, we get 2 and a remainder of 235.
Put 2 as the next digit of the answer. 
Result so far: 9942.0
Subtracting 1994 from 2229 leaves us with 235.
Fetch the next digit (0) from the dividend, attach it to 235 and continue: 2350 / 997

Let's proceed to step 8:
997 goes into 2350 2 times with a remainder of 356.
The next digit of our result is 2. 
Result so far: 99422.0
If we take 1994 away from 2350, we end up with 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

On to step 9:
When dividing 3560 by 997, we get 3 with a remainder of 569.
Write down 3 as next digit of the result. 
Result so far: 99422.3
Deduct 2991 from 3560 and we're left with 569.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5690, and continue the process.

On to step 10:
5690 divided by 997 is 5 with a remainder of 705.
Use 5 as the next digit of our solution. 
Result so far: 99422.35
If we subtract 4985 from 5690, we get 705.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7050, and continue the process.

Moving on to step 11:
7050 divided by 997 is 7 with a remainder of 71.
Write down 7 as next digit of the result. 
Result so far: 99422.357
If we take 6979 away from 7050, we end up with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Let's proceed to step 12:
If we divide 710 by 997, we get 0 and a remainder of 710.
The number 0 becomes the next digit in our result. 
Result so far: 99422.357
If we subtract 0 from 710, we get 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

Moving on to step 13:
If we divide 7100 by 997, we get 7 and a remainder of 121.
Write down 7 as next digit of the result. 
Result so far: 99422.35707
Subtracting 6979 from 7100 leaves us with 121.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1210, and continue the process.

Let's proceed to step 14:
997 can be fit into 1210 1 times, resulting in a remainder of 213.
The number 1 becomes the next digit in our result. 
Result so far: 99422.357071
If we take 997 away from 1210, we end up with 213.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2130, and continue the process.

Step 15:
997 can be fit into 2130 2 times, resulting in a remainder of 136.
Put 2 as the next digit of the answer. 
Result so far: 99422.3570712
If we take 1994 away from 2130, we end up with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Moving on to step 16:
If we divide 1360 by 997, we get 1 and a remainder of 363.
Put 1 as the next digit of the answer. 
Result so far: 99422.35707121
The remainder is 363 after subtracting 997 from 1360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3630, and continue the process.

After the division, we end up with 99422.35707121 and a remainder of 3.63e-07.