198123 divided by 97 
The aim is to understand the frequency of 97 in 198123.

On to step 1:
97 goes into 1 0 times with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 97

Going ahead to step 2:
19 divided by 97 is 0 with a remainder of 19.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 19 leaves us with 19.
Bring next digit (8) of the dividend behind the 19 and repeat the process: 198 / 97

On to step 3:
97 can be fit into 198 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 194 from 198 and we're left with 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 97

Step 4:
When dividing 41 by 97, we get 0 with a remainder of 41.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
Subtract 0 from 41 to get 41.
Fetch the next digit (2) from the dividend, attach it to 41 and continue: 412 / 97

Moving on to step 5:
The number 97 fits into 412 4 times, leaving a remainder of 24.
The number 4 becomes the next digit in our result. 
Result so far: 204.0
Deduct 388 from 412 and we're left with 24.
Take the next digit (3) from the dividend and append it to 24, then repeat: 243 / 97

Step 6:
97 goes into 243 2 times with a remainder of 49.
Put 2 as the next digit of the answer. 
Result so far: 2042.0
Subtract 194 from 243 to 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 7:
97 goes into 490 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 2042.5
Deduct 485 from 490 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 8:
97 can be fit into 50 0 times, resulting in a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 2042.5
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.

Advancing to step 9:
The number 97 fits into 500 5 times, leaving a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 2042.505
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.

On to step 10:
If we divide 150 by 97, we get 1 and a remainder of 53.
Write down 1 as next digit of the result. 
Result so far: 2042.5051
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.

Going ahead to step 11:
530 divided by 97 is 5 with a remainder of 45.
Put 5 as the next digit of the answer. 
Result so far: 2042.50515
Subtracting 485 from 530 leaves us 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.

Advancing to step 12:
450 divided by 97 is 4 with a remainder of 62.
The number 4 becomes the next digit in our result. 
Result so far: 2042.505154
If we take 388 away from 450, we end up 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.

Moving on to step 13:
The number 97 fits into 620 6 times, leaving a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 2042.5051546
The remainder is 38 after subtracting 582 from 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 14:
The number 97 fits into 380 3 times, leaving a remainder of 89.
Record the quotient 3 as the next digit in the result. 
Result so far: 2042.50515463
Deduct 291 from 380 and we're left with 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 890, and continue the process.

The final result is 2042.50515463 with a remainder of 8.9e-08.