We look at the division of 23935140 by 397 
The aim is to understand the frequency of 397 in 23935140.

On to step 1:
When dividing 2 by 397, we get 0 with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 397

Moving on to step 2:
397 can be fit into 23 0 times, resulting in a remainder of 23.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 23 after subtracting 0 from 23.
Include the next digit (9) from the dividend after 23, then repeat: 239 / 397

Going ahead to step 3:
If we divide 239 by 397, we get 0 and a remainder of 239.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 239 to get 239.
Include the next digit (3) from the dividend after 239, then repeat: 2393 / 397

Let's proceed to step 4:
When dividing 2393 by 397, we get 6 with a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 2382 from 2393, we get 11.
Take the next digit (5) from the dividend and append it to 11, then repeat: 115 / 397

Step 5:
If we divide 115 by 397, we get 0 and a remainder of 115.
Use 0 as the next digit of our solution. 
Result so far: 60.0
If we subtract 0 from 115, we get 115.
Include the next digit (1) from the dividend after 115, then repeat: 1151 / 397

Step 6:
The number 397 fits into 1151 2 times, leaving a remainder of 357.
Put 2 as the next digit of the answer. 
Result so far: 602.0
Subtracting 794 from 1151 leaves us with 357.
Take the next digit (4) from the dividend and append it to 357, then repeat: 3574 / 397

On to step 7:
3574 divided by 397 is 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 6029.0
If we take 3573 away from 3574, we end up with 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 397

Step 8:
If we divide 10 by 397, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 60290.0
The remainder is 10 after subtracting 0 from 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 9:
100 divided by 397 is 0 with a remainder of 100.
Write down 0 as next digit of the result. 
Result so far: 60290.0
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.

Going ahead to step 10:
397 can be fit into 1000 2 times, resulting in a remainder of 206.
Record the quotient 2 as the next digit in the result. 
Result so far: 60290.02
Subtracting 794 from 1000 leaves us with 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Let's proceed to step 11:
If we divide 2060 by 397, we get 5 and a remainder of 75.
Use 5 as the next digit of our solution. 
Result so far: 60290.025
Subtracting 1985 from 2060 leaves us 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.

Going ahead to step 12:
If we divide 750 by 397, we get 1 and a remainder of 353.
The next digit of our result is 1. 
Result so far: 60290.0251
Subtracting 397 from 750 leaves us with 353.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3530, and continue the process.

Advancing to step 13:
3530 divided by 397 is 8 with a remainder of 354.
Use 8 as the next digit of our solution. 
Result so far: 60290.02518
The remainder is 354 after subtracting 3176 from 3530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

Going ahead to step 14:
The number 397 fits into 3540 8 times, leaving a remainder of 364.
Use 8 as the next digit of our solution. 
Result so far: 60290.025188
Deduct 3176 from 3540 and we're left with 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

After the division, we end up with 60290.025188 and a remainder of 3.64e-05.