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

Advancing to step 1:
When dividing 1 by 38, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 38

Going ahead to step 2:
15 divided by 38 is 0 with a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 15 to get 15.
Grab the next digit (1) from the dividend, add it to 15, then carry on: 151 / 38

Going ahead to step 3:
The number 38 fits into 151 3 times, leaving a remainder of 37.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 114 from 151, we get 37.
Take the next digit (9) from the dividend and append it to 37, then repeat: 379 / 38

On to step 4:
38 goes into 379 9 times with a remainder of 37.
Use 9 as the next digit of our solution. 
Result so far: 39.0
If we subtract 342 from 379, we get 37.
Take the next digit (6) from the dividend and append it to 37, then repeat: 376 / 38

Advancing to step 5:
If we divide 376 by 38, we get 9 and a remainder of 34.
Put 9 as the next digit of the answer. 
Result so far: 399.0
Subtracting 342 from 376 leaves us with 34.
Fetch the next digit (8) from the dividend, attach it to 34 and continue: 348 / 38

Going ahead to step 6:
The number 38 fits into 348 9 times, leaving a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 3999.0
If we take 342 away from 348, 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.

On to step 7:
60 divided by 38 is 1 with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 3999.1
If we take 38 away from 60, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 8:
38 goes into 220 5 times with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 3999.15
If we subtract 190 from 220, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 9:
If we divide 300 by 38, we get 7 and a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 3999.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:
If we divide 340 by 38, we get 8 and a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 3999.1578
Subtract 304 from 340 to 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.

Going ahead to step 11:
360 divided by 38 is 9 with a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 3999.15789
If we take 342 away from 360, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 12:
The number 38 fits into 180 4 times, leaving a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 3999.157894
The remainder is 28 after subtracting 152 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 13:
38 goes into 280 7 times with a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 3999.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:
If we divide 140 by 38, we get 3 and a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 3999.15789473
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.

After the division, we end up with 3999.15789473 and a remainder of 2.6e-08.