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

On 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
Subtracting 0 from 9 leaves us with 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 38

Going ahead to step 2:
The number 38 fits into 96 2 times, leaving a remainder of 20.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 76 from 96 leaves us with 20.
Fetch the next digit (0) from the dividend, attach it to 20 and continue: 200 / 38

Step 3:
200 divided by 38 is 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 25.0
If we take 190 away from 200, we end up with 10.
Grab the next digit (7) from the dividend, add it to 10, then carry on: 107 / 38

Moving on to step 4:
38 can be fit into 107 2 times, resulting in a remainder of 31.
Use 2 as the next digit of our solution. 
Result so far: 252.0
If we take 76 away from 107, we end up with 31.
Fetch the next digit (9) from the dividend, attach it to 31 and continue: 319 / 38

Moving on to step 5:
319 divided by 38 is 8 with a remainder of 15.
Put 8 as the next digit of the answer. 
Result so far: 2528.0
Subtract 304 from 319 to get 15.
Grab the next digit (8) from the dividend, add it to 15, then carry on: 158 / 38

Let's proceed to step 6:
158 divided by 38 is 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 25284.0
If we subtract 152 from 158, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
If we divide 60 by 38, we get 1 and a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 25284.1
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.

Let's proceed to step 8:
220 divided by 38 is 5 with a remainder of 30.
The next digit of our result is 5. 
Result so far: 25284.15
If we take 190 away from 220, we end up 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 9:
300 divided by 38 is 7 with a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 25284.157
The remainder is 34 after subtracting 266 from 300.
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 10:
When dividing 340 by 38, we get 8 with a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 25284.1578
If we take 304 away from 340, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 11:
38 can be fit into 360 9 times, resulting in a remainder of 18.
The next digit of our result is 9. 
Result so far: 25284.15789
If we subtract 342 from 360, we 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.

Let's proceed to step 12:
180 divided by 38 is 4 with a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 25284.157894
Subtract 152 from 180 to get 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 13:
When dividing 280 by 38, we get 7 with a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 25284.1578947
If we subtract 266 from 280, we 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.

On to step 14:
38 goes into 140 3 times with a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 25284.15789473
Deduct 114 from 140 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Our division results in 25284.15789473 with a remaining 2.6e-08.