We're dividing 971338 by 38 
The aim is to understand the frequency of 38 in 971338.

Advancing to step 1:
The number 38 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Bring next digit (7) of the dividend behind the 9 and repeat the process: 97 / 38

Advancing to step 2:
The number 38 fits into 97 2 times, leaving a remainder of 21.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 76 from 97, we get 21.
Include the next digit (1) from the dividend after 21, then repeat: 211 / 38

Moving on to step 3:
211 divided by 38 is 5 with a remainder of 21.
Write down 5 as next digit of the result. 
Result so far: 25.0
Subtracting 190 from 211 leaves us with 21.
Include the next digit (3) from the dividend after 21, then repeat: 213 / 38

Moving on to step 4:
If we divide 213 by 38, we get 5 and a remainder of 23.
Write down 5 as next digit of the result. 
Result so far: 255.0
If we take 190 away from 213, we end up with 23.
Include the next digit (3) from the dividend after 23, then repeat: 233 / 38

Let's proceed to step 5:
When dividing 233 by 38, we get 6 with a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 2556.0
The remainder is 5 after subtracting 228 from 233.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 38

Advancing to step 6:
The number 38 fits into 58 1 times, leaving a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 25561.0
Deduct 38 from 58 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 7:
The number 38 fits into 200 5 times, leaving a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 25561.5
Subtract 190 from 200 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
38 goes into 100 2 times with a remainder of 24.
The next digit of our result is 2. 
Result so far: 25561.52
Subtract 76 from 100 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 9:
The number 38 fits into 240 6 times, leaving a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 25561.526
If we take 228 away from 240, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 10:
When dividing 120 by 38, we get 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 25561.5263
If we take 114 away from 120, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 11:
If we divide 60 by 38, we get 1 and a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 25561.52631
The remainder is 22 after subtracting 38 from 60.
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 12:
38 goes into 220 5 times with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 25561.526315
Subtracting 190 from 220 leaves us with 30.
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 13:
38 can be fit into 300 7 times, resulting in a remainder of 34.
The next digit of our result is 7. 
Result so far: 25561.5263157
Subtracting 266 from 300 leaves us 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.

Going ahead to step 14:
If we divide 340 by 38, we get 8 and a remainder of 36.
The next digit of our result is 8. 
Result so far: 25561.52631578
The remainder is 36 after subtracting 304 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Our division results in 25561.52631578 with a remaining 3.6e-08.