170814 ÷ 38 
The aim is to understand the frequency of 38 in 170814.

On to step 1:
38 goes into 1 0 times with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 38

Going ahead to step 2:
17 divided by 38 is 0 with a remainder of 17.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 17 and we're left with 17.
Take the next digit (0) from the dividend and append it to 17, then repeat: 170 / 38

Going ahead to step 3:
When dividing 170 by 38, we get 4 with a remainder of 18.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Deduct 152 from 170 and we're left with 18.
Grab the next digit (8) from the dividend, add it to 18, then carry on: 188 / 38

Moving on to step 4:
If we divide 188 by 38, we get 4 and a remainder of 36.
Put 4 as the next digit of the answer. 
Result so far: 44.0
Subtracting 152 from 188 leaves us with 36.
Append the next digit (1) from the dividend to 36 and continue with: 361 / 38

Step 5:
38 goes into 361 9 times with a remainder of 19.
The next digit of our result is 9. 
Result so far: 449.0
Deduct 342 from 361 and we're left with 19.
Bring next digit (4) of the dividend behind the 19 and repeat the process: 194 / 38

Advancing to step 6:
38 goes into 194 5 times with a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 4495.0
If we subtract 190 from 194, 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.

Let's proceed to step 7:
The number 38 fits into 40 1 times, leaving a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 4495.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.

Going ahead to step 8:
If we divide 20 by 38, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 4495.1
Subtracting 0 from 20 leaves us with 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:
If we divide 200 by 38, we get 5 and a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 4495.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.

On to step 10:
100 divided by 38 is 2 with a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 4495.1052
Subtract 76 from 100 to get 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 11:
38 goes into 240 6 times with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 4495.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.

Going ahead to step 12:
The number 38 fits into 120 3 times, leaving a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 4495.105263
If we subtract 114 from 120, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
38 goes into 60 1 times with a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 4495.1052631
If we subtract 38 from 60, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 14:
When dividing 220 by 38, we get 5 with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 4495.10526315
Subtract 190 from 220 to 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.

The final outcome is 4495.10526315, with a leftover of 3e-08.