38820276 divided by 397 
The aim is to understand the frequency of 397 in 38820276.

Step 1:
If we divide 3 by 397, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
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

On to step 2:
The number 397 fits into 38 0 times, leaving a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 38, we get 38.
Fetch the next digit (8) from the dividend, attach it to 38 and continue: 388 / 397

Moving on to step 3:
When dividing 388 by 397, we get 0 with a remainder of 388.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 388 to get 388.
Grab the next digit (2) from the dividend, add it to 388, then carry on: 3882 / 397

Moving on to step 4:
397 goes into 3882 9 times with a remainder of 309.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we take 3573 away from 3882, we end up with 309.
Fetch the next digit (0) from the dividend, attach it to 309 and continue: 3090 / 397

Going ahead to step 5:
397 can be fit into 3090 7 times, resulting in a remainder of 311.
Write down 7 as next digit of the result. 
Result so far: 97.0
If we take 2779 away from 3090, we end up with 311.
Append the next digit (2) from the dividend to 311 and continue with: 3112 / 397

Going ahead to step 6:
397 goes into 3112 7 times with a remainder of 333.
The next digit of our result is 7. 
Result so far: 977.0
Subtract 2779 from 3112 to get 333.
Include the next digit (7) from the dividend after 333, then repeat: 3337 / 397

Step 7:
397 goes into 3337 8 times with a remainder of 161.
Record the quotient 8 as the next digit in the result. 
Result so far: 9778.0
The remainder is 161 after subtracting 3176 from 3337.
Take the next digit (6) from the dividend and append it to 161, then repeat: 1616 / 397

Step 8:
1616 divided by 397 is 4 with a remainder of 28.
The next digit of our result is 4. 
Result so far: 97784.0
The remainder is 28 after subtracting 1588 from 1616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 9:
The number 397 fits into 280 0 times, leaving a remainder of 280.
Write down 0 as next digit of the result. 
Result so far: 97784.0
If we subtract 0 from 280, we get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Let's proceed to step 10:
397 can be fit into 2800 7 times, resulting in a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 97784.07
If we take 2779 away from 2800, 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.

Let's proceed to step 11:
397 can be fit into 210 0 times, resulting in a remainder of 210.
The number 0 becomes the next digit in our result. 
Result so far: 97784.07
If we subtract 0 from 210, we 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.

On to step 12:
2100 divided by 397 is 5 with a remainder of 115.
The number 5 becomes the next digit in our result. 
Result so far: 97784.0705
The remainder is 115 after subtracting 1985 from 2100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Step 13:
The number 397 fits into 1150 2 times, leaving a remainder of 356.
The next digit of our result is 2. 
Result so far: 97784.07052
Subtract 794 from 1150 to get 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Going ahead to step 14:
397 goes into 3560 8 times with a remainder of 384.
Use 8 as the next digit of our solution. 
Result so far: 97784.070528
The remainder is 384 after subtracting 3176 from 3560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Let's proceed to step 15:
The number 397 fits into 3840 9 times, leaving a remainder of 267.
The number 9 becomes the next digit in our result. 
Result so far: 97784.0705289
Subtract 3573 from 3840 to get 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2670, and continue the process.

Step 16:
2670 divided by 397 is 6 with a remainder of 288.
Write down 6 as next digit of the result. 
Result so far: 97784.07052896
Subtracting 2382 from 2670 leaves us with 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

The final outcome is 97784.07052896, with a leftover of 2.88e-07.