We're dividing 17087923 by 997 
The aim is to understand the frequency of 997 in 17087923.

On to step 1:
When dividing 1 by 997, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 997

Step 2:
If we divide 17 by 997, we get 0 and a remainder of 17.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 17, we end up with 17.
Fetch the next digit (0) from the dividend, attach it to 17 and continue: 170 / 997

On to step 3:
997 can be fit into 170 0 times, resulting in a remainder of 170.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 170 leaves us with 170.
Include the next digit (8) from the dividend after 170, then repeat: 1708 / 997

Moving on to step 4:
997 goes into 1708 1 times with a remainder of 711.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 711 after subtracting 997 from 1708.
Bring next digit (7) of the dividend behind the 711 and repeat the process: 7117 / 997

Going ahead to step 5:
When dividing 7117 by 997, we get 7 with a remainder of 138.
Put 7 as the next digit of the answer. 
Result so far: 17.0
The remainder is 138 after subtracting 6979 from 7117.
Append the next digit (9) from the dividend to 138 and continue with: 1389 / 997

Advancing to step 6:
The number 997 fits into 1389 1 times, leaving a remainder of 392.
Put 1 as the next digit of the answer. 
Result so far: 171.0
Subtract 997 from 1389 to get 392.
Grab the next digit (2) from the dividend, add it to 392, then carry on: 3922 / 997

On to step 7:
The number 997 fits into 3922 3 times, leaving a remainder of 931.
The next digit of our result is 3. 
Result so far: 1713.0
Deduct 2991 from 3922 and we're left with 931.
Grab the next digit (3) from the dividend, add it to 931, then carry on: 9313 / 997

On to step 8:
997 can be fit into 9313 9 times, resulting in a remainder of 340.
Put 9 as the next digit of the answer. 
Result so far: 17139.0
Subtract 8973 from 9313 to get 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

On to step 9:
997 can be fit into 3400 3 times, resulting in a remainder of 409.
Write down 3 as next digit of the result. 
Result so far: 17139.3
If we take 2991 away from 3400, we end up with 409.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

On to step 10:
If we divide 4090 by 997, we get 4 and a remainder of 102.
The number 4 becomes the next digit in our result. 
Result so far: 17139.34
If we take 3988 away from 4090, we end up with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Step 11:
997 goes into 1020 1 times with a remainder of 23.
The next digit of our result is 1. 
Result so far: 17139.341
If we take 997 away from 1020, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 12:
The number 997 fits into 230 0 times, leaving a remainder of 230.
Put 0 as the next digit of the answer. 
Result so far: 17139.341
If we take 0 away from 230, we end up with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Step 13:
2300 divided by 997 is 2 with a remainder of 306.
The number 2 becomes the next digit in our result. 
Result so far: 17139.34102
Subtracting 1994 from 2300 leaves us with 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Let's proceed to step 14:
When dividing 3060 by 997, we get 3 with a remainder of 69.
Use 3 as the next digit of our solution. 
Result so far: 17139.341023
Subtracting 2991 from 3060 leaves us with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

On to step 15:
If we divide 690 by 997, we get 0 and a remainder of 690.
The next digit of our result is 0. 
Result so far: 17139.341023
If we take 0 away from 690, we end up with 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6900, and continue the process.

Advancing to step 16:
997 can be fit into 6900 6 times, resulting in a remainder of 918.
Write down 6 as next digit of the result. 
Result so far: 17139.34102306
Subtracting 5982 from 6900 leaves us with 918.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9180, and continue the process.

The quotient of the division is 17139.34102306, and the remainder is 9.18e-07.