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

Going ahead to step 1:
If we divide 3 by 397, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 397

Advancing to step 2:
When dividing 38 by 397, we get 0 with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 38, we get 38.
Take the next digit (0) from the dividend and append it to 38, then repeat: 380 / 397

On to step 3:
If we divide 380 by 397, we get 0 and a remainder of 380.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 380 to get 380.
Grab the next digit (2) from the dividend, add it to 380, then carry on: 3802 / 397

Going ahead to step 4:
If we divide 3802 by 397, we get 9 and a remainder of 229.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtracting 3573 from 3802 leaves us with 229.
Take the next digit (9) from the dividend and append it to 229, then repeat: 2299 / 397

Step 5:
When dividing 2299 by 397, we get 5 with a remainder of 314.
Use 5 as the next digit of our solution. 
Result so far: 95.0
If we take 1985 away from 2299, we end up with 314.
Append the next digit (5) from the dividend to 314 and continue with: 3145 / 397

Going ahead to step 6:
The number 397 fits into 3145 7 times, leaving a remainder of 366.
Use 7 as the next digit of our solution. 
Result so far: 957.0
Subtracting 2779 from 3145 leaves us with 366.
Grab the next digit (5) from the dividend, add it to 366, then carry on: 3665 / 397

Moving on to step 7:
The number 397 fits into 3665 9 times, leaving a remainder of 92.
Record the quotient 9 as the next digit in the result. 
Result so far: 9579.0
Subtract 3573 from 3665 to get 92.
Take the next digit (3) from the dividend and append it to 92, then repeat: 923 / 397

Going ahead to step 8:
923 divided by 397 is 2 with a remainder of 129.
Record the quotient 2 as the next digit in the result. 
Result so far: 95792.0
Deduct 794 from 923 and we're left with 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Going ahead to step 9:
397 can be fit into 1290 3 times, resulting in a remainder of 99.
Use 3 as the next digit of our solution. 
Result so far: 95792.3
Subtract 1191 from 1290 to get 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

Let's proceed to step 10:
397 goes into 990 2 times with a remainder of 196.
The next digit of our result is 2. 
Result so far: 95792.32
The remainder is 196 after subtracting 794 from 990.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1960, and continue the process.

On to step 11:
1960 divided by 397 is 4 with a remainder of 372.
Write down 4 as next digit of the result. 
Result so far: 95792.324
The remainder is 372 after subtracting 1588 from 1960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3720, and continue the process.

Advancing to step 12:
397 can be fit into 3720 9 times, resulting in a remainder of 147.
The number 9 becomes the next digit in our result. 
Result so far: 95792.3249
Subtract 3573 from 3720 to get 147.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1470, and continue the process.

Advancing to step 13:
The number 397 fits into 1470 3 times, leaving a remainder of 279.
Record the quotient 3 as the next digit in the result. 
Result so far: 95792.32493
If we subtract 1191 from 1470, we get 279.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2790, and continue the process.

Advancing to step 14:
If we divide 2790 by 397, we get 7 and a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 95792.324937
Subtracting 2779 from 2790 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 15:
110 divided by 397 is 0 with a remainder of 110.
Put 0 as the next digit of the answer. 
Result so far: 95792.324937
The remainder is 110 after subtracting 0 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Going ahead to step 16:
397 goes into 1100 2 times with a remainder of 306.
The number 2 becomes the next digit in our result. 
Result so far: 95792.32493702
Deduct 794 from 1100 and we're left with 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

After the division, we end up with 95792.32493702 and a remainder of 3.06e-07.