986318 divided by 38 
The aim is to understand the frequency of 38 in 986318.

Let's proceed to step 1:
If we divide 9 by 38, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 38

Going ahead to step 2:
The number 38 fits into 98 2 times, leaving a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 22 after subtracting 76 from 98.
Bring next digit (6) of the dividend behind the 22 and repeat the process: 226 / 38

On to step 3:
38 can be fit into 226 5 times, resulting in a remainder of 36.
Use 5 as the next digit of our solution. 
Result so far: 25.0
The remainder is 36 after subtracting 190 from 226.
Fetch the next digit (3) from the dividend, attach it to 36 and continue: 363 / 38

Step 4:
363 divided by 38 is 9 with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 259.0
Subtracting 342 from 363 leaves us with 21.
Bring next digit (1) of the dividend behind the 21 and repeat the process: 211 / 38

Let's proceed to step 5:
38 goes into 211 5 times with a remainder of 21.
Put 5 as the next digit of the answer. 
Result so far: 2595.0
If we subtract 190 from 211, we get 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 38

Going ahead to step 6:
38 goes into 218 5 times with a remainder of 28.
The next digit of our result is 5. 
Result so far: 25955.0
Deduct 190 from 218 and we're left 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.

Step 7:
When dividing 280 by 38, we get 7 with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 25955.7
The remainder is 14 after subtracting 266 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 8:
38 can be fit into 140 3 times, resulting in a remainder of 26.
The next digit of our result is 3. 
Result so far: 25955.73
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.

Step 9:
38 can be fit into 260 6 times, resulting in a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 25955.736
Subtracting 228 from 260 leaves us 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 10:
If we divide 320 by 38, we get 8 and a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 25955.7368
Deduct 304 from 320 and we're left 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.

On to step 11:
When dividing 160 by 38, we get 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 25955.73684
Deduct 152 from 160 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 12:
38 goes into 80 2 times with a remainder of 4.
The next digit of our result is 2. 
Result so far: 25955.736842
If we take 76 away from 80, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 13:
When dividing 40 by 38, we get 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 25955.7368421
The remainder is 2 after subtracting 38 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 14:
The number 38 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 25955.7368421
Subtract 0 from 20 to 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.

The quotient of the division is 25955.7368421, and the remainder is 2e-08.