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

Going ahead to step 1:
997 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 997

Moving on to step 2:
997 goes into 13 0 times with a remainder of 13.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 13 after subtracting 0 from 13.
Bring next digit (6) of the dividend behind the 13 and repeat the process: 136 / 997

Step 3:
When dividing 136 by 997, we get 0 with a remainder of 136.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 136 to get 136.
Append the next digit (1) from the dividend to 136 and continue with: 1361 / 997

Going ahead to step 4:
The number 997 fits into 1361 1 times, leaving a remainder of 364.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 997 from 1361 to get 364.
Fetch the next digit (0) from the dividend, attach it to 364 and continue: 3640 / 997

Advancing to step 5:
If we divide 3640 by 997, we get 3 and a remainder of 649.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Subtracting 2991 from 3640 leaves us with 649.
Append the next digit (0) from the dividend to 649 and continue with: 6490 / 997

Step 6:
997 goes into 6490 6 times with a remainder of 508.
Record the quotient 6 as the next digit in the result. 
Result so far: 136.0
Subtracting 5982 from 6490 leaves us with 508.
Grab the next digit (1) from the dividend, add it to 508, then carry on: 5081 / 997

Going ahead to step 7:
997 can be fit into 5081 5 times, resulting in a remainder of 96.
Write down 5 as next digit of the result. 
Result so far: 1365.0
Deduct 4985 from 5081 and we're left with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 8:
The number 997 fits into 960 0 times, leaving a remainder of 960.
Use 0 as the next digit of our solution. 
Result so far: 1365.0
If we take 0 away from 960, we end up with 960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9600, and continue the process.

Moving on to step 9:
The number 997 fits into 9600 9 times, leaving a remainder of 627.
The number 9 becomes the next digit in our result. 
Result so far: 1365.09
If we take 8973 away from 9600, we end up with 627.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6270, and continue the process.

Moving on to step 10:
6270 divided by 997 is 6 with a remainder of 288.
Write down 6 as next digit of the result. 
Result so far: 1365.096
Deduct 5982 from 6270 and we're left with 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

On to step 11:
If we divide 2880 by 997, we get 2 and a remainder of 886.
Write down 2 as next digit of the result. 
Result so far: 1365.0962
Deduct 1994 from 2880 and we're left with 886.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8860, and continue the process.

Going ahead to step 12:
997 goes into 8860 8 times with a remainder of 884.
Put 8 as the next digit of the answer. 
Result so far: 1365.09628
Subtract 7976 from 8860 to get 884.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8840, and continue the process.

On to step 13:
997 goes into 8840 8 times with a remainder of 864.
The next digit of our result is 8. 
Result so far: 1365.096288
Subtract 7976 from 8840 to get 864.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8640, and continue the process.

Our division results in 1365.096288 with a remaining 8.64e-05.