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

Advancing to step 1:
The number 38 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 38

Going ahead to step 2:
If we divide 14 by 38, we get 0 and a remainder of 14.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 14 after subtracting 0 from 14.
Append the next digit (0) from the dividend to 14 and continue with: 140 / 38

Let's proceed to step 3:
When dividing 140 by 38, we get 3 with a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 26 after subtracting 114 from 140.
Take the next digit (7) from the dividend and append it to 26, then repeat: 267 / 38

On to step 4:
38 goes into 267 7 times with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 37.0
Deduct 266 from 267 and we're left with 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 38

Advancing to step 5:
38 goes into 12 0 times with a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 370.0
If we take 0 away from 12, we end up with 12.
Fetch the next digit (7) from the dividend, attach it to 12 and continue: 127 / 38

Step 6:
38 goes into 127 3 times with a remainder of 13.
Record the quotient 3 as the next digit in the result. 
Result so far: 3703.0
Subtracting 114 from 127 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 7:
38 goes into 130 3 times with a remainder of 16.
The next digit of our result is 3. 
Result so far: 3703.3
Subtracting 114 from 130 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
When dividing 160 by 38, we get 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 3703.34
Subtract 152 from 160 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
80 divided by 38 is 2 with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 3703.342
If we subtract 76 from 80, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 10:
When dividing 40 by 38, we get 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 3703.3421
If we take 38 away from 40, we end up with 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 11:
The number 38 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 3703.3421
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.

Let's proceed to step 12:
200 divided by 38 is 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 3703.342105
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 13:
38 goes into 100 2 times with a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 3703.3421052
Subtracting 76 from 100 leaves us 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.

Going ahead to step 14:
The number 38 fits into 240 6 times, leaving a remainder of 12.
The next digit of our result is 6. 
Result so far: 3703.34210526
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.

Our division results in 3703.34210526 with a remaining 1.2e-08.