We look at the division of 21997596 by 765 
The aim is to understand the frequency of 765 in 21997596.

Advancing to step 1:
2 divided by 765 is 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 765

Going ahead to step 2:
When dividing 21 by 765, we get 0 with a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 21 and we're left with 21.
Include the next digit (9) from the dividend after 21, then repeat: 219 / 765

Step 3:
If we divide 219 by 765, we get 0 and a remainder of 219.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 219 after subtracting 0 from 219.
Include the next digit (9) from the dividend after 219, then repeat: 2199 / 765

Let's proceed to step 4:
When dividing 2199 by 765, we get 2 with a remainder of 669.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 1530 from 2199 to get 669.
Fetch the next digit (7) from the dividend, attach it to 669 and continue: 6697 / 765

Going ahead to step 5:
765 goes into 6697 8 times with a remainder of 577.
The next digit of our result is 8. 
Result so far: 28.0
Subtracting 6120 from 6697 leaves us with 577.
Grab the next digit (5) from the dividend, add it to 577, then carry on: 5775 / 765

On to step 6:
The number 765 fits into 5775 7 times, leaving a remainder of 420.
The next digit of our result is 7. 
Result so far: 287.0
The remainder is 420 after subtracting 5355 from 5775.
Bring next digit (9) of the dividend behind the 420 and repeat the process: 4209 / 765

Let's proceed to step 7:
If we divide 4209 by 765, we get 5 and a remainder of 384.
The number 5 becomes the next digit in our result. 
Result so far: 2875.0
If we take 3825 away from 4209, we end up with 384.
Include the next digit (6) from the dividend after 384, then repeat: 3846 / 765

Moving on to step 8:
765 goes into 3846 5 times with a remainder of 21.
Use 5 as the next digit of our solution. 
Result so far: 28755.0
If we take 3825 away from 3846, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 9:
When dividing 210 by 765, we get 0 with a remainder of 210.
Record the quotient 0 as the next digit in the result. 
Result so far: 28755.0
Subtract 0 from 210 to get 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Going ahead to step 10:
765 goes into 2100 2 times with a remainder of 570.
Write down 2 as next digit of the result. 
Result so far: 28755.02
The remainder is 570 after subtracting 1530 from 2100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

Advancing to step 11:
If we divide 5700 by 765, we get 7 and a remainder of 345.
Use 7 as the next digit of our solution. 
Result so far: 28755.027
Deduct 5355 from 5700 and we're left with 345.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

Moving on to step 12:
When dividing 3450 by 765, we get 4 with a remainder of 390.
Use 4 as the next digit of our solution. 
Result so far: 28755.0274
Subtract 3060 from 3450 to get 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

Moving on to step 13:
3900 divided by 765 is 5 with a remainder of 75.
Put 5 as the next digit of the answer. 
Result so far: 28755.02745
If we take 3825 away from 3900, we end up with 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 14:
765 can be fit into 750 0 times, resulting in a remainder of 750.
The number 0 becomes the next digit in our result. 
Result so far: 28755.02745
Subtracting 0 from 750 leaves us with 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7500, and continue the process.

Advancing to step 15:
If we divide 7500 by 765, we get 9 and a remainder of 615.
Write down 9 as next digit of the result. 
Result so far: 28755.0274509
Subtracting 6885 from 7500 leaves us with 615.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6150, and continue the process.

Moving on to step 16:
6150 divided by 765 is 8 with a remainder of 30.
The next digit of our result is 8. 
Result so far: 28755.02745098
The remainder is 30 after subtracting 6120 from 6150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The quotient of the division is 28755.02745098, and the remainder is 3e-08.