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

Advancing to step 1:
If we divide 4 by 97, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 97

Moving on to step 2:
40 divided by 97 is 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Bring next digit (0) of the dividend behind the 40 and repeat the process: 400 / 97

Going ahead to step 3:
97 can be fit into 400 4 times, resulting in a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 12 after subtracting 388 from 400.
Include the next digit (6) from the dividend after 12, then repeat: 126 / 97

Step 4:
If we divide 126 by 97, we get 1 and a remainder of 29.
The next digit of our result is 1. 
Result so far: 41.0
Subtracting 97 from 126 leaves us with 29.
Bring next digit (1) of the dividend behind the 29 and repeat the process: 291 / 97

Advancing to step 5:
When dividing 291 by 97, we get 3 with a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 413.0
Subtracting 291 from 291 leaves us with 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 97

Moving on to step 6:
The number 97 fits into 8 0 times, leaving a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 4130.0
Deduct 0 from 8 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 7:
80 divided by 97 is 0 with a remainder of 80.
Record the quotient 0 as the next digit in the result. 
Result so far: 4130.0
If we subtract 0 from 80, we 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.

Step 8:
800 divided by 97 is 8 with a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 4130.08
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.

Advancing to step 9:
240 divided by 97 is 2 with a remainder of 46.
The next digit of our result is 2. 
Result so far: 4130.082
The remainder is 46 after subtracting 194 from 240.
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 10:
If we divide 460 by 97, we get 4 and a remainder of 72.
Write down 4 as next digit of the result. 
Result so far: 4130.0824
If we subtract 388 from 460, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 11:
97 goes into 720 7 times with a remainder of 41.
Record the quotient 7 as the next digit in the result. 
Result so far: 4130.08247
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.

Moving on to step 12:
When dividing 410 by 97, we get 4 with a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 4130.082474
Subtracting 388 from 410 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 13:
The number 97 fits into 220 2 times, leaving a remainder of 26.
The number 2 becomes the next digit in our result. 
Result so far: 4130.0824742
If we take 194 away from 220, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 14:
When dividing 260 by 97, we get 2 with a remainder of 66.
Use 2 as the next digit of our solution. 
Result so far: 4130.08247422
Subtracting 194 from 260 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Our division results in 4130.08247422 with a remaining 6.6e-08.