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

Going ahead to step 1:
The number 97 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 97

Let's proceed to step 2:
The number 97 fits into 50 0 times, leaving a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Include the next digit (5) from the dividend after 50, then repeat: 505 / 97

Let's proceed to step 3:
97 goes into 505 5 times with a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtracting 485 from 505 leaves us with 20.
Take the next digit (2) from the dividend and append it to 20, then repeat: 202 / 97

Advancing to step 4:
202 divided by 97 is 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
Subtracting 194 from 202 leaves us with 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 97

Advancing to step 5:
97 goes into 81 0 times with a remainder of 81.
Put 0 as the next digit of the answer. 
Result so far: 520.0
If we subtract 0 from 81, we get 81.
Append the next digit (0) from the dividend to 81 and continue with: 810 / 97

On to step 6:
810 divided by 97 is 8 with a remainder of 34.
Record the quotient 8 as the next digit in the result. 
Result so far: 5208.0
If we take 776 away from 810, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 7:
97 goes into 340 3 times with a remainder of 49.
Put 3 as the next digit of the answer. 
Result so far: 5208.3
If we subtract 291 from 340, we get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Advancing to step 8:
If we divide 490 by 97, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 5208.35
If we subtract 485 from 490, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 9:
The number 97 fits into 50 0 times, leaving a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 5208.35
If we subtract 0 from 50, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 10:
The number 97 fits into 500 5 times, leaving a remainder of 15.
The next digit of our result is 5. 
Result so far: 5208.3505
The remainder is 15 after subtracting 485 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 11:
The number 97 fits into 150 1 times, leaving a remainder of 53.
Write down 1 as next digit of the result. 
Result so far: 5208.35051
If we subtract 97 from 150, we get 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Let's proceed to step 12:
97 can be fit into 530 5 times, resulting in a remainder of 45.
Put 5 as the next digit of the answer. 
Result so far: 5208.350515
If we take 485 away from 530, we end up with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Step 13:
When dividing 450 by 97, we get 4 with a remainder of 62.
Put 4 as the next digit of the answer. 
Result so far: 5208.3505154
Deduct 388 from 450 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Advancing to step 14:
97 can be fit into 620 6 times, resulting in a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 5208.35051546
Subtract 582 from 620 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The final outcome is 5208.35051546, with a leftover of 3.8e-08.