We divide 342781 by 38
The aim is to understand the frequency of 38 in 342781.

On to step 1:
The number 38 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 38

Moving on to step 2:
When dividing 34 by 38, we get 0 with a remainder of 34.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 34 to get 34.
Fetch the next digit (2) from the dividend, attach it to 34 and continue: 342 / 38

Moving on to step 3:
342 divided by 38 is 9 with a remainder of 0.
The next digit of our result is 9. 
Result so far: 9.0
Subtract 342 from 342 to get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 38

Step 4:
7 divided by 38 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 90.0
If we subtract 0 from 7, we get 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 38

Step 5:
38 can be fit into 78 2 times, resulting in a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 902.0
If we take 76 away from 78, we end up with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 38

Going ahead to step 6:
38 goes into 21 0 times with a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 9020.0
The remainder is 21 after subtracting 0 from 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 7:
The number 38 fits into 210 5 times, leaving a remainder of 20.
The next digit of our result is 5. 
Result so far: 9020.5
If we subtract 190 from 210, 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 8:
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: 9020.55
Deduct 190 from 200 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 9020.55 and a remainder of 0.01.