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

Moving on to step 1:
If we divide 3 by 397, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 397

Step 2:
397 goes into 38 0 times with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 38 and we're left with 38.
Grab the next digit (9) from the dividend, add it to 38, then carry on: 389 / 397

Step 3:
389 divided by 397 is 0 with a remainder of 389.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 389 and we're left with 389.
Bring next digit (6) of the dividend behind the 389 and repeat the process: 3896 / 397

Step 4:
When dividing 3896 by 397, we get 9 with a remainder of 323.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we take 3573 away from 3896, we end up with 323.
Include the next digit (1) from the dividend after 323, then repeat: 3231 / 397

Step 5:
If we divide 3231 by 397, we get 8 and a remainder of 55.
Record the quotient 8 as the next digit in the result. 
Result so far: 98.0
The remainder is 55 after subtracting 3176 from 3231.
Fetch the next digit (5) from the dividend, attach it to 55 and continue: 555 / 397

Going ahead to step 6:
555 divided by 397 is 1 with a remainder of 158.
The next digit of our result is 1. 
Result so far: 981.0
If we subtract 397 from 555, we get 158.
Take the next digit (6) from the dividend and append it to 158, then repeat: 1586 / 397

Step 7:
If we divide 1586 by 397, we get 3 and a remainder of 395.
Record the quotient 3 as the next digit in the result. 
Result so far: 9813.0
The remainder is 395 after subtracting 1191 from 1586.
Include the next digit (0) from the dividend after 395, then repeat: 3950 / 397

Moving on to step 8:
3950 divided by 397 is 9 with a remainder of 377.
Record the quotient 9 as the next digit in the result. 
Result so far: 98139.0
Subtracting 3573 from 3950 leaves us with 377.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3770, and continue the process.

Advancing to step 9:
3770 divided by 397 is 9 with a remainder of 197.
The next digit of our result is 9. 
Result so far: 98139.9
Subtract 3573 from 3770 to get 197.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1970, and continue the process.

Let's proceed to step 10:
397 goes into 1970 4 times with a remainder of 382.
The next digit of our result is 4. 
Result so far: 98139.94
Subtracting 1588 from 1970 leaves us with 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

Moving on to step 11:
397 can be fit into 3820 9 times, resulting in a remainder of 247.
Write down 9 as next digit of the result. 
Result so far: 98139.949
Subtracting 3573 from 3820 leaves us with 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Moving on to step 12:
397 can be fit into 2470 6 times, resulting in a remainder of 88.
The number 6 becomes the next digit in our result. 
Result so far: 98139.9496
Deduct 2382 from 2470 and we're left with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Advancing to step 13:
The number 397 fits into 880 2 times, leaving a remainder of 86.
The number 2 becomes the next digit in our result. 
Result so far: 98139.94962
The remainder is 86 after subtracting 794 from 880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Let's proceed to step 14:
397 can be fit into 860 2 times, resulting in a remainder of 66.
Put 2 as the next digit of the answer. 
Result so far: 98139.949622
Subtracting 794 from 860 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Our division results in 98139.949622 with a remaining 6.6e-06.