We're dividing 34871 by 78 
The aim is to understand the frequency of 78 in 34871.

Let's proceed to step 1:
3 divided by 78 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 78

On to step 2:
78 can be fit into 34 0 times, resulting in a remainder of 34.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 34 after subtracting 0 from 34.
Take the next digit (8) from the dividend and append it to 34, then repeat: 348 / 78

Advancing to step 3:
348 divided by 78 is 4 with a remainder of 36.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 312 from 348 to get 36.
Append the next digit (7) from the dividend to 36 and continue with: 367 / 78

Step 4:
The number 78 fits into 367 4 times, leaving a remainder of 55.
The number 4 becomes the next digit in our result. 
Result so far: 44.0
Subtract 312 from 367 to get 55.
Fetch the next digit (1) from the dividend, attach it to 55 and continue: 551 / 78

On to step 5:
The number 78 fits into 551 7 times, leaving a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 447.0
Subtracting 546 from 551 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 6:
If we divide 50 by 78, we get 0 and a remainder of 50.
The next digit of our result is 0. 
Result so far: 447.0
If we take 0 away from 50, we end up 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.

On to step 7:
If we divide 500 by 78, we get 6 and a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 447.06
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.

Step 8:
When dividing 320 by 78, we get 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 447.064
Subtracting 312 from 320 leaves us 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 9:
The number 78 fits into 80 1 times, leaving a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 447.0641
The remainder is 2 after subtracting 78 from 80.
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 10:
78 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 447.0641
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 11:
200 divided by 78 is 2 with a remainder of 44.
Write down 2 as next digit of the result. 
Result so far: 447.064102
If we subtract 156 from 200, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 12:
78 goes into 440 5 times with a remainder of 50.
The number 5 becomes the next digit in our result. 
Result so far: 447.0641025
Subtract 390 from 440 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 13:
The number 78 fits into 500 6 times, leaving a remainder of 32.
The number 6 becomes the next digit in our result. 
Result so far: 447.06410256
If we subtract 468 from 500, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final outcome is 447.06410256, with a leftover of 3.2e-08.