Let's divide 50020914 by 997
The aim is to understand the frequency of 997 in 50020914.

Step 1:
The number 997 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 997

Moving on to step 2:
When dividing 50 by 997, we get 0 with a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Fetch the next digit (0) from the dividend, attach it to 50 and continue: 500 / 997

Advancing to step 3:
When dividing 500 by 997, we get 0 with a remainder of 500.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 500, we get 500.
Bring next digit (2) of the dividend behind the 500 and repeat the process: 5002 / 997

Advancing to step 4:
If we divide 5002 by 997, we get 5 and a remainder of 17.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we subtract 4985 from 5002, we get 17.
Fetch the next digit (0) from the dividend, attach it to 17 and continue: 170 / 997

Going ahead to step 5:
The number 997 fits into 170 0 times, leaving a remainder of 170.
Put 0 as the next digit of the answer. 
Result so far: 50.0
The remainder is 170 after subtracting 0 from 170.
Include the next digit (9) from the dividend after 170, then repeat: 1709 / 997

Moving on to step 6:
997 goes into 1709 1 times with a remainder of 712.
Use 1 as the next digit of our solution. 
Result so far: 501.0
Subtract 997 from 1709 to get 712.
Bring next digit (1) of the dividend behind the 712 and repeat the process: 7121 / 997

Step 7:
When dividing 7121 by 997, we get 7 with a remainder of 142.
Record the quotient 7 as the next digit in the result. 
Result so far: 5017.0
If we take 6979 away from 7121, we end up with 142.
Grab the next digit (4) from the dividend, add it to 142, then carry on: 1424 / 997

On to step 8:
If we divide 1424 by 997, we get 1 and a remainder of 427.
Write down 1 as next digit of the result. 
Result so far: 50171.0
If we subtract 997 from 1424, we get 427.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4270, and continue the process.

Step 9:
4270 divided by 997 is 4 with a remainder of 282.
Use 4 as the next digit of our solution. 
Result so far: 50171.4
The remainder is 282 after subtracting 3988 from 4270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2820, and continue the process.

Advancing to step 10:
When dividing 2820 by 997, we get 2 with a remainder of 826.
Write down 2 as next digit of the result. 
Result so far: 50171.42
If we subtract 1994 from 2820, we get 826.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8260, and continue the process.

Moving on to step 11:
8260 divided by 997 is 8 with a remainder of 284.
The number 8 becomes the next digit in our result. 
Result so far: 50171.428
The remainder is 284 after subtracting 7976 from 8260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

Let's proceed to step 12:
If we divide 2840 by 997, we get 2 and a remainder of 846.
The number 2 becomes the next digit in our result. 
Result so far: 50171.4282
Subtracting 1994 from 2840 leaves us with 846.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8460, and continue the process.

On to step 13:
The number 997 fits into 8460 8 times, leaving a remainder of 484.
The next digit of our result is 8. 
Result so far: 50171.42828
Subtract 7976 from 8460 to get 484.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4840, and continue the process.

Moving on to step 14:
997 can be fit into 4840 4 times, resulting in a remainder of 852.
Write down 4 as next digit of the result. 
Result so far: 50171.428284
If we subtract 3988 from 4840, we get 852.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8520, and continue the process.

On to step 15:
8520 divided by 997 is 8 with a remainder of 544.
Write down 8 as next digit of the result. 
Result so far: 50171.4282848
If we subtract 7976 from 8520, we get 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

On to step 16:
997 goes into 5440 5 times with a remainder of 455.
Write down 5 as next digit of the result. 
Result so far: 50171.42828485
If we subtract 4985 from 5440, we get 455.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4550, and continue the process.

The quotient of the division is 50171.42828485, and the remainder is 4.55e-07.