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

Let's proceed to step 1:
5 divided by 997 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 997

Going ahead to step 2:
When dividing 51 by 997, we get 0 with a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 51, we end up with 51.
Fetch the next digit (6) from the dividend, attach it to 51 and continue: 516 / 997

On to step 3:
When dividing 516 by 997, we get 0 with a remainder of 516.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 516 to get 516.
Bring next digit (2) of the dividend behind the 516 and repeat the process: 5162 / 997

Moving on to step 4:
The number 997 fits into 5162 5 times, leaving a remainder of 177.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 4985 from 5162, we get 177.
Grab the next digit (0) from the dividend, add it to 177, then carry on: 1770 / 997

On to step 5:
997 can be fit into 1770 1 times, resulting in a remainder of 773.
Write down 1 as next digit of the result. 
Result so far: 51.0
Deduct 997 from 1770 and we're left with 773.
Bring next digit (5) of the dividend behind the 773 and repeat the process: 7735 / 997

Advancing to step 6:
When dividing 7735 by 997, we get 7 with a remainder of 756.
Write down 7 as next digit of the result. 
Result so far: 517.0
Subtracting 6979 from 7735 leaves us with 756.
Take the next digit (1) from the dividend and append it to 756, then repeat: 7561 / 997

Let's proceed to step 7:
If we divide 7561 by 997, we get 7 and a remainder of 582.
Use 7 as the next digit of our solution. 
Result so far: 5177.0
Subtract 6979 from 7561 to get 582.
Fetch the next digit (6) from the dividend, attach it to 582 and continue: 5826 / 997

On to step 8:
997 goes into 5826 5 times with a remainder of 841.
Write down 5 as next digit of the result. 
Result so far: 51775.0
Subtract 4985 from 5826 to get 841.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8410, and continue the process.

Advancing to step 9:
997 goes into 8410 8 times with a remainder of 434.
Record the quotient 8 as the next digit in the result. 
Result so far: 51775.8
Deduct 7976 from 8410 and we're left with 434.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4340, and continue the process.

Advancing to step 10:
997 goes into 4340 4 times with a remainder of 352.
Put 4 as the next digit of the answer. 
Result so far: 51775.84
If we take 3988 away from 4340, we end up with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

On to step 11:
3520 divided by 997 is 3 with a remainder of 529.
The next digit of our result is 3. 
Result so far: 51775.843
The remainder is 529 after subtracting 2991 from 3520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5290, and continue the process.

Going ahead to step 12:
The number 997 fits into 5290 5 times, leaving a remainder of 305.
Use 5 as the next digit of our solution. 
Result so far: 51775.8435
Subtract 4985 from 5290 to get 305.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3050, and continue the process.

Let's proceed to step 13:
997 goes into 3050 3 times with a remainder of 59.
The number 3 becomes the next digit in our result. 
Result so far: 51775.84353
The remainder is 59 after subtracting 2991 from 3050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

On to step 14:
If we divide 590 by 997, we get 0 and a remainder of 590.
Record the quotient 0 as the next digit in the result. 
Result so far: 51775.84353
Subtract 0 from 590 to get 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Moving on to step 15:
997 goes into 5900 5 times with a remainder of 915.
Write down 5 as next digit of the result. 
Result so far: 51775.8435305
The remainder is 915 after subtracting 4985 from 5900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9150, and continue the process.

Moving on to step 16:
997 can be fit into 9150 9 times, resulting in a remainder of 177.
Put 9 as the next digit of the answer. 
Result so far: 51775.84353059
Subtracting 8973 from 9150 leaves us with 177.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1770, and continue the process.

The final result is 51775.84353059 with a remainder of 1.77e-07.