Let's divide 6907509 by 397
The aim is to understand the frequency of 397 in 6907509.

On to step 1:
397 can be fit into 6 0 times, resulting in a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Bring next digit (9) of the dividend behind the 6 and repeat the process: 69 / 397

Advancing to step 2:
397 goes into 69 0 times with a remainder of 69.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 69 after subtracting 0 from 69.
Bring next digit (0) of the dividend behind the 69 and repeat the process: 690 / 397

On to step 3:
When dividing 690 by 397, we get 1 with a remainder of 293.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 397 from 690 and we're left with 293.
Fetch the next digit (7) from the dividend, attach it to 293 and continue: 2937 / 397

Advancing to step 4:
397 can be fit into 2937 7 times, resulting in a remainder of 158.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we subtract 2779 from 2937, we get 158.
Bring next digit (5) of the dividend behind the 158 and repeat the process: 1585 / 397

On to step 5:
If we divide 1585 by 397, we get 3 and a remainder of 394.
The next digit of our result is 3. 
Result so far: 173.0
If we subtract 1191 from 1585, we get 394.
Include the next digit (0) from the dividend after 394, then repeat: 3940 / 397

Let's proceed to step 6:
397 can be fit into 3940 9 times, resulting in a remainder of 367.
The number 9 becomes the next digit in our result. 
Result so far: 1739.0
Subtracting 3573 from 3940 leaves us with 367.
Include the next digit (9) from the dividend after 367, then repeat: 3679 / 397

Going ahead to step 7:
3679 divided by 397 is 9 with a remainder of 106.
Put 9 as the next digit of the answer. 
Result so far: 17399.0
If we take 3573 away from 3679, we end up with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Going ahead to step 8:
The number 397 fits into 1060 2 times, leaving a remainder of 266.
The number 2 becomes the next digit in our result. 
Result so far: 17399.2
Deduct 794 from 1060 and we're left with 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

On to step 9:
When dividing 2660 by 397, we get 6 with a remainder of 278.
The next digit of our result is 6. 
Result so far: 17399.26
Subtract 2382 from 2660 to get 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

On to step 10:
When dividing 2780 by 397, we get 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 17399.267
Subtracting 2779 from 2780 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 11:
If we divide 10 by 397, we get 0 and a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 17399.267
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 12:
If we divide 100 by 397, we get 0 and a remainder of 100.
Record the quotient 0 as the next digit in the result. 
Result so far: 17399.267
Subtracting 0 from 100 leaves us with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

After the division, we end up with 17399.267 and a remainder of 0.0001.