We look at the division of 972290 by 38 
The aim is to understand the frequency of 38 in 972290.

On to step 1:
When dividing 9 by 38, we get 0 with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Grab the next digit (7) from the dividend, add it to 9, then carry on: 97 / 38

Moving on to step 2:
If we divide 97 by 38, we get 2 and a remainder of 21.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 76 from 97, we get 21.
Bring next digit (2) of the dividend behind the 21 and repeat the process: 212 / 38

Moving on to step 3:
212 divided by 38 is 5 with a remainder of 22.
Write down 5 as next digit of the result. 
Result so far: 25.0
If we subtract 190 from 212, we get 22.
Include the next digit (2) from the dividend after 22, then repeat: 222 / 38

On to step 4:
38 can be fit into 222 5 times, resulting in a remainder of 32.
Use 5 as the next digit of our solution. 
Result so far: 255.0
Subtracting 190 from 222 leaves us with 32.
Grab the next digit (9) from the dividend, add it to 32, then carry on: 329 / 38

Step 5:
If we divide 329 by 38, we get 8 and a remainder of 25.
Use 8 as the next digit of our solution. 
Result so far: 2558.0
If we take 304 away from 329, we end up with 25.
Fetch the next digit (0) from the dividend, attach it to 25 and continue: 250 / 38

Advancing to step 6:
If we divide 250 by 38, we get 6 and a remainder of 22.
Write down 6 as next digit of the result. 
Result so far: 25586.0
If we subtract 228 from 250, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 7:
When dividing 220 by 38, we get 5 with a remainder of 30.
The next digit of our result is 5. 
Result so far: 25586.5
The remainder is 30 after subtracting 190 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
300 divided by 38 is 7 with a remainder of 34.
Put 7 as the next digit of the answer. 
Result so far: 25586.57
If we take 266 away from 300, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 9:
When dividing 340 by 38, we get 8 with a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 25586.578
If we subtract 304 from 340, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 10:
38 goes into 360 9 times with a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 25586.5789
Subtract 342 from 360 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 11:
If we divide 180 by 38, we get 4 and a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 25586.57894
Deduct 152 from 180 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 12:
The number 38 fits into 280 7 times, leaving a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 25586.578947
Subtract 266 from 280 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 13:
The number 38 fits into 140 3 times, leaving a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 25586.5789473
The remainder is 26 after subtracting 114 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 14:
260 divided by 38 is 6 with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 25586.57894736
Deduct 228 from 260 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final outcome is 25586.57894736, with a leftover of 3.2e-08.