Let's divide 368908 by 38
The aim is to understand the frequency of 38 in 368908.

On to step 1:
If we divide 3 by 38, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 38

Moving on to step 2:
When dividing 36 by 38, we get 0 with a remainder of 36.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 36 leaves us with 36.
Grab the next digit (8) from the dividend, add it to 36, then carry on: 368 / 38

Let's proceed to step 3:
If we divide 368 by 38, we get 9 and a remainder of 26.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we take 342 away from 368, we end up with 26.
Bring next digit (9) of the dividend behind the 26 and repeat the process: 269 / 38

Step 4:
38 can be fit into 269 7 times, resulting in a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 97.0
If we take 266 away from 269, we end up with 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 38

Step 5:
When dividing 30 by 38, we get 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 970.0
The remainder is 30 after subtracting 0 from 30.
Grab the next digit (8) from the dividend, add it to 30, then carry on: 308 / 38

Let's proceed to step 6:
38 goes into 308 8 times with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 9708.0
If we take 304 away from 308, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
40 divided by 38 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 9708.1
If we subtract 38 from 40, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
38 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 9708.1
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
38 can be fit into 200 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 9708.105
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 10:
100 divided by 38 is 2 with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 9708.1052
If we take 76 away from 100, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 11:
38 goes into 240 6 times with a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 9708.10526
Subtracting 228 from 240 leaves us 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 12:
If we divide 120 by 38, we get 3 and a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 9708.105263
Deduct 114 from 120 and we're left 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.

Moving on to step 13:
60 divided by 38 is 1 with a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 9708.1052631
Deduct 38 from 60 and we're left 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.

Let's proceed to step 14:
220 divided by 38 is 5 with a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 9708.10526315
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.

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