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

Moving on to step 1:
If we divide 7 by 38, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 38

On to step 2:
38 goes into 79 2 times with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 76 from 79 and we're left with 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 38

Moving on to step 3:
38 can be fit into 33 0 times, resulting in a remainder of 33.
Use 0 as the next digit of our solution. 
Result so far: 20.0
Subtract 0 from 33 to get 33.
Bring next digit (3) of the dividend behind the 33 and repeat the process: 333 / 38

Going ahead to step 4:
If we divide 333 by 38, we get 8 and a remainder of 29.
Record the quotient 8 as the next digit in the result. 
Result so far: 208.0
Deduct 304 from 333 and we're left with 29.
Include the next digit (9) from the dividend after 29, then repeat: 299 / 38

Moving on to step 5:
38 goes into 299 7 times with a remainder of 33.
Use 7 as the next digit of our solution. 
Result so far: 2087.0
Subtract 266 from 299 to get 33.
Grab the next digit (4) from the dividend, add it to 33, then carry on: 334 / 38

Going ahead to step 6:
The number 38 fits into 334 8 times, leaving a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 20878.0
Deduct 304 from 334 and we're left 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.

Advancing to step 7:
The number 38 fits into 300 7 times, leaving a remainder of 34.
The next digit of our result is 7. 
Result so far: 20878.7
Deduct 266 from 300 and we're left 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.

On to step 8:
The number 38 fits into 340 8 times, leaving a remainder of 36.
The next digit of our result is 8. 
Result so far: 20878.78
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 9:
If we divide 360 by 38, we get 9 and a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 20878.789
Subtract 342 from 360 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 10:
When dividing 180 by 38, we get 4 with a remainder of 28.
The next digit of our result is 4. 
Result so far: 20878.7894
Subtracting 152 from 180 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 11:
38 can be fit into 280 7 times, resulting in a remainder of 14.
The next digit of our result is 7. 
Result so far: 20878.78947
If we subtract 266 from 280, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 12:
38 can be fit into 140 3 times, resulting in a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 20878.789473
If we subtract 114 from 140, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 13:
260 divided by 38 is 6 with a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 20878.7894736
Deduct 228 from 260 and we're left 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.

On to step 14:
When dividing 320 by 38, we get 8 with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 20878.78947368
If we subtract 304 from 320, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The quotient of the division is 20878.78947368, and the remainder is 1.6e-08.