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

On to step 1:
4 divided by 78 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 78

On to step 2:
The number 78 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Bring next digit (1) of the dividend behind the 40 and repeat the process: 401 / 78

Advancing to step 3:
If we divide 401 by 78, we get 5 and a remainder of 11.
The next digit of our result is 5. 
Result so far: 5.0
If we take 390 away from 401, we end up with 11.
Bring next digit (1) of the dividend behind the 11 and repeat the process: 111 / 78

Moving on to step 4:
111 divided by 78 is 1 with a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
The remainder is 33 after subtracting 78 from 111.
Bring next digit (6) of the dividend behind the 33 and repeat the process: 336 / 78

Going ahead to step 5:
If we divide 336 by 78, we get 4 and a remainder of 24.
The number 4 becomes the next digit in our result. 
Result so far: 514.0
The remainder is 24 after subtracting 312 from 336.
Take the next digit (0) from the dividend and append it to 24, then repeat: 240 / 78

On to step 6:
78 goes into 240 3 times with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 5143.0
Subtract 234 from 240 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.

Advancing to step 7:
When dividing 60 by 78, we get 0 with a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 5143.0
Subtracting 0 from 60 leaves us with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 8:
78 goes into 600 7 times with a remainder of 54.
The number 7 becomes the next digit in our result. 
Result so far: 5143.07
Deduct 546 from 600 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 9:
78 goes into 540 6 times with a remainder of 72.
Use 6 as the next digit of our solution. 
Result so far: 5143.076
If we subtract 468 from 540, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 10:
78 can be fit into 720 9 times, resulting in a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 5143.0769
Subtract 702 from 720 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 11:
When dividing 180 by 78, we get 2 with a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 5143.07692
If we subtract 156 from 180, we 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.

On to step 12:
If we divide 240 by 78, we get 3 and a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 5143.076923
If we subtract 234 from 240, we 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.

Step 13:
78 goes into 60 0 times with a remainder of 60.
The number 0 becomes the next digit in our result. 
Result so far: 5143.076923
If we take 0 away from 60, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 14:
If we divide 600 by 78, we get 7 and a remainder of 54.
Record the quotient 7 as the next digit in the result. 
Result so far: 5143.07692307
Deduct 546 from 600 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

The final outcome is 5143.07692307, with a leftover of 5.4e-08.