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

Advancing to step 1:
The number 97 fits into 7 0 times, leaving a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 97

Advancing to step 2:
97 can be fit into 78 0 times, resulting in a remainder of 78.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 78, we get 78.
Grab the next digit (1) from the dividend, add it to 78, then carry on: 781 / 97

Moving on to step 3:
If we divide 781 by 97, we get 8 and a remainder of 5.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtracting 776 from 781 leaves us with 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 97

Moving on to step 4:
The number 97 fits into 56 0 times, leaving a remainder of 56.
The number 0 becomes the next digit in our result. 
Result so far: 80.0
The remainder is 56 after subtracting 0 from 56.
Fetch the next digit (4) from the dividend, attach it to 56 and continue: 564 / 97

On to step 5:
97 goes into 564 5 times with a remainder of 79.
The next digit of our result is 5. 
Result so far: 805.0
Subtract 485 from 564 to get 79.
Include the next digit (3) from the dividend after 79, then repeat: 793 / 97

Going ahead to step 6:
If we divide 793 by 97, we get 8 and a remainder of 17.
Use 8 as the next digit of our solution. 
Result so far: 8058.0
If we take 776 away from 793, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 7:
When dividing 170 by 97, we get 1 with a remainder of 73.
The next digit of our result is 1. 
Result so far: 8058.1
The remainder is 73 after subtracting 97 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

On to step 8:
The number 97 fits into 730 7 times, leaving a remainder of 51.
Record the quotient 7 as the next digit in the result. 
Result so far: 8058.17
If we subtract 679 from 730, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Advancing to step 9:
If we divide 510 by 97, we get 5 and a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 8058.175
Subtract 485 from 510 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 10:
97 goes into 250 2 times with a remainder of 56.
The number 2 becomes the next digit in our result. 
Result so far: 8058.1752
Subtracting 194 from 250 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 11:
If we divide 560 by 97, we get 5 and a remainder of 75.
Record the quotient 5 as the next digit in the result. 
Result so far: 8058.17525
Subtract 485 from 560 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Moving on to step 12:
97 goes into 750 7 times with a remainder of 71.
The next digit of our result is 7. 
Result so far: 8058.175257
Subtracting 679 from 750 leaves us with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Advancing to step 13:
When dividing 710 by 97, we get 7 with a remainder of 31.
Write down 7 as next digit of the result. 
Result so far: 8058.1752577
Subtract 679 from 710 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The final outcome is 8058.1752577, with a leftover of 3.1e-07.