Let's divide 511339 by 97
The aim is to understand the frequency of 97 in 511339.

On to step 1:
5 divided by 97 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.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 97

On to step 2:
97 can be fit into 51 0 times, resulting in 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.
Grab the next digit (1) from the dividend, add it to 51, then carry on: 511 / 97

Step 3:
The number 97 fits into 511 5 times, leaving a remainder of 26.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 485 from 511 leaves us with 26.
Bring next digit (3) of the dividend behind the 26 and repeat the process: 263 / 97

Let's proceed to step 4:
97 can be fit into 263 2 times, resulting in a remainder of 69.
The next digit of our result is 2. 
Result so far: 52.0
Subtract 194 from 263 to get 69.
Append the next digit (3) from the dividend to 69 and continue with: 693 / 97

On to step 5:
The number 97 fits into 693 7 times, leaving a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 527.0
If we subtract 679 from 693, we get 14.
Take the next digit (9) from the dividend and append it to 14, then repeat: 149 / 97

Let's proceed to step 6:
97 can be fit into 149 1 times, resulting in a remainder of 52.
The number 1 becomes the next digit in our result. 
Result so far: 5271.0
Subtracting 97 from 149 leaves us 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.

Moving on to step 7:
97 goes into 520 5 times with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 5271.5
If we subtract 485 from 520, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 8:
When dividing 350 by 97, we get 3 with a remainder of 59.
The number 3 becomes the next digit in our result. 
Result so far: 5271.53
If we subtract 291 from 350, we get 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 9:
The number 97 fits into 590 6 times, leaving a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 5271.536
If we subtract 582 from 590, we 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.

Moving on to step 10:
80 divided by 97 is 0 with a remainder of 80.
The next digit of our result is 0. 
Result so far: 5271.536
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 11:
The number 97 fits into 800 8 times, leaving a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 5271.53608
Subtracting 776 from 800 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 12:
If we divide 240 by 97, we get 2 and a remainder of 46.
The next digit of our result is 2. 
Result so far: 5271.536082
Deduct 194 from 240 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 13:
460 divided by 97 is 4 with a remainder of 72.
Write down 4 as next digit of the result. 
Result so far: 5271.5360824
If we take 388 away from 460, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 14:
97 goes into 720 7 times with a remainder of 41.
The next digit of our result is 7. 
Result so far: 5271.53608247
The remainder is 41 after subtracting 679 from 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

The final result is 5271.53608247 with a remainder of 4.1e-08.