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

Going ahead to step 1:
9 divided by 38 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 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.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 76 from 97 to get 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 38

Step 3:
38 can be fit into 218 5 times, resulting in a remainder of 28.
The next digit of our result is 5. 
Result so far: 25.0
Subtracting 190 from 218 leaves us with 28.
Take the next digit (3) from the dividend and append it to 28, then repeat: 283 / 38

Step 4:
The number 38 fits into 283 7 times, leaving a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 257.0
If we take 266 away from 283, we end up with 17.
Take the next digit (2) from the dividend and append it to 17, then repeat: 172 / 38

Advancing to step 5:
38 can be fit into 172 4 times, resulting in a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 2574.0
Subtracting 152 from 172 leaves us with 20.
Append the next digit (9) from the dividend to 20 and continue with: 209 / 38

Step 6:
When dividing 209 by 38, we get 5 with a remainder of 19.
The number 5 becomes the next digit in our result. 
Result so far: 25745.0
Deduct 190 from 209 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 7:
The number 38 fits into 190 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 25745.5
Deduct 190 from 190 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
When dividing 0 by 38, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 25745.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
When dividing 0 by 38, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 25745.5
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 25745.5 and a remainder of 0.0.