We divide 291791 by 78
The aim is to understand the frequency of 78 in 291791.

On to step 1:
If we divide 2 by 78, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 78

Moving on to step 2:
The number 78 fits into 29 0 times, leaving a remainder of 29.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 29 and we're left with 29.
Take the next digit (1) from the dividend and append it to 29, then repeat: 291 / 78

Step 3:
78 goes into 291 3 times with a remainder of 57.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Deduct 234 from 291 and we're left with 57.
Take the next digit (7) from the dividend and append it to 57, then repeat: 577 / 78

Step 4:
When dividing 577 by 78, we get 7 with a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 37.0
Subtract 546 from 577 to get 31.
Take the next digit (9) from the dividend and append it to 31, then repeat: 319 / 78

Moving on to step 5:
The number 78 fits into 319 4 times, leaving a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 374.0
If we subtract 312 from 319, we get 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 78

On to step 6:
When dividing 71 by 78, we get 0 with a remainder of 71.
Use 0 as the next digit of our solution. 
Result so far: 3740.0
Subtract 0 from 71 to get 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Let's proceed to step 7:
When dividing 710 by 78, we get 9 with a remainder of 8.
Record the quotient 9 as the next digit in the result. 
Result so far: 3740.9
The remainder is 8 after subtracting 702 from 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
78 can be fit into 80 1 times, resulting in a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 3740.91
Subtract 78 from 80 to 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.

Moving on to step 9:
78 goes into 20 0 times with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 3740.91
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.

Going ahead to step 10:
If we divide 200 by 78, we get 2 and a remainder of 44.
Use 2 as the next digit of our solution. 
Result so far: 3740.9102
The remainder is 44 after subtracting 156 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 11:
440 divided by 78 is 5 with a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 3740.91025
Deduct 390 from 440 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 12:
When dividing 500 by 78, we get 6 with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 3740.910256
Subtracting 468 from 500 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 13:
78 can be fit into 320 4 times, resulting in a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 3740.9102564
Subtract 312 from 320 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 14:
When dividing 80 by 78, we get 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 3740.91025641
Subtracting 78 from 80 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.

Our division results in 3740.91025641 with a remaining 2e-09.