We're dividing 24154257 by 397 
The aim is to understand the frequency of 397 in 24154257.

Advancing to step 1:
If we divide 2 by 397, we get 0 and a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 397

Going ahead to step 2:
397 can be fit into 24 0 times, resulting in a remainder of 24.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 24 to get 24.
Grab the next digit (1) from the dividend, add it to 24, then carry on: 241 / 397

Step 3:
The number 397 fits into 241 0 times, leaving a remainder of 241.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 241 to get 241.
Bring next digit (5) of the dividend behind the 241 and repeat the process: 2415 / 397

Moving on to step 4:
397 can be fit into 2415 6 times, resulting in a remainder of 33.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 2382 from 2415, we get 33.
Take the next digit (4) from the dividend and append it to 33, then repeat: 334 / 397

Advancing to step 5:
334 divided by 397 is 0 with a remainder of 334.
Write down 0 as next digit of the result. 
Result so far: 60.0
Deduct 0 from 334 and we're left with 334.
Fetch the next digit (2) from the dividend, attach it to 334 and continue: 3342 / 397

Step 6:
If we divide 3342 by 397, we get 8 and a remainder of 166.
Put 8 as the next digit of the answer. 
Result so far: 608.0
If we take 3176 away from 3342, we end up with 166.
Append the next digit (5) from the dividend to 166 and continue with: 1665 / 397

Advancing to step 7:
1665 divided by 397 is 4 with a remainder of 77.
Write down 4 as next digit of the result. 
Result so far: 6084.0
Subtract 1588 from 1665 to get 77.
Include the next digit (7) from the dividend after 77, then repeat: 777 / 397

Going ahead to step 8:
If we divide 777 by 397, we get 1 and a remainder of 380.
The next digit of our result is 1. 
Result so far: 60841.0
Subtract 397 from 777 to get 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Going ahead to step 9:
When dividing 3800 by 397, we get 9 with a remainder of 227.
Record the quotient 9 as the next digit in the result. 
Result so far: 60841.9
If we take 3573 away from 3800, we end up with 227.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

Moving on to step 10:
2270 divided by 397 is 5 with a remainder of 285.
Record the quotient 5 as the next digit in the result. 
Result so far: 60841.95
Subtract 1985 from 2270 to get 285.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

Advancing to step 11:
When dividing 2850 by 397, we get 7 with a remainder of 71.
The next digit of our result is 7. 
Result so far: 60841.957
If we take 2779 away from 2850, we end up 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 12:
710 divided by 397 is 1 with a remainder of 313.
Write down 1 as next digit of the result. 
Result so far: 60841.9571
Subtract 397 from 710 to get 313.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3130, and continue the process.

Step 13:
When dividing 3130 by 397, we get 7 with a remainder of 351.
Put 7 as the next digit of the answer. 
Result so far: 60841.95717
Subtract 2779 from 3130 to get 351.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3510, and continue the process.

Moving on to step 14:
If we divide 3510 by 397, we get 8 and a remainder of 334.
The number 8 becomes the next digit in our result. 
Result so far: 60841.957178
If we subtract 3176 from 3510, we get 334.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

On to step 15:
397 goes into 3340 8 times with a remainder of 164.
The number 8 becomes the next digit in our result. 
Result so far: 60841.9571788
Subtracting 3176 from 3340 leaves us with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Our division results in 60841.9571788 with a remaining 1.64e-06.