We divide 78991 by 38
We want to figure out the number of times 78991 can be divided by 38.

Moving on to step 1:
7 divided by 38 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 38

Moving on to step 2:
If we divide 78 by 38, we get 2 and a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 76 away from 78, we end up with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 38

Advancing to step 3:
The number 38 fits into 29 0 times, leaving a remainder of 29.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
Subtract 0 from 29 to get 29.
Take the next digit (9) from the dividend and append it to 29, then repeat: 299 / 38

Going ahead to step 4:
The number 38 fits into 299 7 times, leaving a remainder of 33.
Record the quotient 7 as the next digit in the result. 
Result so far: 207.0
The remainder is 33 after subtracting 266 from 299.
Fetch the next digit (1) from the dividend, attach it to 33 and continue: 331 / 38

Let's proceed to step 5:
38 can be fit into 331 8 times, resulting in a remainder of 27.
The number 8 becomes the next digit in our result. 
Result so far: 2078.0
Subtracting 304 from 331 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 6:
38 can be fit into 270 7 times, resulting in a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 2078.7
If we take 266 away from 270, 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.

Step 7:
When dividing 40 by 38, we get 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 2078.71
Subtracting 38 from 40 leaves us 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.

Let's proceed to step 8:
If we divide 20 by 38, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 2078.71
If we take 0 away from 20, we end up 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.

Let's proceed to step 9:
200 divided by 38 is 5 with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 2078.7105
Subtracting 190 from 200 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 10:
100 divided by 38 is 2 with a remainder of 24.
The next digit of our result is 2. 
Result so far: 2078.71052
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.

Step 11:
240 divided by 38 is 6 with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 2078.710526
Deduct 228 from 240 and we're left 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.

On to step 12:
38 can be fit into 120 3 times, resulting in a remainder of 6.
The next digit of our result is 3. 
Result so far: 2078.7105263
Subtract 114 from 120 to 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.

Let's proceed to step 13:
38 can be fit into 60 1 times, resulting in a remainder of 22.
The next digit of our result is 1. 
Result so far: 2078.71052631
Deduct 38 from 60 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final result is 2078.71052631 with a remainder of 2.2e-08.