We're dividing 38971289 by 972 
The aim is to understand the frequency of 972 in 38971289.

Going ahead to step 1:
When dividing 3 by 972, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 972

Step 2:
972 can be fit into 38 0 times, resulting in a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 38 and we're left with 38.
Take the next digit (9) from the dividend and append it to 38, then repeat: 389 / 972

Advancing to step 3:
The number 972 fits into 389 0 times, leaving a remainder of 389.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 389 leaves us with 389.
Append the next digit (7) from the dividend to 389 and continue with: 3897 / 972

Going ahead to step 4:
972 can be fit into 3897 4 times, resulting in a remainder of 9.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 3888 from 3897 leaves us with 9.
Take the next digit (1) from the dividend and append it to 9, then repeat: 91 / 972

Advancing to step 5:
91 divided by 972 is 0 with a remainder of 91.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
Subtracting 0 from 91 leaves us with 91.
Grab the next digit (2) from the dividend, add it to 91, then carry on: 912 / 972

Let's proceed to step 6:
When dividing 912 by 972, we get 0 with a remainder of 912.
Record the quotient 0 as the next digit in the result. 
Result so far: 400.0
Subtracting 0 from 912 leaves us with 912.
Take the next digit (8) from the dividend and append it to 912, then repeat: 9128 / 972

Step 7:
972 can be fit into 9128 9 times, resulting in a remainder of 380.
Put 9 as the next digit of the answer. 
Result so far: 4009.0
Deduct 8748 from 9128 and we're left with 380.
Take the next digit (9) from the dividend and append it to 380, then repeat: 3809 / 972

Moving on to step 8:
972 can be fit into 3809 3 times, resulting in a remainder of 893.
Write down 3 as next digit of the result. 
Result so far: 40093.0
Deduct 2916 from 3809 and we're left with 893.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8930, and continue the process.

Advancing to step 9:
When dividing 8930 by 972, we get 9 with a remainder of 182.
The next digit of our result is 9. 
Result so far: 40093.9
Deduct 8748 from 8930 and we're left with 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

On to step 10:
The number 972 fits into 1820 1 times, leaving a remainder of 848.
Use 1 as the next digit of our solution. 
Result so far: 40093.91
The remainder is 848 after subtracting 972 from 1820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8480, and continue the process.

Advancing to step 11:
When dividing 8480 by 972, we get 8 with a remainder of 704.
Use 8 as the next digit of our solution. 
Result so far: 40093.918
If we take 7776 away from 8480, we end up with 704.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7040, and continue the process.

Going ahead to step 12:
If we divide 7040 by 972, we get 7 and a remainder of 236.
Write down 7 as next digit of the result. 
Result so far: 40093.9187
Subtract 6804 from 7040 to get 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Advancing to step 13:
When dividing 2360 by 972, we get 2 with a remainder of 416.
Record the quotient 2 as the next digit in the result. 
Result so far: 40093.91872
Subtracting 1944 from 2360 leaves us with 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Going ahead to step 14:
The number 972 fits into 4160 4 times, leaving a remainder of 272.
The number 4 becomes the next digit in our result. 
Result so far: 40093.918724
If we subtract 3888 from 4160, we get 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Advancing to step 15:
The number 972 fits into 2720 2 times, leaving a remainder of 776.
Write down 2 as next digit of the result. 
Result so far: 40093.9187242
Subtract 1944 from 2720 to get 776.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7760, and continue the process.

On to step 16:
972 goes into 7760 7 times with a remainder of 956.
The next digit of our result is 7. 
Result so far: 40093.91872427
Deduct 6804 from 7760 and we're left with 956.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9560, and continue the process.

In conclusion, the division gives 40093.91872427 with a balance of 9.56e-07.