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

Step 1:
If we divide 3 by 38, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (5) of the dividend behind the 3 and repeat the process: 35 / 38

On to step 2:
35 divided by 38 is 0 with a remainder of 35.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 35 leaves us with 35.
Fetch the next digit (0) from the dividend, attach it to 35 and continue: 350 / 38

Going ahead to step 3:
38 goes into 350 9 times with a remainder of 8.
The next digit of our result is 9. 
Result so far: 9.0
Subtracting 342 from 350 leaves us with 8.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 38

Step 4:
38 can be fit into 81 2 times, resulting in a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 92.0
If we subtract 76 from 81, we get 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 38

On to step 5:
38 can be fit into 53 1 times, resulting in a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 921.0
The remainder is 15 after subtracting 38 from 53.
Bring next digit (5) of the dividend behind the 15 and repeat the process: 155 / 38

On to step 6:
If we divide 155 by 38, we get 4 and a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 9214.0
If we subtract 152 from 155, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
30 divided by 38 is 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 9214.0
If we take 0 away from 30, 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 8:
When dividing 300 by 38, we get 7 with a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 9214.07
Subtracting 266 from 300 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 9:
When dividing 340 by 38, we get 8 with a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 9214.078
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.

On to step 10:
38 goes into 360 9 times with a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 9214.0789
Deduct 342 from 360 and we're left 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.

Advancing to step 11:
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: 9214.07894
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 12:
38 can be fit into 280 7 times, resulting in a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 9214.078947
If we take 266 away from 280, we end up with 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 13:
140 divided by 38 is 3 with a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 9214.0789473
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.

Advancing to step 14:
38 goes into 260 6 times with a remainder of 32.
The next digit of our result is 6. 
Result so far: 9214.07894736
If we take 228 away from 260, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The quotient of the division is 9214.07894736, and the remainder is 3.2e-08.