31412 divided by 78 
The aim is to understand the frequency of 78 in 31412.

Let's proceed to step 1:
78 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 78

Let's proceed to step 2:
The number 78 fits into 31 0 times, leaving a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Append the next digit (4) from the dividend to 31 and continue with: 314 / 78

On to step 3:
78 goes into 314 4 times with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtract 312 from 314 to get 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 78

On to step 4:
When dividing 21 by 78, we get 0 with a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Subtracting 0 from 21 leaves us with 21.
Include the next digit (2) from the dividend after 21, then repeat: 212 / 78

Moving on to step 5:
78 can be fit into 212 2 times, resulting in a remainder of 56.
Record the quotient 2 as the next digit in the result. 
Result so far: 402.0
Subtracting 156 from 212 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 6:
When dividing 560 by 78, we get 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 402.7
Subtracting 546 from 560 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 7:
78 goes into 140 1 times with a remainder of 62.
Record the quotient 1 as the next digit in the result. 
Result so far: 402.71
Subtracting 78 from 140 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Going ahead to step 8:
The number 78 fits into 620 7 times, leaving a remainder of 74.
Use 7 as the next digit of our solution. 
Result so far: 402.717
Subtracting 546 from 620 leaves us with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 9:
78 goes into 740 9 times with a remainder of 38.
The next digit of our result is 9. 
Result so far: 402.7179
Deduct 702 from 740 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 10:
When dividing 380 by 78, we get 4 with a remainder of 68.
The number 4 becomes the next digit in our result. 
Result so far: 402.71794
The remainder is 68 after subtracting 312 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

On to step 11:
78 goes into 680 8 times with a remainder of 56.
Write down 8 as next digit of the result. 
Result so far: 402.717948
If we take 624 away from 680, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 12:
78 goes into 560 7 times with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 402.7179487
If we subtract 546 from 560, 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.

Let's proceed to step 13:
If we divide 140 by 78, we get 1 and a remainder of 62.
The next digit of our result is 1. 
Result so far: 402.71794871
Deduct 78 from 140 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

The final result is 402.71794871 with a remainder of 6.2e-08.