We look at the division of 503474 by 97 
The aim is to understand the frequency of 97 in 503474.

On to step 1:
The number 97 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 97

Let's proceed to step 2:
If we divide 50 by 97, we get 0 and 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.
Include the next digit (3) from the dividend after 50, then repeat: 503 / 97

Going ahead to step 3:
If we divide 503 by 97, we get 5 and a remainder of 18.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 18 after subtracting 485 from 503.
Bring next digit (4) of the dividend behind the 18 and repeat the process: 184 / 97

Let's proceed to step 4:
If we divide 184 by 97, we get 1 and a remainder of 87.
The next digit of our result is 1. 
Result so far: 51.0
The remainder is 87 after subtracting 97 from 184.
Append the next digit (7) from the dividend to 87 and continue with: 877 / 97

Moving on to step 5:
When dividing 877 by 97, we get 9 with a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 519.0
The remainder is 4 after subtracting 873 from 877.
Bring next digit (4) of the dividend behind the 4 and repeat the process: 44 / 97

On to step 6:
When dividing 44 by 97, we get 0 with a remainder of 44.
Use 0 as the next digit of our solution. 
Result so far: 5190.0
Deduct 0 from 44 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 7:
97 can be fit into 440 4 times, resulting in a remainder of 52.
Write down 4 as next digit of the result. 
Result so far: 5190.4
If we take 388 away from 440, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 8:
If we divide 520 by 97, we get 5 and a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 5190.45
Subtracting 485 from 520 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 9:
If we divide 350 by 97, we get 3 and a remainder of 59.
The next digit of our result is 3. 
Result so far: 5190.453
Deduct 291 from 350 and we're left with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Let's proceed to step 10:
When dividing 590 by 97, we get 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 5190.4536
Subtract 582 from 590 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
97 can be fit into 80 0 times, resulting in a remainder of 80.
Record the quotient 0 as the next digit in the result. 
Result so far: 5190.4536
Subtract 0 from 80 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 12:
The number 97 fits into 800 8 times, leaving a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 5190.453608
If we subtract 776 from 800, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 13:
240 divided by 97 is 2 with a remainder of 46.
Use 2 as the next digit of our solution. 
Result so far: 5190.4536082
Subtract 194 from 240 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 14:
97 goes into 460 4 times with a remainder of 72.
Write down 4 as next digit of the result. 
Result so far: 5190.45360824
The remainder is 72 after subtracting 388 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Our division results in 5190.45360824 with a remaining 7.2e-08.