We divide 516790 by 97
The aim is to understand the frequency of 97 in 516790.

Let's proceed 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
Deduct 0 from 5 and we're left with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 97

Advancing to step 2:
The number 97 fits into 51 0 times, leaving a remainder of 51.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Fetch the next digit (6) from the dividend, attach it to 51 and continue: 516 / 97

Advancing to step 3:
When dividing 516 by 97, we get 5 with a remainder of 31.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 485 from 516 leaves us with 31.
Bring next digit (7) of the dividend behind the 31 and repeat the process: 317 / 97

Step 4:
317 divided by 97 is 3 with a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 53.0
If we subtract 291 from 317, we get 26.
Include the next digit (9) from the dividend after 26, then repeat: 269 / 97

Step 5:
When dividing 269 by 97, we get 2 with a remainder of 75.
Write down 2 as next digit of the result. 
Result so far: 532.0
The remainder is 75 after subtracting 194 from 269.
Append the next digit (0) from the dividend to 75 and continue with: 750 / 97

On to step 6:
97 goes into 750 7 times with a remainder of 71.
Write down 7 as next digit of the result. 
Result so far: 5327.0
Deduct 679 from 750 and we're left 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.

Moving on to step 7:
When dividing 710 by 97, we get 7 with a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 5327.7
If we take 679 away from 710, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 8:
97 can be fit into 310 3 times, resulting in a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 5327.73
Subtract 291 from 310 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 9:
190 divided by 97 is 1 with a remainder of 93.
Write down 1 as next digit of the result. 
Result so far: 5327.731
If we subtract 97 from 190, we get 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Going ahead to step 10:
930 divided by 97 is 9 with a remainder of 57.
Record the quotient 9 as the next digit in the result. 
Result so far: 5327.7319
The remainder is 57 after subtracting 873 from 930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

On to step 11:
When dividing 570 by 97, we get 5 with a remainder of 85.
Record the quotient 5 as the next digit in the result. 
Result so far: 5327.73195
Subtract 485 from 570 to get 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Advancing to step 12:
850 divided by 97 is 8 with a remainder of 74.
Put 8 as the next digit of the answer. 
Result so far: 5327.731958
If we subtract 776 from 850, we get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 13:
If we divide 740 by 97, we get 7 and a remainder of 61.
Write down 7 as next digit of the result. 
Result so far: 5327.7319587
If we subtract 679 from 740, we get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Advancing to step 14:
When dividing 610 by 97, we get 6 with a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 5327.73195876
Subtracting 582 from 610 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 5327.73195876, and the remainder is 2.8e-08.