We're dividing 505836 by 97 
The aim is to understand the frequency of 97 in 505836.

Let's proceed to step 1:
When dividing 5 by 97, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 97

Moving on to step 2:
If we divide 50 by 97, we get 0 and a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Bring next digit (5) of the dividend behind the 50 and repeat the process: 505 / 97

Step 3:
The number 97 fits into 505 5 times, leaving a remainder of 20.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 485 from 505 and we're left with 20.
Grab the next digit (8) from the dividend, add it to 20, then carry on: 208 / 97

Let's proceed to step 4:
If we divide 208 by 97, we get 2 and a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 52.0
Subtract 194 from 208 to get 14.
Grab the next digit (3) from the dividend, add it to 14, then carry on: 143 / 97

On to step 5:
97 goes into 143 1 times with a remainder of 46.
Write down 1 as next digit of the result. 
Result so far: 521.0
Deduct 97 from 143 and we're left with 46.
Include the next digit (6) from the dividend after 46, then repeat: 466 / 97

Moving on to step 6:
97 goes into 466 4 times with a remainder of 78.
The number 4 becomes the next digit in our result. 
Result so far: 5214.0
Subtract 388 from 466 to get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

On to step 7:
97 goes into 780 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 5214.8
Deduct 776 from 780 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
The number 97 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 5214.8
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 9:
When dividing 400 by 97, we get 4 with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 5214.804
If we take 388 away from 400, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 10:
97 can be fit into 120 1 times, resulting in a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 5214.8041
If we take 97 away from 120, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 11:
If we divide 230 by 97, we get 2 and a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 5214.80412
The remainder is 36 after subtracting 194 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 12:
360 divided by 97 is 3 with a remainder of 69.
Record the quotient 3 as the next digit in the result. 
Result so far: 5214.804123
The remainder is 69 after subtracting 291 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Advancing to step 13:
The number 97 fits into 690 7 times, leaving a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 5214.8041237
Subtract 679 from 690 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 14:
When dividing 110 by 97, we get 1 with a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 5214.80412371
Subtracting 97 from 110 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final result is 5214.80412371 with a remainder of 1.3e-08.