581589 ÷ 78 
The aim is to understand the frequency of 78 in 581589.

Advancing to step 1:
78 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 78

Let's proceed to step 2:
58 divided by 78 is 0 with a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 58 after subtracting 0 from 58.
Include the next digit (1) from the dividend after 58, then repeat: 581 / 78

Let's proceed to step 3:
When dividing 581 by 78, we get 7 with a remainder of 35.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we subtract 546 from 581, we get 35.
Grab the next digit (5) from the dividend, add it to 35, then carry on: 355 / 78

On to step 4:
78 can be fit into 355 4 times, resulting in a remainder of 43.
The next digit of our result is 4. 
Result so far: 74.0
If we take 312 away from 355, we end up with 43.
Append the next digit (8) from the dividend to 43 and continue with: 438 / 78

Going ahead to step 5:
438 divided by 78 is 5 with a remainder of 48.
The number 5 becomes the next digit in our result. 
Result so far: 745.0
The remainder is 48 after subtracting 390 from 438.
Take the next digit (9) from the dividend and append it to 48, then repeat: 489 / 78

Moving on to step 6:
The number 78 fits into 489 6 times, leaving a remainder of 21.
The number 6 becomes the next digit in our result. 
Result so far: 7456.0
If we subtract 468 from 489, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 7:
210 divided by 78 is 2 with a remainder of 54.
Put 2 as the next digit of the answer. 
Result so far: 7456.2
If we subtract 156 from 210, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Going ahead to step 8:
If we divide 540 by 78, we get 6 and a remainder of 72.
The next digit of our result is 6. 
Result so far: 7456.26
Deduct 468 from 540 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Advancing to step 9:
The number 78 fits into 720 9 times, leaving a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 7456.269
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.

Moving on to step 10:
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: 7456.2692
Subtract 156 from 180 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.

On to step 11:
If we divide 240 by 78, we get 3 and a remainder of 6.
The next digit of our result is 3. 
Result so far: 7456.26923
The remainder is 6 after subtracting 234 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 12:
78 can be fit into 60 0 times, resulting in a remainder of 60.
The next digit of our result is 0. 
Result so far: 7456.26923
Deduct 0 from 60 and we're left 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.

Let's proceed to step 13:
600 divided by 78 is 7 with a remainder of 54.
Write down 7 as next digit of the result. 
Result so far: 7456.2692307
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.

Let's proceed to step 14:
When dividing 540 by 78, we get 6 with a remainder of 72.
Put 6 as the next digit of the answer. 
Result so far: 7456.26923076
Deduct 468 from 540 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

The final outcome is 7456.26923076, with a leftover of 7.2e-08.