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

Going ahead to step 1:
38 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 38

On to step 2:
The number 38 fits into 78 2 times, leaving a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 76 away from 78, we end up with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 38

Advancing to step 3:
If we divide 27 by 38, we get 0 and a remainder of 27.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
If we subtract 0 from 27, we get 27.
Grab the next digit (2) from the dividend, add it to 27, then carry on: 272 / 38

Advancing to step 4:
If we divide 272 by 38, we get 7 and a remainder of 6.
The next digit of our result is 7. 
Result so far: 207.0
If we take 266 away from 272, we end up with 6.
Append the next digit (3) from the dividend to 6 and continue with: 63 / 38

Let's proceed to step 5:
When dividing 63 by 38, we get 1 with a remainder of 25.
The next digit of our result is 1. 
Result so far: 2071.0
Deduct 38 from 63 and we're left with 25.
Append the next digit (9) from the dividend to 25 and continue with: 259 / 38

Let's proceed to step 6:
38 can be fit into 259 6 times, resulting in a remainder of 31.
The next digit of our result is 6. 
Result so far: 20716.0
The remainder is 31 after subtracting 228 from 259.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 7:
38 goes into 310 8 times with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 20716.8
If we subtract 304 from 310, 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.

Moving on to step 8:
When dividing 60 by 38, we get 1 with a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 20716.81
Subtract 38 from 60 to 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.

Advancing to step 9:
38 can be fit into 220 5 times, resulting in a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 20716.815
The remainder is 30 after subtracting 190 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 10:
38 goes into 300 7 times with a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 20716.8157
If we take 266 away from 300, we end up 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.

Step 11:
When dividing 340 by 38, we get 8 with a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 20716.81578
Deduct 304 from 340 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 12:
360 divided by 38 is 9 with a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 20716.815789
If we take 342 away from 360, we end up 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.

On to step 13:
The number 38 fits into 180 4 times, leaving a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 20716.8157894
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.

On to step 14:
38 can be fit into 280 7 times, resulting in a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 20716.81578947
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.

The quotient of the division is 20716.81578947, and the remainder is 1.4e-08.